If I run the following command in the command line: java -jar abator.jar -configfile config.xml -overwrite I get an output saying the files were overwritten:
Existing file C:\server\ibatis\src\main\java\com\tool\ibatis\model\Statistics.java was overwritten Abator finshed successfully, there were warninigs. This is all I get. thanks Jeff Butler-2 wrote: > > Warnings are displayed differently depending on how you run Abator... > > 1. They could be written to System.out if you are running from the command > line > 2. They can be logged to the Ant console if you are using Ant > 3. They will be displayed in the completion dialog box if you are > running in Eclipse > > Jeff Butler > > > On Mon, Feb 16, 2009 at 10:33 AM, sanv <viv...@gmx.at> wrote: >> >> 1. The classes are regenerated and the timestamp is also updated. >> 2. The new field is added. >> 3. I have tried using different datatypes (Oracle: VARCHAR2, CHAR and >> NUMBER) >> 4. There are warnings, but how can I display the warnings? >> >> thanks in advance. >> >> >> Jeff Butler-2 wrote: >>> >>> Not much to go on here - we probably need more information. >>> >>> Some questions... >>> >>> 1. Are you sure the classes are regenerated (the comment timestamp >>> will help you know for sure)? >>> 2. Are you sure the new field is added to the table in the correct >>> schema? >>> 3. What is the data type of the new field? >>> 4. Were there any Abator warnings? >>> >>> Jeff Butler >>> >>> >>> On Mon, Feb 16, 2009 at 2:12 AM, sanv <viv...@gmx.at> wrote: >>>> >>>> Hi, >>>> >>>> I have a (old) version of abator running for my project. >>>> For some reason when i add a new column to a specific table in my db >>>> and >>>> compile the java classes the new column does not get added to the >>>> corresponding java class. however, if i add a new column to another >>>> table >>>> in >>>> the same database and compile/build the classes the new getter and >>>> setter >>>> method is added to the class. >>>> >>>> what could be the problem in this case? >>>> >>>> thanks for any help. >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/aBator-does-not-create-getter-and-setter-for-new-column-in-table-tp22033078p22033078.html >>>> Sent from the iBATIS - User - Java mailing list archive at Nabble.com. >>>> >>>> >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/aBator-does-not-create-getter-and-setter-for-new-column-in-table-tp22033078p22040640.html >> Sent from the iBATIS - User - Java mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/aBator-does-not-create-getter-and-setter-for-new-column-in-table-tp22033078p22040983.html Sent from the iBATIS - User - Java mailing list archive at Nabble.com.