RE: Abator generated classes and MVC

2009-07-22 Thread Vinaya Tirikkovalluru
Thanks for your opinion Jeff. I agree that DAO and Impl so in controller. Right now I have a delegate pattern which delegates the calls to DAO from the service layer. More clearly... I have a view layer, model layer Model layer has all the Abator generated code, View has all the beans

Re: Abator generated classes and MVC

2009-07-22 Thread Jeff Butler
using iBatis in my application with JSF and Spring. > > > > We are using ABator to generate the objects based on the database objects. > > > > For example…. > > > > Account table will have > >     Account.java > &

Abator generated classes and MVC

2009-07-22 Thread Vinaya Tirikkovalluru
Hi, I am using iBatis in my application with JSF and Spring. We are using ABator to generate the objects based on the database objects. For example Account table will have Account.java AccountExample.java AccountDAO.java

Re: aBator does not create getter and setter for new column in table

2009-02-20 Thread sanv
thanks for this info. Sundar Sankar wrote: > > This is something I pulled out of google. I havent worked much on abator. > Guys correct me if I have misguided Vivek here. > > http://ibatis.apache.org/docs/tools/ibator/configreference/table.html > Example > > This e

Re: aBator does not create getter and setter for new column in table

2009-02-19 Thread Jeff Butler
t there are two versions of the table (in different >> schemas). The versions do not match. You should probably specify a >> schema in the Abator configuration file. Either that, or talk to your >> DBA to resolve the difference between the two tables. >> >>

Re: aBator does not create getter and setter for new column in table

2009-02-19 Thread Sundar Sankar
This is something I pulled out of google. I havent worked much on abator. Guys correct me if I have misguided Vivek here. http://ibatis.apache.org/docs/tools/ibator/configreference/table.html Example This element specifies that we always want to generate code for a table called MYTABLE in schema

Re: aBator does not create getter and setter for new column in table

2009-02-19 Thread sanv
; schemas). The versions do not match. You should probably specify a > schema in the Abator configuration file. Either that, or talk to your > DBA to resolve the difference between the two tables. > > Jeff Butler > > > On Thu, Feb 19, 2009 at 12:18 PM, sanv wrote: >&g

Re: aBator does not create getter and setter for new column in table

2009-02-19 Thread Sundar Sankar
obably specify a > schema in the Abator configuration file. Either that, or talk to your > DBA to resolve the difference between the two tables. > > Jeff Butler > > > On Thu, Feb 19, 2009 at 12:18 PM, sanv wrote: > > > > Ah. > > Now in Patch.java.1 the column is th

Re: aBator does not create getter and setter for new column in table

2009-02-19 Thread Jeff Butler
This means that there are two versions of the table (in different schemas). The versions do not match. You should probably specify a schema in the Abator configuration file. Either that, or talk to your DBA to resolve the difference between the two tables. Jeff Butler On Thu, Feb 19, 2009 at

Re: aBator does not create getter and setter for new column in table

2009-02-19 Thread sanv
rated for it. > > Please run Abator again, but this time DO NOT specify the -overwrite > flag. You should end up with a Patch.java.1 and Patch.java.2. See if > one of those files has the column in it. > > Jeff Butler > > > On Thu, Feb 19, 2009 at 11:53 AM, sanv wrote: >&

Re: aBator does not create getter and setter for new column in table

2009-02-19 Thread Jeff Butler
This output does not match the config file you sent earlier - there are more tables listed. But the interesting thing to me is that each table has two sets of objects generated for it. Please run Abator again, but this time DO NOT specify the -overwrite flag. You should end up with a Patch.java

Re: aBator does not create getter and setter for new column in table

2009-02-19 Thread sanv
\main\java\com\tool\ibatis\model\StatisticsExample.java was overwritten Existing file C:\Projects\server\ibatis\src\main\java\comtool\ibatis\model\Statistics.java was overwritten Abator finshed successfully, there were warninigs. Jeff Butler-2 wrote: > > Thanks - how about the full list of

Re: aBator does not create getter and setter for new column in table

2009-02-19 Thread Jeff Butler
Thanks - how about the full list of Abator warnings? Jeff Butler On Thu, Feb 19, 2009 at 11:22 AM, sanv wrote: > > Well, the problem is that I am developing this project for a company and > their project is based on Abator. Don't know if it's possible to upgrade to &g

