ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Jardin <jeremy.jar...@gmail.com>
Subject ibator with rootclass overrides getters and setters
Date Thu, 08 Apr 2010 12:21:26 GMT


I'd like Ibator to generate ibatis bean extending a specific rootClass.
3 of my tables are nearly the same. 
So I did something like that in the ibator-conf.xml file :

	<table tableName="HISTORY_DEC" domainObjectName="HistoryDec">
	   <property name="rootClass" value="com.DecObject" />

The class DecObject is correctly found, and contains attributs which are the
that in the generated HistoryDec class.
I checked that types and getter/setter were right, and it is.

so, why ibator overrides attributs ?


View this message in context: http://old.nabble.com/ibator-with-rootclass-overrides-getters-and-setters-tp28177744p28177744.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.

To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
For additional commands, e-mail: user-java-help@ibatis.apache.org

View raw message