Thank you Jeff for your answer.
So I will have to use the columnOverride tag :-(
However i can't agree with you about the weird db design. This syntax is
quite common in the enterprise world to avoid same field names between
tables.
Clinton Begin himself uses it extensively in his SQL Maps for Java,
Developer Guide...
<http://cvs.apache.org/dist/ibatis/ibatis.java/docs/iBATIS-SqlMaps-2_en.pdf>
Jeff Butler a écrit :
You can do a <columnOverride> in the Abator configuration for each
column to name the Java property specifically. Not pretty, but that's
probably the best that can be done with this wierd db design.
Jeff Butler
On 10/23/06, *Landry Soules* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Hello,
I'm a very new user of Ibatis, with abator eclipse plugin.
Here is my problem :
In my database, every column is prefixed with 2 letters from the
table
name :
for example table customer has the following columns : cs_first_name,
cs_last_name and so on.
When i run "generate ibatis artifacts", abator will generate a
Customer
bean, with csFirstName and csLastName properties, where i would have
expected firstName and lastName.
Did i miss a configuration parameter, or am i condamned to modify
all my
column names ?
Thanks for your answer.