Re: aBator does not create getter and setter for new column in table

2009-02-19 Thread sanv
Well, the problem is that I am developing this project for a company and their project is based on Abator. Don't know if it's possible to upgrade to IBator for whatever reasons. Basically, I alter the table through the Web User Interface provided by Oracle XE. If I view the SQL through

Re: aBator does not create getter and setter for new column in table

2009-02-19 Thread sanv
The name of the column is GLOBAL_REGEXP and of type VARCHAR2. Larry Meadors wrote: > > What's the name of the column? > > Larry > > -- View this message in context: http://www.nabble.com/aBator-does-not-create-getter-and-setter-for-new-column-in-table-tp22033078p

Re: aBator does not create getter and setter for new column in table

2009-02-19 Thread Jeff Butler
Hmmm...maybe I owe you a Pepsi :) I'd like to see the full table definition (the create table statement), and the full list of warnings from Abator. Also, Abator is really at end of life. I'd like you to upgrade to Ibator for these reasons: 1. Perhaps the bug is already fixed in Ib

Re: aBator does not create getter and setter for new column in table

2009-02-19 Thread Larry Meadors
What's the name of the column? Larry

Re: aBator does not create getter and setter for new column in table

2009-02-19 Thread sanv
After debugging it further I found out that the column is in the result set but however does not get add to the "column" list. sanv wrote: > > Hi, > > I have just debugged the code as you mentioned by adding the abator > source. > Surprisingly, the column is i

Re: aBator does not create getter and setter for new column in table

2009-02-19 Thread sanv
Hi, I have just debugged the code as you mentioned by adding the abator source. Surprisingly the column, is in the resultset when I debug the code. I debugged the code and checked the ColumnDefinition cd specifically if the actualColumnName is set, and it is. I am puzzled? Jeff Butler-2

Re: aBator does not create getter and setter for new column in table

2009-02-18 Thread Sundar Sankar
AbatorRunner.main(abArgs); > >>> > } > >>> > > >>> > Compile it in an IDE, set the break point, off to the races. > >>> > > >>> > Jeff Butler > >>> > > >>> > > >>> > On Mon, Feb 16

Re: aBator does not create getter and setter for new column in table

2009-02-18 Thread Jeff Butler
v wrote: >>> >> >>> >> Hi, >>> >> >>> >> thanks for your answer. But how can I add the break point? >>> >> >>> >> >>> >> >>> >> Jeff Butler-2 wr

Re: aBator does not create getter and setter for new column in table

2009-02-18 Thread sanv
t; On Mon, Feb 16, 2009 at 5:06 PM, sanv wrote: >> >> >> >> Hi, >> >> >> >> thanks for your answer. But how can I add the break point? >> >> >> >> >> >> >> >> Jeff Butler-2 wrote: >> >>&g

Re: aBator does not create getter and setter for new column in table

2009-02-18 Thread Nicholoz Koka Kiknadze
b 16, 2009 at 5:06 PM, sanv wrote: > >> > >> Hi, > >> > >> thanks for your answer. But how can I add the break point? > >> > >> > >> > >> Jeff Butler-2 wrote: > >>> > >>> I'm stumped - sorry. >

Re: aBator does not create getter and setter for new column in table

2009-02-18 Thread sanv
for your answer. But how can I add the break point? >> >> >> >> Jeff Butler-2 wrote: >>> >>> I'm stumped - sorry. >>> >>> If there are no warnings about unsupported data types, then my best >>> guess is that the column go

Re: aBator does not create getter and setter for new column in table

2009-02-17 Thread sanv
Hi, I have written the code and tried to debug it. It shows me the same output that I had on the console. All the files were overwritten and "Abator finshed successfully, there were warninigs.". Is there anything specific that I should check? thanks. Jeff Butler-2 wrote: > &

Re: aBator does not create getter and setter for new column in table

2009-02-16 Thread Jeff Butler
ess is that the column got added to a table that is not in the >> schema being queried by Abator. Since you don't specify a schema >> anywhere, Abator is looking in the default schema for this connection. >> >> I'd recommend attaching the Abator source and debug

