Idle in transaction

2006-11-01 Thread Padam J Singh
Hello, I have recently upgraded from an application running with iBatis 1.x to iBatis Version 2.1.7 for Java. I am not using any transactions in the whole application, and most sql is single selects/delete/insert to a PostgreSQL 8.0 database. As soon as I fire up the application, it executes

Re: Abator: column override (@ in column names in MSSQL Server DB)

2006-11-01 Thread Mark Cooke
Jeff, Great, that's brilliant! However...I just realised I was wrong about the required delimiters - the column should be enclosed in [] in the queries, not or '... Mark. --- Jeff Butler [EMAIL PROTECTED] wrote: There's no solution for this now in Abator. I'll work on something. Jeff

Re: Javolution support?

2006-11-01 Thread Clinton Begin
Nope. :-)How much faster is FastList?Cheers,ClintonOn 10/31/06, Gary Purnomosidi [EMAIL PROTECTED] wrote:-BEGIN PGP SIGNED MESSAGE-Hash: SHA1Hi, is there any support for javolution ( http://javolution.org/) asreturn type of query result in ibatis ?For example the query will return

RE: ibatis + websphere

2006-11-01 Thread Pecelis, Sergio
Thanks. I 'forgot' to configure the Geronimo-web.xml My sql-map-config.xml is transactionManager type=JDBC dataSource type=JNDI property name=DataSource value=java:comp/env/jdbc/MyDataSource/ /dataSource /transactionManager the geronimo-web.xml: naming:resource-ref

Turning Off Ibatis SQL Mapper info..

2006-11-01 Thread Urban, John
Cannot figure out how to turn off logging. Not set it conf/log4j.xml of jboss or WEB-INF/log4j.properties. Is happening under jboss 3.2.6 and jdk 1.4.2 but not under jboss 3.2.6 and jdk 1.5.0. Exact same jboss 3.2.6 configuration in both cases. Just a different JDK? 2006-11-01

Re: ibatis + websphere

2006-11-01 Thread Brian Hart
I think you have a typo as the error suggests: Error parsing XPath '/sqlMapConfig/transactionManager/dataSource/end()'. It has an end tag without a begin. Change: dataSource type=JNDI TO: dataSource type=JNDI -Brian Kris Schneider [EMAIL PROTECTED] 10/30/06 7:27 PM On 10/30/06, Pecelis,

RE: Turning Off Ibatis SQL Mapper info..

2006-11-01 Thread Daniel Pitts
Turn logging level to WARN? From: Urban, John [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 12:19 PMTo: user-java@ibatis.apache.orgSubject: Turning Off Ibatis SQL Mapper info.. Cannot figure out how to turn off logging. Not set it conf/log4j.xml of jboss or

Complex properties on insert

2006-11-01 Thread Landry Soules
Hello, I'm a newbie and couldn't find a single example of how to manage complex properties on insert ? Heres is what i try to do : I have 2 classes : Address and Country. In the relation, of course one address has one country. Country is a stand-alone class, while Address has a property of

Re: Complex properties on insert

2006-11-01 Thread Carlos Cajina
Hi Landry, From what I understand, you'll have to do the inserts one by one: first the parent object and then its children... Am I right guys? Regards, __ Carlos - Original Message - From: Landry Soules [EMAIL PROTECTED] To: user-java@ibatis.apache.org

Re: Abator: column override (@ in column names in MSSQL Server DB)

2006-11-01 Thread Jeff Butler
Yeah - different databases have different delimiters. DB2 uses double quotes. So it will have to be configurable. Right now I'm considering adding an option like this: table tableName=some table identifierDelimiters=[]/ This would deal with the case where there are strange characters in the

Re: Javolution support?

2006-11-01 Thread Gary Purnomosidi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Javolution supposed to be faster than ordinary java collection. The goal of javolution is very simple which is *To make your application faster and more time predictable! *You can see the benchmark performance at

Re: Javolution support?

2006-11-01 Thread Clinton Begin
Interesting. What sort of application are you building that requires such a fine grained level of performance and time predictability?Cheers,ClintonOn 11/1/06, Gary Purnomosidi [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE-Hash: SHA1Javolution supposed to be faster than ordinary java

Re: Javolution support?

2006-11-01 Thread Gary Purnomosidi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Well i'm building ordinary web application using ZK framework + iBatis framework + other frameworks. May be my application is not good enough to require real time java programming but my code using extensive java collection like List,HashMap,etc.

Re: Javolution support?

2006-11-01 Thread Clinton Begin
ZK framework +Finally, someone using ZK. Good for you. ZK rocks and doesn't get enough credit. but my code using extensive java collection like List,HashMap,etc. These are fast enough for all but real-time applications.For example, a database query that resulting in large results (largeDon't load