Hi
I want to begin a transaction within a DAO unless a transaction has
already been started.
IsTransaction returns false as expected, but when I try BeginTransaction
it reports DaoManager could not invoke BeginTransaction(). A DaoSession
is already started.
Everything works fine if I begin
Well,
One thing I notice that is wrong is your using a result element in your
parameter Maps.
Instead of this:
parameterMap id=insert class=Test
result property=Name column=name /
/parameterMap
Try this:
parameterMap id=insert class=Test
parameter property=Name column=name /
Thanks for your fast reply. I changed it, but the result is still the same
incorrect sql statement
Michael McCurrey-3 wrote:
Well,
One thing I notice that is wrong is your using a result element in your
parameter Maps.
Instead of this:
parameterMap id=insert class=Test
Version 1.6.1
Michael McCurrey-3 wrote:
What version of iBatis?
On Tue, Sep 1, 2009 at 8:12 AM, dannystommen da...@techconnect.nl wrote:
Thanks for your fast reply. I changed it, but the result is still the
same
incorrect sql statement
Michael McCurrey-3 wrote:
Well,
One
Can you update to 1.6.3 and see if it works, if not, send me your updated
map file and I'll take a look. Did you change the result for both your
insert and your update map?
On Tue, Sep 1, 2009 at 8:18 AM, dannystommen da...@techconnect.nl wrote:
Version 1.6.1
Michael McCurrey-3 wrote:
I think I meant 1.6.2, 1.6.3 is in the works..
On Tue, Sep 1, 2009 at 8:22 AM, Michael McCurrey mmccur...@gmail.comwrote:
Can you update to 1.6.3 and see if it works, if not, send me your updated
map file and I'll take a look. Did you change the result for both your
insert and your update
6 matches
Mail list logo