Re: aBator does not create getter and setter for new column in table

2009-02-16 Thread sanv
Hi, thanks for your answer. But how can I add the break point? Jeff Butler-2 wrote: > > I'm stumped - sorry. > > If there are no warnings about unsupported data types, then my best > guess is that the column got added to a table that is not in the > schema being qu

Re: aBator does not create getter and setter for new column in table

2009-02-16 Thread Jeff Butler
I'm stumped - sorry. If there are no warnings about unsupported data types, then my best guess is that the column got added to a table that is not in the schema being queried by Abator. Since you don't specify a schema anywhere, Abator is looking in the default schema for this connec

Re: aBator does not create getter and setter for new column in table

2009-02-16 Thread sanv
Sorry, the only warning is not just Statistics.java but also for the other files. But I didnt paste them in all as they are all the same. The config.xml is the following: http://ibatis.apache.org/dtd/abator-config_1_0.dtd

Re: aBator does not create getter and setter for new column in table

2009-02-16 Thread Jeff Butler
gt; 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

Re: aBator does not create getter and setter for new column in table

2009-02-16 Thread sanv
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

Re: aBator does not create getter and setter for new column in table

2009-02-16 Thread Jeff Butler
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

Re: aBator does not create getter and setter for new column in table

2009-02-16 Thread sanv
of the new field? > 4. Were there any Abator warnings? > > Jeff Butler > > > On Mon, Feb 16, 2009 at 2:12 AM, sanv wrote: >> >> Hi, >> >> I have a (old) version of abator running for my project. >> For some reason when i add a new column to a spec

Re: aBator does not create getter and setter for new column in table

2009-02-16 Thread Jeff Butler
. Were there any Abator warnings? Jeff Butler On Mon, Feb 16, 2009 at 2:12 AM, sanv 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 doe

aBator does not create getter and setter for new column in table

2009-02-16 Thread sanv
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

Re: Ignore column in ibator/abator globally

2008-12-17 Thread Jeff Butler
Ibator does not have this capability. Jeff Butler On Wed, Dec 17, 2008 at 9:33 AM, Gilles Schlienger wrote: > Hi all, > > Is there a way to configure Abator/iBATOR to globally ignore all the columns > that are not specified by columnoverride configurations, at the global level

Ignore column in ibator/abator globally

2008-12-17 Thread Gilles Schlienger
Hi all, Is there a way to configure Abator/iBATOR to globally ignore all the columns that are not specified by columnoverride configurations, at the global level or at the table level ? Something like "ignorecolumns=*" for example ? Thanks Regards Gilles

Re: Ibator: error after upgrading from abator: The file ... does not exist in this workspace

2008-12-14 Thread Jeff Butler
ing to generate the artefacts (using the "Generate >>>> iBATIS artifacts" action): >>>> >>>> Generation Warnings Occured >>>> The file >>>> D:\Projekte\svn\myproject-trunk\myproject-service\src\main\java\de\myproject\domain\

Re: Ibator: error after upgrading from abator: The file ... does not exist in this workspace

2008-12-14 Thread Jeff Butler
to generate the artefacts (using the "Generate >>> iBATIS artifacts" action): >>> >>> Generation Warnings Occured >>> The file >>> D:\Projekte\svn\myproject-trunk\myproject-service\src\main\java\de\myproject\domain\User.java >>> do

Re: Ibator: error after upgrading from abator: The file ... does not exist in this workspace

2008-12-14 Thread Kai Grabfelder
(continued for all java models) >> >> The files of course do exist. >> >> After running ibator the DAOs and JavaModels are not beeing updated. The >> funny thing (besides that it worked >> with Abator) is that generating the sqlmaps still wor

Re: Ibator: error after upgrading from abator: The file ... does not exist in this workspace

2008-12-14 Thread Jeff Butler
:\Projekte\svn\myproject-trunk\myproject-service\src\main\java\de\myproject\domain\User.java > does > not exist in this workspace > ... (continued for all java models) > > The files of course do exist. > > After running ibator the DAOs and JavaModels are not beeing updated. The >

Re: Ibator: error after upgrading from abator: The file ... does not exist in this workspace

