Cannot resolve classpath entry

2010-04-05 Thread magistermagica
Hi. I am testing Ibator in Eclipse and have come across the following problem: When I Right Click on the xml and instruct it to Generate iBATIS Artifacts I get the following error: Unexpected error while running Ibator. Cannot resolve classpath entry: mysql-connector-java-5.1.12-bin.jar How

Re: New Data Type - Date in Sql Server 2008

2010-04-05 Thread kiran vuppla
Thanks for the reply. Actually I do have dynamic columns (it varies for each request) ${columns} in the select statement and so there is no result map attached to it. The return type is HashMap with the data stored in it. So I am not sure how to provide the type info. And if iBatis is not doing

Re: Cannot resolve classpath entry

2010-04-05 Thread Jeff Butler
http://ibatis.apache.org/docs/tools/ibator/configreference/classPathEntry.html Jeff Butler On Mon, Apr 5, 2010 at 7:55 AM, magistermagica marais...@gmail.com wrote: Hi. I am testing Ibator in Eclipse and have come across the following problem: When I Right Click on the xml and instruct it

Re: SqlSession.close() without committing

2010-04-05 Thread François Schiettecatte
If you start a transaction or don't have auto-commit on, then the transaction will be rolled back. At least that is what I am seeing which makes sense to me. F. On Apr 5, 2010, at 12:38 PM, cowwoc wrote: Hi, What happens if I close() a SqlSession without committing? Does iBatis

Re: iBatis 3.0 Javadoc?

2010-04-05 Thread Clinton Begin
I don't, because I don't consider it a problem. It's a personal opinion of mine that I much prefer proper documentation like the User Guide to source generated docs. I've never read a decent JavaDoc outside of the JDK itself, and therefore I don't depend on them. That's just me though. In the

Re: iBatis 3.0 Javadoc?

2010-04-05 Thread Clinton Begin
PS: When it comes to exceptions and iBATIS, you should always use: try { } finally { } And let the unchecked exception bubble to the top. iBATIS only throws unchecked exceptions. If a SQLException was thrown and you want to read the code for some reason, the original exception will always be

Re: SqlSession.close() without committing

2010-04-05 Thread Clinton Begin
Yes, iBATIS will rollback the connection if it deems it necessary. The only time you might need to call rollback explicitly is if you have a select that actually updates data in the database. Such is sometimes the case with stored procedures. Clinton 2010/4/5 François Schiettecatte