I am working with Spring MVC (ver 2.0.5) and iBATIS. I have a simple JSP
page with a displayTag table which is rendered by a Controller. My
iBATIS query results are cached.
I found that each time I change the "page" for the displayTag table, the
cached data is re-added to my model so that my num
For starters you'll need to study the spring docs on AOP.
> Thank you a lot Ashok. I will try.
>
>
> 2007/5/17, Ashok Madhavan <[EMAIL PROTECTED]>:
>>
>> Hi Sergey,
>>
>> If you are using Spring + iBatis, you can go with Declarative
>> transaction
>> supprt provided by spring. Then u dont need to
Thank you a lot Ashok. I will try.
2007/5/17, Ashok Madhavan <[EMAIL PROTECTED]>:
Hi Sergey,
If you are using Spring + iBatis, you can go with Declarative transaction
supprt provided by spring. Then u dont need to do any of the
startTransaction() or endTransaction().
I apologize this error is happening on the line after the one I
mentioned. Here is the code.
singleton = SqlMapClientBuilder.buildSqlMapClient(reader);
Thanks,
Tom
-Original Message-
From: Tom Henricksen [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 17, 2007 10:45 AM
To: user
Hi Sergey,
If you are using Spring + iBatis, you can go with Declarative transaction
supprt provided by spring. Then u dont need to do any of the
startTransaction() or endTransaction().
add*=PROPAGATION_REQUIRED
insert*=PROPAGATION_REQUIRED
Mark, thank you a lot for answer.
I want to do something like
try{
sqlMap.startTransaction() ;
sqlMap.insertHeader( headerbean );
sqlMap.insertItems( ListOfItems) ;
sqlMapcommitTransaction() ;
} finally {
sqlMap.endTransaction() ;
}
2007/5/17, Mark Volkmann <[EMAIL PROTECTED]>:
We are currently using iBatis 2.0.9( I know we are a little behind). I
would like to get to the current version(2.3.0). I have tried 2.0.9b
and 2.1.5 and get the following exception
com.ibatis.common.exception.NestedRuntimeException: Error occurred.
Cause: com.ibatis.common.xml.NodeletExcepti
On May 17, 2007, at 10:34 AM, Sergey Livanov wrote:
I use Spring Dao + iBatis and I have to run into the one transaction
inserts order document.
( insert into header values( docpk, docnum, docdate, client ) and
many inserts as insert into( docfk, itempk, good, price, quantity ).
I do not know h
I use Spring Dao + iBatis and I have to run into the one transaction
inserts order document.
( insert into header values( docpk, docnum, docdate, client ) and
many inserts as insert into( docfk, itempk, good, price, quantity ).
I do not know how to create one transaction in the case of spring da
I'm doing it by checking the Foreign Key value and the use of
If I don't want to join I set the Foreign Key value to null
And in the statement
SELECT
{Fields from the joined table}
FROM maintable
JOIN ...
Kind Regards
Meindert
-Original Message-
From: Matthias Karlss
Hi,
I'm currently evaluating frameworks for writing DAO layers for future
projects, replacing a custom one I previously wrote. The current one works
well, but it needs much more work. Long story short, it relies on being able
to retrieve values using table aliases in the ResultSet::getXXX-methods,
Right now, I just have the basic configuration going on, and am applying
the credentials to the connection later, so my SqlMapClient creation
isn't anything special.
My SqlMapConfig.xml contains the following:
And I'm
Thanks Chris!
That did it. I added
ibatis-sqlmap-2.3.0.jar
To my application.xml file.
-Original Message-
From: Chris Lamey [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 16, 2007 5:14 PM
To: user-java@ibatis.apache.org
Subject: RE: NoClassDefFoundError for class Resources
13 matches
Mail list logo