Re: Nested Result Sets with inner joins (important!)

2005-11-21 Thread Paul Benedict
My apologies to all on the IBATIS forum :-) My habitual use of "but Hibernate can do this" is not an endorsement of Hibernate, but merely a statement that I use Hibernate at work and am familiar with its feature set. There are some things it can do which I would like IBATIS to do also, but t

Re: Cannot find replacements in API for rollback, etc.

2005-11-21 Thread Clinton Begin
Here's the conversion...to make it even simpler, try extending SqlMapDaoTemplate, which will deal with exceptions for you. public List getList(String statementName, Object parameterObject)  throws SQLException {        List list = null;        try {            sqlMap.startTransaction();      

Cannot find replacements in API for rollback, etc.

2005-11-21 Thread Scott Purcell
Hello, I have the following snippet from an example Ibatis 1.x and I am trying to recreate it in 2.0. I am new, and just getting underway. Problem is today, I cannot find a replacement for the line sqlMap.rollbackTransaction(), I have the API up, and under sqlMapClient cannot find a rollback re

Re: Transaction handling

2005-11-21 Thread Clinton Begin
Your database may be validating foreign key relationships before the commit... Cheers, Clinton On 11/20/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Please see below code snippets and details for the same. I have 2 tables Table 1 and Table 2. Column from Table 1 form Foreign key in Table 2.

Re: Nested Result Sets with inner joins (important!)

2005-11-21 Thread Clinton Begin
That's something we can definitely do.  But please do me a favourdon't use the "Hibernate can do this" as a supporting argument.  It's weak and is akin to after-school fights. Hibernate is a very different product and the XML configuration goals are almost impossible to compare in any way t