RE: Using Connection.commit() in place of SqlMapSession.commitTransaction(). "commitRequired" Benefit

2009-04-08 Thread I L
To be safe, I created a commit wrapper that goes out and sets the forceCommit flag to true, then calls commitTransaction(). I didn't feel comfortable about calling connection.commit() directly. This allows me to selectively choose when I want to force a commit or have ibatis check the isC

Transfer sql scripts to database with iBatis

2009-04-08 Thread slayer81
Hello! I'd like to setup my database before accessing it with iBatis. Therefore I'd like to execute a SQL script (triggers, stored procs, functions, table creation) on my database, which will be sent using iBatis. Is there a way to directly send and execute this data? Or do I have to use JDBC? I