With Clinton's help did some digging around, and found out I had some
nulls in an integer column. iBATIS/CGLIB didn't like that so much.
Lesson learned.
On 9/26/05, Michael Campbell <[EMAIL PROTECTED]> wrote:
> This look familiar to anyone?
>
> com.orange_blossom.common.exceptions.PersistenceEx
Could be the security manager in Tomcat. Ensure that you allow
access to private members, reflection etc. CGLIB does some pretty
crazy stuff that security managers often disagree with.
Clinton.On 9/26/05, Michael Campbell <[EMAIL PROTECTED]> wrote:
This look familiar to anyone?com.orange_blossom
This look familiar to anyone?
com.orange_blossom.common.exceptions.PersistenceException:
com.ibatis.common.jdbc.exception.NestedSQLException:
--- The error occurred in ibatis/Customer.xml.
--- The error occurred while applying a result map.
--- Check the Customer.customer-result.
--- The error hap
Maybe autocommit is set to false. Try specifying it explicitly by putting
the following line in your element.
On Mon, 26 Sep 2005, Ben Munat wrote:
> Hello. I can't seem to update or insert into a postgres db from ibatis. I
> don't get an exception, but when I check the
> database the c
Hello. I can't seem to update or insert into a postgres db from ibatis. I don't get an exception, but when I check the
database the change has not been made. I've tried various insert and update statements with and without parameters and
none have worked. However, I am selecting data from this db
Doh, found the developer guide. That has what I need for now.
> Hello,
>
> Can anybody recommend articles or books which cover Ibatis in more depth
> that the "quick start" guides that are linked to from the site?
>
> For example -- I am interested in learning how to chain resultMaps
> together; I
Hello,
Can anybody recommend articles or books which cover Ibatis in more depth
that the "quick start" guides that are linked to from the site?
For example -- I am interested in learning how to chain resultMaps
together; I realize that I can use "select" within resultMap to chain onto
another que
Actually, I've whittled the problem down to the basics to reproduce the
problem in as few steps as possible.
The data that gets re-inserted doesn't come from the table initially in my
real program; it is generated and just happens to be the same in these
conditions.
The sybase drivers I use are e
Guessing here, but it almost smells like a transaction timing issue.
Are the sybase drivers the same for both iBATIS versions? (Or, I
wonder if some code in 2.0.4 is synchronized and 2.1.5 is not?)
As an aside, is there a reason you're not just doing an update vs.
select/delete/insert?
On 9/26/
I am having a very unusual problem after upgrading from iBatis 2.0.4 to
2.1.5.
It has to do with a particular table and a few particularly simple maps that
interact with that table.
The table is in Sybase, and it has a clustered index (which in Sybase
doesn't allow duplicate ROWS, ie. two rows ha
Might be a bug...do you get an exception when you try to use this? If so, please post it here.
ClintonOn 9/25/05, kiyool yoon <[EMAIL PROTECTED]> wrote:
hi~
I'm using iBATIS_DBL-2.0.8.470this version can use following property setting
//here ... why can't use new version??
There was an issue for this in Jira while ago. I think its still open:
http://issues.apache.org/jira/browse/IBATIS-151
Unfortunetly the links on irongrid.com no longer exists (I wasn't able
to retrieve them from archive.org either). Their cache monitoring
program showed each sql statement, its e
There are some APIs for getting this info..I have not used them yet,
but will be looking at them in the next 2-3 weeks.
Larry
On 9/26/05, Niels Beekman <[EMAIL PROTECTED]> wrote:
> If we can't distinguish between DB-hits and cache-hits, how are we
> supposed to debug the cachemodels?
>
> I vote
If we can't distinguish between DB-hits and cache-hits, how are we
supposed to debug the cachemodels?
I vote +1 for it...
Niels
-Original Message-
From: Ron Grabowski [mailto:[EMAIL PROTECTED]
Sent: maandag 26 september 2005 7:26
To: user-java@ibatis.apache.org
Subject: Re: Caching; how
I would, but I'm a metrics freak.
On 9/26/05, Ron Grabowski <[EMAIL PROTECTED]> wrote:
> IBatisNet has a GetDataCacheStats method on the main sqlMapper object
> that outputs a simple summary of statements and their cache hit ratio:
>
> User.GetMany: 51%
> User.GetOneById: 20%
> User.GetManyByI
15 matches
Mail list logo