Quantcast

Why was the statements "else if (propertyMapping.getNestedResultMapId() != null)" removed from DefaultResultSetHandler since 3.3.0?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Why was the statements "else if (propertyMapping.getNestedResultMapId() != null)" removed from DefaultResultSetHandler since 3.3.0?

Derek Hsu
Hi,

I have a SQL map like this:

      <resultMap extends="TBDH13" id="TBDH13DelpyToCluster" type="com.csc.dh.db.vo.DH13Vo">
         
<association column="AP_ID_DH13,VERSION_DH13" foreignColumn="AP_ID_DH19,VERSION_DH19" property="applyForm" resultMap="udb.dbcsca.DH.TBDH19.TBDH19"/>
         
<collection column="AP_ID_DH13" foreignColumn="AP_ID_DH05" property="belongToSysList" resultMap="udb.dbcsca.DH.TBDH05.TBDH05DeployToCluster" />
     
</resultMap>

 The association statement was worked before 3.2.8 but failed after 3.3.0 ( We use the newest 3.4.2 but the codes was removed since 3.3.0 ).

Why were the codes removed or anybody can tell me how to modify the SQL Map for newer Mybatis?

Thanks your help.

Derek

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Why was the statements "else if (propertyMapping.getNestedResultMapId() != null)" removed from DefaultResultSetHandler since 3.3.0?

Iwao AVE!
Hi Derek,

Please try the latest 3.4.3-SNAPSHOT.

If it still does not work, please create a minimum example or test case that reproduces the problem.

Regards,
Iwao


2017-03-20 19:06 GMT+09:00 Derek Hsu <[hidden email]>:
Hi,

I have a SQL map like this:

      <resultMap extends="TBDH13" id="TBDH13DelpyToCluster" type="com.csc.dh.db.vo.DH13Vo">
         
<association column="AP_ID_DH13,VERSION_DH13" foreignColumn="AP_ID_DH19,VERSION_DH19" property="applyForm" resultMap="udb.dbcsca.DH.TBDH19.TBDH19"/>
         
<collection column="AP_ID_DH13" foreignColumn="AP_ID_DH05" property="belongToSysList" resultMap="udb.dbcsca.DH.TBDH05.TBDH05DeployToCluster" />
     
</resultMap>

 The association statement was worked before 3.2.8 but failed after 3.3.0 ( We use the newest 3.4.2 but the codes was removed since 3.3.0 ).

Why were the codes removed or anybody can tell me how to modify the SQL Map for newer Mybatis?

Thanks your help.

Derek


--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Loading...