|
Hi I’m running on Spring 2.0 and sqlmap 2.2.0 build# 638 Here is a sample mapping file generated by abator, Spring
throws me an error saying that I have duplicate “abatorgenerated_Example_Where_Clause”
elements abatorgenerated_Example_Where_Clause elements in my mapping
files, when I investigated further I realized that If I prefix each if the “id” elments with the
namespace type, the problem is fixed For instance for the below mentioned mapping file , I need
to prefix each of the id elements with “RMA_CC_TYPE” Can’t abator generated the id elements with the namespace
prefix, or is there any setting I’m missing in my properties file <sqlMap namespace="RMA_CC_TYPE"> <resultMap
class="com.honeywell.aes.beta1.rma.CCType"
id="abatorgenerated_CCTypeResult"> <!-- WARNING - This element is automatically generated by
Abator for iBATIS, do not modify. This element was generated on Mon Oct 09 09:01:36
GMT+05:30 2006. --> <result column="TYPE_CD"
jdbcType="VARCHAR" property="typeCd"/> <result column="DESCRIPTION"
jdbcType="VARCHAR" property="description"/> </resultMap> <sql id="abatorgenerated_Example_Where_Clause"> …………… ……………. <select id="abatorgenerated_selectByExample" …………… …………….. </sqlMap> Thx. -Hari |
smime.p7s
Description: S/MIME cryptographic signature
