Download Abator for WID

2007-09-20 Thread Paul Carr
Where can I find a version of abator that will run in eclipse 3.0 (or whatever version of eclipse Websphere Integration Developer is built on) ? Express Gifts ltd ~ Registered in England & Wales ~ Registered No. 718151 Registered Office, Burley House, Bradford Road, Burley-in-Wharfedale, West Yo

RE: Migr WAS 5.0->6.0

2006-11-06 Thread Paul Carr
ion     Jeff Butler   On 11/6/06, Paul Carr <[EMAIL PROTECTED]> wrote: More News I tried changing to a stand-alone transaction manager (not using JTA) and it works fine       value="com.ibm.db2.jcc.DB2Driver " />    

RE: Migr WAS 5.0->6.0

2006-11-06 Thread Paul Carr
27;m yet to check it with WAS connection will let you know. Thx -Hari -Original Message- From: Paul Carr [mailto:[EMAIL PROTECTED] Sent: Monday, November 06, 2006 7:39 PM To: user-java@ibatis.apache.org Subject: RE: Migr WAS 5.0->6.0 Hi Nathan, I was running fine on WAS 5

RE: Migr WAS 5.0->6.0

2006-11-06 Thread Paul Carr
sloader structure. I had a problem recently with static variables in a class that worked fine under Tomcat 5.5, but WAS 6.0 got ClassNotFound exception. Nathan -Original Message- From: Paul Carr [mailto:[EMAIL PROTECTED] Sent: Monday, November 06, 2006 8:42 AM To: user-java@ibatis

RE: Migr WAS 5.0->6.0

2006-11-06 Thread Paul Carr
6.0.2.3 to be exact) Best Regards Paul. -Original Message----- From: Paul Carr [mailto:[EMAIL PROTECTED] Sent: 06 November 2006 12:45 To: user-java@ibatis.apache.org Subject: Migr WAS 5.0->6.0 Hi All, I'm having trouble moving from a working WAS 5.0 env to WAS 6.0. First

Migr WAS 5.0->6.0

2006-11-06 Thread Paul Carr
Hi All, I'm having trouble moving from a working WAS 5.0 env to WAS 6.0. First I had to change my sqlmapconfig so that it used "jdbc/db2Connection" rather than "java:comp/jdbc/db2Connection" which got me past my first problem, but now I keep getting NULL Component MetaData whenever

RE: Search screen : HOW TO

2006-09-12 Thread Paul Carr
It is indexed, but wouldn’t I see the same problem through TOAD if it was down an index ? (running DB2 btw)   Anyway, I’ve changed to use the dynamic tags, as recommended by Muthu, the problem has gone away, and my valueObject looks much prettier without the ‘noentrynoentrynoentrynoentry’

RE: Search screen : HOW TO

2006-09-12 Thread Paul Carr
C:INTEGER# = -1".> Also why not you can make use of tag's like I don't know the exact syntax, please do check some documentation if it is useful. Thanks Muthu -Original Message- From: Paul C

Search screen : HOW TO

2006-09-12 Thread Paul Carr
HiAll, I'm developing a JSP screen to allow users to search a database of orders on various criteria. There are several text boxes on the screen where you can enter things like Item id Barcode id Date Process id Etc And click search the backend then runs this SQL query:- select

Custom Classes

2006-06-27 Thread Paul Carr
Hi All,     I’ve extended PreparedStatement with a class called LoggableStatement, that captures all the parameters, and can log them on exception. Is there a way to tell iBatis to use this LoggableStatement class instead of PreparedStatement ?     __

RE: Abator generated Classes: How to get all getters(primary key also) from the generated Class

2006-04-28 Thread Paul Carr
How would you do an “in” in ibatis ?   e.g.   select name from person where person_id in (12,23,34,56);       -Original Message- From: Jeff Butler [mailto:[EMAIL PROTECTED] Sent: 28 April 2006 14:06 To: user-java@ibatis.apache.org Subject: Re: Abator generated Classes: How

RE: Abator generated Classes: How to get all getters(primary key also) from the generated Class

2006-04-28 Thread Paul Carr
Yep….thats the only way I could get around it …. Jeff : Any news on a formal release of abator with the superclass/superinterface for DAO’s / VO’s yet ?           public Object writeSingle(XMLObject o)     {     Object retval=null;

RE: Error in abator generated class

2006-04-25 Thread Paul Carr
parameter, or column, was invalid. User Response: Respecify the date, time, or timestamp data. -Original Message- From: Paul Carr [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 25, 2006 3:01 PM To: user-java@ibatis.apache.org Subject: Error in abator generated class Hi All im running ibatis

Error in abator generated class

2006-04-25 Thread Paul Carr
Hi All im running ibatis on WAS 5.0 ... this is an abator generated selectByExample query using a Date fielddoing a greater or equals. CODE = public static int getNumberOverdue() { Date now = new Date(); DaoManager daoManager = SQLWriter.getDaoManager();

Logging parameters

2006-04-11 Thread Paul Carr
Hi all, is there a way to tell iBatis to log out the SQL and any parameters upon throwing an SQLException ?   i.e.. instead of logging “select name from person where name = $1”; make it log “select name from person where name = ‘Paul’;   Infact….how do you make it log out the SQL query

CRD or CR-U-D

2006-04-05 Thread Paul Carr
Hi Guys,     I’m using Abator to generate my dao layer….. just curious why there are no update methods generated ? If you can do a selectByExample passing a single Example object, could you not do an updateByExample passing two Example objects, one for the where clause,  and only u

RE: Websphere config

2006-03-28 Thread Paul Carr
depending on the answer to that question.  Let me know and I'll send back a sample config.   Jeff Butler   On 3/28/06, Paul Carr <[EMAIL PROTECTED]> wrote: I've got the dao.xml Reader bit working ( copied the wrong line and didn't realise till I sent the last em

RE: Websphere config

2006-03-28 Thread Paul Carr
I've got the dao.xml Reader bit working ( copied the wrong line and didn't realise till I sent the last email ) I still need to know how to configure the transaction manager to use webspheres connection pool ? Best Regards Paul. -Original Message----- From: Paul Carr [mai

Websphere config

2006-03-28 Thread Paul Carr
Is anyone running ibatis under Websphere ( 5.0) ? I'm porting a standalone app into WAS and I have a couple of questions. (1) How do you configure the Reader to read dao.xml, and where in the war do you put dao.xml / SqlMapConfig.xml ? "Reader reader = new FileReader("dao.xml");" ? (2) Ho

RE: Using sequences

2006-03-17 Thread Paul Carr
Using sequences This SQL is wrong: SELECT NEXTVAL FOR MANF_REQ_SERIAL AS manufactureRequestK FROM MANUFACTURE_REQUEST ...the FROM should be dual, not MANUFACTURE_REQUEST (assuming pgsql or Oracle). Larry On 3/17/06, Paul Carr <[EMAIL PROTECTED]> wrote: > > > > I'm obviously

RE: Using sequences

2006-03-17 Thread Paul Carr
Ignore me….should’ve had   select nextval for manf_req_serial from manufacture_request………. fetch first row only   -Original Message- From: Paul Carr [mailto:[EMAIL PROTECTED] Sent: 17 March 2006 16:46 To: user-java@ibatis.apache.org Subject: RE: Using sequences   I’m

RE: Using sequences

2006-03-17 Thread Paul Carr
rConfiguration like this:         sqlStatement="SELECT NEXTVAL FOR MANF_REQ_SERIAL AS manufactureRequestKey FROM MANUFACTURE_REQUEST"/>   Jeff Butler   On 3/17/06, Paul Carr <[EMAIL PROTECTED]> wrote: Thanks Bryun , I r

RE: Using sequences

2006-03-17 Thread Paul Carr
come from the same layer... So, is there a better way? > > Diran > > Paul Carr wrote: > > > Hi Guys, whats the best way to insert a row with ibatis > when your key > > column is generated from a sequence on the DB ? > > > > Would I edit the sql in the sql map ? or is there a clever > way to do > > it? > > > > > > > > >

Using sequences

2006-03-17 Thread Paul Carr
to work for a living until then.   Jeff Butler   On 3/14/06, Paul Carr <[EMAIL PROTECTED]> wrote: GOOD MAN JEFF !   I can downcast before I call insert easy enough.  When do you figure this will be available ?  (got a project going live early May)   Cheers P

RE: Abator VO generation

2006-03-16 Thread Paul Carr
through a regeneration.   Jeff Butler   On 3/16/06, Paul Carr <[EMAIL PROTECTED]> wrote: Hi Jeff, is there a way to make abator only generate the DAO's and leave the VO's alone and SQLMaps alone ? (the DTD seems to enforce all must be generated )

Abator VO generation

2006-03-16 Thread Paul Carr
o's more polymorphic Abator doesn't have support for this now - but it should be fairly simple to add.  Abator would not generate these base objects, it would just assume they are there and use them - right???   Jeff Butler   On 3/10/06, Paul Carr <[EMAIL PROT

RE: How to make dao's / vo's more polymorphic

2006-03-14 Thread Paul Carr
non-polymorphic system, so I don't think that's exactly what you mean:  polymorphism implies no casting.   You could also write your own DAO generator that did the downcast.   Jeff Butler   On 3/14/06, Paul Carr <[EMAIL PROTECTED]> wrote: Well I&

RE: How to make dao's / vo's more polymorphic

2006-03-14 Thread Paul Carr
DAO’s VO’s, SO If anyone can gimme a clue where to start with the Maps method that’d be handy……BEAR IN MIND that I have to start with a collection of XMLObjects, which are actually already value objects.   Best Regards Paul Carr.     -Original Message- From: Clinton Begin [mailto:[EMAIL

RE: How to make dao's / vo's more polymorphic

2006-03-13 Thread Paul Carr
ao's / vo's more polymorphic Abator doesn't have support for this now - but it should be fairly simple to add.  Abator would not generate these base objects, it would just assume they are there and use them - right???   Jeff Butler  On 3/10/06, Paul

RE: How to make dao's / vo's more polymorphic

2006-03-10 Thread Paul Carr
upport for this now - but it should be fairly simple to add.  Abator would not generate these base objects, it would just assume they are there and use them - right???   Jeff Butler   On 3/10/06, Paul Carr <[EMAIL PROTECTED]> wrote: Hi All, Is there a way to make the DAO&#x

How to make dao's / vo's more polymorphic

2006-03-10 Thread Paul Carr
Hi All, Is there a way to make the DAO's and VO's generated by abator all extend a single class or implement a common interface? Ideally I'd like all my DAO interfaces to extend a BaseDAO and all my value objects to extend a BaseValueObject automatically as abator creates them ??? Best Regards P

RE: Namespaces not working

2006-02-23 Thread Paul Carr
(DOH) thanks Brandon -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: 23 February 2006 13:52 To: user-java@ibatis.apache.org Subject: Re: Namespaces not working Do you have namespace enabled? ... ... Brandon On 2/23/06, Paul Carr <[EMAIL PROTECTED]>

RE: abator for eclipse generates *Examples classes

2006-02-23 Thread Paul Carr
  Jeff Butler   On 2/22/06, Paul Carr <[EMAIL PROTECTED] > wrote: Hi , newb to ibatis , Just used abator for eclipse to generate DAO's for a simple table and I got :-   TableSQLmap        - the sqlMap Table.java      - the value object TableEx

abator for eclipse generates *Examples classes

2006-02-22 Thread Paul Carr
Hi , newb to ibatis , Just used abator for eclipse to generate DAO’s for a simple table and I got :-   TableSQLmap        - the sqlMap Table.java      - the value object TableExample.java     - some class with the same data as the value object, but everything