2008-12-14 Thread Iwao AVE!
Projekte\svn\myproject-trunk\myproject-service\src\main\java\de\myproject\domain\User.java > does > not exist in this workspace > ... (continued for all java models) > > The files of course do exist. > > After running ibator the DAOs and JavaModels are not beeing updated. The >

Ibator: error after upgrading from abator: The file ... does not exist in this workspace

2008-12-14 Thread Kai Grabfelder
\svn\myproject-trunk\myproject-service\src\main\java\de\myproject\domain\User.java does not exist in this workspace ... (continued for all java models) The files of course do exist. After running ibator the DAOs and JavaModels are not beeing updated. The funny thing (besides that it worked with Abator

Re: Abator Code Generation for Whole Schema

2008-12-02 Thread Jeff Butler
Yes - you are definitely missing something. There can be unlimited elements. You can also specify SQL wildcards to generate code for all tables in a schema like this: Jeff Butler On Tue, Dec 2, 2008 at 7:50 PM, Petr V. <[EMAIL PROTECTED]> wrote: > Hi, > > I just downloaded

Abator Code Generation for Whole Schema

2008-12-02 Thread Petr V.
Hi, I just downloaded Abator tool and was able to generate code . But I have 100+ tables and project is in development stage so it would be really hard to maintain the abatorConfig.xml file. I can only specify one table at a time. Would it mean I do need to create one config file for each table

Re: Abator 1.1.0: Root class cannot be loaded

2008-08-31 Thread yabc
please show a exmaple using "rootClasspath". thanks. -- View this message in context: http://www.nabble.com/Abator-1.1.0%3A-Root-class-cannot-be-loaded-tp16309782p19240119.html Sent from the iBATIS - User - Java mailing list archive at Nabble.com.

Re: Complex Abator Query

2008-08-13 Thread jeffgbutler
er of the Java5 Generator > with the flexibility of the Legacy Generator. > -- > View this message in context: > http://www.nabble.com/Complex-Abator-Query-tp18937755p18957341.html > Sent from the iBATIS - User - Java mailing list archive at Nabble.com. > >

Re: Complex Abator Query

2008-08-12 Thread Ibatis534
acy Generator. -- View this message in context: http://www.nabble.com/Complex-Abator-Query-tp18937755p18957341.html Sent from the iBATIS - User - Java mailing list archive at Nabble.com.

Re: Complex Abator Query

2008-08-12 Thread Jeff Butler
tween testdate1 and testdate2 && string1 is null) || (bool1 not true && date1 is null && date3 between testdate1 and testdate2 && string2 is null) Jeff Butler On Mon, Aug 11, 2008 at 11:23 PM, Ibatis534 <[EMAIL PROTECTED]> wrote: > > I have question relating to

Complex Abator Query

