see title
Could you provide a use-case for this request?
Hello @kazuki43zoo. I know you closed this two years ago, but I think it is still an interesting question. The use case would be able to reduce verbosity in mapper files.
In particular we would be to be able to make shorter include statements so that
<include refid="com.mycompany.mypackage.mysubpackage.mysubsubpackage.MyMapper.mySQLStatement">
could be shortened to
<include refid="myAlias.MyMapper.mySQLStatement">
and similarly for referencing resultTypes and resultMaps in select statements so that one could write
<select id="myId" resultType="com.mycompany.mypackage.mysubpackage.mysubsubpackage.MyType">
as
<select id="myId" resultType="myAlias.MyType">
Perhaps this could be achieved with a statement at the beginnning of the mapper XML file of the form:
<namespace-alias refid="com.mycompany.mypackage.mysubpackage.mysubsubpackage" alias="myAlias"/>
Most helpful comment
Hello @kazuki43zoo. I know you closed this two years ago, but I think it is still an interesting question. The use case would be able to reduce verbosity in mapper files.
In particular we would be to be able to make shorter
includestatements so thatcould be shortened to
and similarly for referencing
resultTypes andresultMaps inselectstatements so that one could writeas
Perhaps this could be achieved with a statement at the beginnning of the mapper XML file of the form: