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
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 " />
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
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
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
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
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’
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
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
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 ?
__
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
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;
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
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();
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
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
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
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
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
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
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
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
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?
> >
> >
> >
> >
>
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
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 )
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
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&
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
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
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
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
(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]>
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
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
34 matches
Mail list logo