2008-08-11 Thread Ibatis534
I have question relating to using the Abator Example Class with Java 5. How would create the following query using a java5 example class: if (bool1 not true && date1 is null & ((date2 between testdate1 and testdate2 and string1 is null)or (date3 between testdate1 and testdate2

Re: Abator Example from 2 tables

2008-08-07 Thread Jeremy Jardin
Ok, that what I was thinking about.. just to generate JoinExample. So sad that Abator can't do that ;-) Thx a lot Jeremy. Doug Flex wrote: > > Create a View in the database that join multiple tables and let Abator > generate code on that view just like you do with Tabl

Re: Abator Example from 2 tables

2008-08-07 Thread Doug Flex
Create a View in the database that join multiple tables and let Abator generate code on that view just like you do with Table. This would generate ViewExample class. Doug - Original Message From: Jeff Butler <[EMAIL PROTECTED]> To: user-java@ibatis.apache.org Sent: Thursday,

Re: Abator Example from 2 tables

2008-08-07 Thread Jeff Butler
Sorry - ibator does not support joins at this time. Jeff Butler On Thu, Aug 7, 2008 at 5:02 AM, Jeremy Jardin <[EMAIL PROTECTED]>wrote: > > Hi, > > I'd like to know if it's possible, using Abator plugin, to generate > Examples > from 2 distinct Tables. >

Abator Example from 2 tables

2008-08-07 Thread Jeremy Jardin
Hi, I'd like to know if it's possible, using Abator plugin, to generate Examples from 2 distinct Tables. I have to do some requests on 2 table (using a join) .. and it could be great to have a BeanExample to do that... Is abator able to do that ? Thanx, Jeremy -- View this message

Re: abator and class hierarchy

2008-07-01 Thread David Evans
The only other thing I can think of is to use something like apache commons-beanutils to convert the abator object to the main model by just copying properties. That isn't particularly satisfying either. Thanks again for the idea, I think i'll probably go with it. Dave On Tue, 200

Re: abator and class hierarchy

2008-07-01 Thread Jeff Butler
s this the general idea? > > public Object createInstance(String stmtId, Class clazz) { > String className = clazz.getName(); > if (className.startsWith("com.test.model.abator")) { > className = className.replaceFirst("\.abator",""); > Obj

Re: abator and class hierarchy

2008-07-01 Thread David Evans
Hi Jeff, Thanks for the tip. Is this the general idea? public Object createInstance(String stmtId, Class clazz) { String className = clazz.getName(); if (className.startsWith("com.test.model.abator")) { className = className.replaceFirst("\.abator",

Re: abator and class hierarchy

2008-07-01 Thread Jeff Butler
topic, as it has to do with java > class hierarchy, but i'm hoping someone here will have solved the same > problem. > > I have set up abator to create my sqlmaps, model and spring dao classes. > I would like to use these generated model classes as base classes for > more fu

abator and class hierarchy

2008-07-01 Thread David Evans
Hello, Apologies, This post is slightly off topic, as it has to do with java class hierarchy, but i'm hoping someone here will have solved the same problem. I have set up abator to create my sqlmaps, model and spring dao classes. I would like to use these generated model classes as base cl

Re: Subtle bug in Abator and iBatis

2008-06-17 Thread Nicholoz Koka Kiknadze
> wildcard parameter like qu* Should not it be Like qu% ? Turn on logging for connection and iBatis and check what SQL is actually executed and whether it returns anything when executed from TOAD. On Wed, Jun 18, 2008 at 3:13 AM, <[EMAIL PROTECTED]> wrote: > > Dear sir(s): > > Curren

Subtle bug in Abator and iBatis

2008-06-17 Thread MYu
Dear sir(s): Currently I am working with iBatis with Oracle 10g as the backend. I have a number of jsps or Web pages which take various input parameters in the format of ## where represents the dataitem from the Javascript. In my sqlmap, there is a complex join involving

Re: [ANNOUNCE] Abator renamed to iBATOR

2008-04-21 Thread Zach Visagie
On Wed, 2008-04-16 at 11:39 +1000, Zoran Avtarovski wrote: > provide this we would have had 80% maybe 90% functionality done with > ibator alone. I agree. I have just worked on a web project where I made a clean separation between the UI and the data access. I am using abator for the tabl

Re: [ANNOUNCE] Abator renamed to iBATOR

2008-04-15 Thread Zoran Avtarovski
Sorry Jeff, I lost my mail server yesterday afternoon ­ just found it this morning hiding under the rug:) With regards to foreign relationships I thought about what you said and I think on the whole you¹re right. I don¹t want ibator (to avoid confusion, I¹ll stick with this name for now on) to be

Re: [ANNOUNCE] Abator renamed to iBATOR

2008-04-15 Thread Ashok Madhavan
had used all lowercase: > > > > ibatis. > > > > It might also look better and be easier to read when written in its full > > > > form: Apache iBATIS ibator. > > > > > > > > While unique, it presents a lot of challenges in typing, naming, and > > &g

Re: [ANNOUNCE] Abator renamed to iBATOR

2008-04-15 Thread Jeff Butler
While unique, it presents a lot of challenges in typing, naming, and > > > general writing. Totally your call though. > > > > > > Other than that, I love the new name, despite the reason for the > > > change. :-) > > > > > > Congratul

Re: [ANNOUNCE] Abator renamed to iBATOR

2008-04-15 Thread Ashok Madhavan
eers, > > Clinton > > > > > > On Tue, Apr 15, 2008 at 12:04 AM, Jeff Butler <[EMAIL PROTECTED]> > > wrote: > > > > > Due to a trade registration dispute, we are renaming Apache iBATIS > > > Abator to Apache iBATIS iBATOR. > > &

Re: [ANNOUNCE] Abator renamed to iBATOR

2008-04-15 Thread Jeff Butler
than that, I love the new name, despite the reason for the change. > :-) > > Congratulations again on building a kick ass product that is gathering > attention of all kinds. > > Cheers, > Clinton > > > On Tue, Apr 15, 2008 at 12:04 AM, Jeff Butler <[EMAIL PROTECTED]> > wro

Re: [ANNOUNCE] Abator renamed to iBATOR

2008-04-15 Thread Clinton Begin
for the change. :-) Congratulations again on building a kick ass product that is gathering attention of all kinds. Cheers, Clinton On Tue, Apr 15, 2008 at 12:04 AM, Jeff Butler <[EMAIL PROTECTED]> wrote: > Due to a trade registration dispute, we are renaming Apache iBATIS Abator &

[ANNOUNCE] Abator renamed to iBATOR

2008-04-14 Thread Jeff Butler
Due to a trade registration dispute, we are renaming Apache iBATIS Abator to Apache iBATIS iBATOR. The new version is still under development - although the core work is almost complete. I have committed an initial version to SVN so you can take a look at what's going on. There will

Re: [ABATOR]: Question and feedback

2008-04-14 Thread Jeff Butler
1. Abator can be extended in a number of ways. The basic idea is to provide your own implementation of one of the key interfaces (JavaModelGenerator, SqlMapGenerator, etc.). You can either subclass one of the existing implementations, or write your own. There is a page in the documentation that

[ABATOR]: Question and feedback

2008-04-13 Thread Zoran Avtarovski
I used Abator for the time last week on a small project that I was trying to get out the door in hurry. First impressions are great, it helped me the base code out in no time flat and allowed me to focus on the stuff that needed it. This is a great tool Jeff. I have a couple of questions

Re: Abator Unsupported Data Type Oracle "TIMESTAMP WITH TIME ZONE"

2008-03-31 Thread Jeff Butler
This is now fixed in SVN. Jeff Butler On Thu, Mar 27, 2008 at 10:48 PM, Jeff Butler <[EMAIL PROTECTED]> wrote: > This is an error in Abator. There should, absolutely, be a way for you to > use the columnOverride and not have to redefine your columns. I'll fix it. > > J

Re: Abator 1.1.0: Root class cannot be loaded

2008-03-29 Thread jeffgbutler
ned by rootClasspath? > From what I've tested, this isn't the case. > > -Ryan > > On Wed, Mar 26, 2008 at 11:47 AM, Jeff Butler <[EMAIL PROTECTED]> wrote: > > > This is related to a new feature in Abator. If you specify a rootClass, > > then Abator w

Re: Abator 1.1.0: Root class cannot be loaded

2008-03-29 Thread Ryan Shelley
ath? >From what I've tested, this isn't the case. -Ryan On Wed, Mar 26, 2008 at 11:47 AM, Jeff Butler <[EMAIL PROTECTED]> wrote: > This is related to a new feature in Abator. If you specify a rootClass, > then Abator will try to load that class and look for existing pr

Re: Abator Unsupported Data Type Oracle "TIMESTAMP WITH TIME ZONE"

2008-03-27 Thread Jeff Butler
This is an error in Abator. There should, absolutely, be a way for you to use the columnOverride and not have to redefine your columns. I'll fix it. Jeff Butler On Thu, Mar 27, 2008 at 5:28 PM, Jesse Reimann <[EMAIL PROTECTED]> wrote: > I'm using the Oracle datatype "

Abator Unsupported Data Type Oracle "TIMESTAMP WITH TIME ZONE"

2008-03-27 Thread Jesse Reimann
I'm using the Oracle datatype "TIMESTAMP WITH TIME ZONE" in my database and when using Abator I get the following error "Unsupported Data Type in table TEST.CALL_DATA_DETAIL, column: INITIATION_DATE, column ignored" I tried setting up a columnOveride for it since

Re: Abator 1.1.0: Root class cannot be loaded

2008-03-26 Thread Jeff Butler
This is related to a new feature in Abator. If you specify a rootClass, then Abator will try to load that class and look for existing properties that would conflict with properties it would normally generate. If there is an existing property in the rootClass that matches one of the new

Re: Abator 1.1.0: Root class cannot be loaded

2008-03-26 Thread Ryan Shelley
anything happen/not happen that I should be aware > of? > > Kimball > -- > View this message in context: > http://www.nabble.com/Abator-1.1.0%3A-Root-class-cannot-be-loaded-tp16309782p16309782.html > Sent from the iBATIS - User - Java mailing list archive at Nabble.com. > >

Abator 1.1.0: Root class cannot be loaded

2008-03-26 Thread kbighorse
#x27;t conflict with any generated properties that I can find. Did anything happen/not happen that I should be aware of? Kimball -- View this message in context: http://www.nabble.com/Abator-1.1.0%3A-Root-class-cannot-be-loaded-tp16309782p16309782.html Sent from the iBATIS - User - Java mailing

Re: [ANNOUNCE] Abator 1.1.0 Now Available

2008-03-21 Thread Ryan Shelley
This is great Jeff! The extendability of the Example, Criteria, and Model classes are hugely beneficial! Thanks for your hard work on getting this out! -Ryan On Thu, Mar 20, 2008 at 7:57 PM, Jeff Butler <[EMAIL PROTECTED]> wrote: > Abator version 1.1.0 is now available. This is a si

[ANNOUNCE] Abator 1.1.0 Now Available

2008-03-20 Thread Jeff Butler
Abator version 1.1.0 is now available. This is a significant upgrade from version 1.0.0 and includes many new features. Noteworthy changes include: - New generated method: countByExample - New generated method: updateByExample - Several bugs fixed - MANY other minor changes See the "What&

Re: abator auto generated keys, multiple databases and domain relationships

2008-03-19 Thread Zach Visagie
On Tue, 2008-03-18 at 09:11 -0500, Jeff Butler wrote: > now. As far as multiple databases, I know Brandon has made this work > by passing the query string as an unresolved property to the > element - which will cause Abator to leave the property > in the generated element - so you

Re: Abator Example Class Criteria Question

2008-03-18 Thread Ryan Shelley
ley <[EMAIL PROTECTED]> > wrote: > > > I need to generate a WHERE Clause like: > > > > ...WHERE field1 = 'foobar' AND (field2 = 'foo' OR field3 = 'bar') > > > > I'm having some trouble working this through with the Example classes > > generated by Abator, so I thought I'd ask if it's possible. > > > > Thanks! > > > > -Ryan > > > >

Re: Abator Example Class Criteria Question

2008-03-18 Thread Jeff Butler
elley <[EMAIL PROTECTED]> wrote: > I need to generate a WHERE Clause like: > > ...WHERE field1 = 'foobar' AND (field2 = 'foo' OR field3 = 'bar') > > I'm having some trouble working this through with the Example classes > generated by Abator, so I thought I'd ask if it's possible. > > Thanks! > > -Ryan >

Abator Example Class Criteria Question

2008-03-18 Thread Ryan Shelley
I need to generate a WHERE Clause like: ...WHERE field1 = 'foobar' AND (field2 = 'foo' OR field3 = 'bar') I'm having some trouble working this through with the Example classes generated by Abator, so I thought I'd ask if it's possible. Thanks! -Ryan

Re: abator auto generated keys, multiple databases and domain relationships

2008-03-18 Thread Jeff Butler
1. iBATIS supports generated keys through the use of a query (not the JDBC 3.0 support for generated keys). Abator supports this too through the configuration element. I doubt that iBATIS 2.x will support JDBC 3.0 features, so this is what you must use for now. As far as multiple databases, I

Re: abator auto generated keys, multiple databases and domain relationships

2008-03-18 Thread Zach Visagie
On Tue, 2008-03-18 at 11:40 +0200, Zach Visagie wrote: > A couple of questions: > 1. Abator auto generated keys. > Is it possible for abator to use the auto_generated keys feature, > instead of using a query? We have a custom connection pool able to > return them even for postgres.

abator auto generated keys, multiple databases and domain relationships

2008-03-18 Thread Zach Visagie
RM stuff and my superiors don't like background magic and prefer simplicity above all and they like sql above ORM. I've also been tasked to improve development speed, so we are using abator. A couple of questions: 1. Abator auto generated keys. Is it possible for abator to use the au

Re: custom abator javaTypeResolver and eclipse

2008-03-15 Thread Jeff Butler
appropriately. Assuming your custom class is a part of an eclipse project, add the project to the classpath of the launch configuration. The Abator plugin for eclipse includes a build in Ant task called " abator.generate" that supports Java file merging. You should that task when running Ant

Re: custom abator javaTypeResolver and eclipse

2008-03-14 Thread kbighorse
More of an Ant/Eclipse question, but how does one "add your custom class to the Ant class path in the Ant launch configuration"? I tried adding the folder with my source file in it and adding the folder with the .class file. Also, is it impossible to extend Abator and use Java file

Re: Abator + Linux

2008-03-13 Thread Darren Davison
aughter wrote: > > Just to be sure that we are talking about the same thing, I talk about a > > LINUX UBUNTU 7.10 Gusty installation with a clean Eclipse with spring IDE > > and abator. I have been trying during 3 days on 4 different computers (at > > job) without any success. On

Re: Abator + Linux

2008-03-13 Thread Zach Visagie
On Wed, 2008-03-12 at 17:29 -0700, slaughter wrote: > Just to be sure that we are talking about the same thing, I talk about a > LINUX UBUNTU 7.10 Gusty installation with a clean Eclipse with spring IDE > and abator. I have been trying during 3 days on 4 different computers (at > job)

Re: Abator + Linux

2008-03-12 Thread slaughter
Just to be sure that we are talking about the same thing, I talk about a LINUX UBUNTU 7.10 Gusty installation with a clean Eclipse with spring IDE and abator. I have been trying during 3 days on 4 different computers (at job) without any success. On windows, it is single /, but on Linux it&#

Re: Abator + Linux

2008-03-12 Thread Graeme J Sweeney
On Wed, 12 Mar 2008, slaughter wrote: I found the double / by trying a lot of stuff. Something is wrong with your setup, single / works fine. Are these files derived from a Win32 box? -- Graeme -

Re: Abator + Linux

2008-03-12 Thread slaughter
> On Wed, Mar 12, 2008 at 12:58 PM, slaughter <[EMAIL PROTECTED]> > wrote: > >> >> I was having problems with Abator on Linux. Everyone at my job is using >> Windows but due to the fact that I'm special, I decided to use Linux. The >> problem I had was with

Re: Abator + Linux

2008-03-12 Thread Jeff Butler
er <[EMAIL PROTECTED]> wrote: > > I was having problems with Abator on Linux. Everyone at my job is using > Windows but due to the fact that I'm special, I decided to use Linux. The > problem I had was with the jdbcConnection which was not working. The > documentation of Abator

Abator + Linux

2008-03-12 Thread slaughter
I was having problems with Abator on Linux. Everyone at my job is using Windows but due to the fact that I'm special, I decided to use Linux. The problem I had was with the jdbcConnection which was not working. The documentation of Abator do not mention anything about Linux. They only say

Re: Abator 1.1 DTD

2008-03-07 Thread Jeff Butler
> complete. > > > > Jeff Butler > > > > > > > > On Fri, Mar 7, 2008 at 2:48 PM, Ryan Shelley <[EMAIL PROTECTED]> > > wrote: > > > > > Is there a publicly available DTD for Abator 1.1 that includes the > > > "rootClass" attribute on the table element? > > > > > > I don't see anything for 1.1 at http://ibatis.apache.org/dtd/ > > > > > > Thanks! > > > > > > -Ryan > > > > > > > >

Re: Abator 1.1 DTD

2008-03-07 Thread Ryan Shelley
SVN and read the documentation - it is > complete. > > Jeff Butler > > > > On Fri, Mar 7, 2008 at 2:48 PM, Ryan Shelley <[EMAIL PROTECTED]> > wrote: > > > Is there a publicly available DTD for Abator 1.1 that includes the > > "rootClass" attribu

Re: Abator 1.1 DTD

2008-03-07 Thread Jeff Butler
> Is there a publicly available DTD for Abator 1.1 that includes the > "rootClass" attribute on the table element? > > I don't see anything for 1.1 at http://ibatis.apache.org/dtd/ > > Thanks! > > -Ryan >

  1   2   3   4   5   6   >