On Aug 8, 2008, at 8:42 AM, Ian Zabel wrote:
I've seen some recent traffic on this list saying that Spring is
incompatible with iBatis 2.3.x. Is this still the case, or have these
issues been resolved?
Working for me:
iBATIS 2.3.3 build# 720
Spring 2.5.6 nightly build
+ lots of other crap :)
Sorry, I was so excited about this release that I forgot to add
details. See below.
On Jul 16, 2008, at 2:44 PM, Clinton Begin wrote:
* After a week or so, reply to this [ANNOUNCE] marked thread
with a +1, showing your confidence in the framework. Include brief
details of your stack
On Jul 16, 2008, at 2:44 PM, Clinton Begin wrote:
* After a week or so, reply to this [ANNOUNCE] marked thread
with a +1, showing your confidence in the framework. Include brief
details of your stack (app server, Spring, JDK version, web
framework, etc.)
+1
On Jul 15, 2008, at 12:27 PM, Clinton Begin wrote:
Known bug, sorry about that. I hope to get to a fix soon... it's
easy, just time.
In case you didn't see it there is a patch here:
https://issues.apache.org/jira/browse/IBATIS-522
Tom
On Tue, Jul 15, 2008 at 11:24 AM, <[EMAIL PROTECTED]>
https://issues.apache.org/jira/browse/IBATIS-522
On Jul 15, 2008, at 12:24 PM, [EMAIL PROTECTED] wrote:
I just upgraded to 2.3.2 due to the fact that Spring 2.5.5 seems to
need it. After I upgraded I am now getting a NullPointerException
after executing a procedure. This was working prior
seem to have a working
ibatis.jar with the patch for IBATIS-522. I think all I had to do was
switch the compiler source/target versions from 1.4 to 1.5 in pom.xml.
Tom
On Mon, Jul 7, 2008 at 9:58 AM, Tom Duffey <[EMAIL PROTECTED]>
wrote:
FYI I also was unable to compile IBATIS wh
See link below.
On Jul 7, 2008, at 11:53 AM, Kai Mütz wrote:
Caused by: java.lang.NullPointerException
at java.lang.Class.isAssignableFrom(Native Method)
at
com
.ibatis
.sqlmap.engine.type.TypeHandlerFactory.getTypeHandler(TypeHandlerF
actory.java:143)
https://issues.apache.or
FYI I also was unable to compile IBATIS when I checked out tags/
java_release_2.3.2-715. This is on Mac OS X and for some reason I had
to switch JAVA_HOME from 1.6 to 1.5 and also had to edit something in
your pom.xml.
Maven drives me nuts so I have no idea why what I did worked.
Tom
On J
On Jun 12, 2007, at 9:32 PM, Paul Benedict wrote:
For each enum you want to write to the database, you need to write
yourself an iBatis type call back handler. This will translate the
enum to whatever data type you want (and int or a string, etc.),
and vice-versa.
This is more of a devel
See below.
On Apr 16, 2007, at 9:46 AM, Meindert wrote:
Thus larry could you add the following to finish the converting
from IbatisDao to springDao with ibatis sqlmaps?
3) Spring config
Add the following to the spring config file;
class="org.springframework.jdbc.datasource.DataSourceT
On Apr 16, 2007, at 8:27 AM, Meindert wrote:
I don't think that adding cglib will fix it, the service classes
seem to
need an interface to be able to generate the proxy.
Please correct me if I'm wrong.
Yes, it should fix the problem. Spring typically uses JDK-based
proxies when the targe
Hi,
On Apr 10, 2007, at 11:30 AM, Meindert wrote:
My question is;
a) can I still use org.apache.struts.beanaction.BeanAction? I only
want to change the DAO to Spring DAO because IBATIS DAO is depreciated
and if so
b) The BeanAction class is using
private static final TheService theServic
On Jan 9, 2007, at 12:56 AM, Paul Benedict wrote:
My driver is because I cache at the object instance level, and
return the same instance for the same primary key. This is a little
deeper than ibatis' caching which is at the statement level -- but
with multiple statements potentially retur
On Oct 17, 2006, at 11:25 AM, Tom Duffey wrote:On Oct 17, 2006, at 11:22 AM, Jeff Butler wrote:Never mind - the change was made prior to that. BTW - the fisheye link on the iBATIS homepage is VERY usefull when trying to see what shanges have been committed to SVN. I'll take a look in m
only deployed ibatis-sqlmap-2.jar from trunk into my application so if the change was in ibatis-common then I didn't pick it up. I'm rebuilding now and will deploy everything from trunk and let you know if it helps.Thanks,TomOn 10/17/06, Tom Duffey <[EMAIL PROTECTED]> wrote:On O
m persists?I'm already using trunk from a couple days ago but will update and try again.Tom On 10/17/06, Tom Duffey <[EMAIL PROTECTED]> wrote:On Oct 17, 2006, at 10:53 AM, Jeff Butler wrote: There haven't been many changes since the 2.2.0 release - and none in this area of t
PROTECTED] > wrote: I'm using 2.2.0 that I built from source on 9/22/06. (I guess that's old by now)From: Tom Duffey <[EMAIL PROTECTED]> [mailto: Tom Duffey < [EMAIL PROTECTED]>] Sent: Tuesday, October 17, 2006 8:40 AM To: user-java@ibatis.apache.orgSubject: Re: Proble
what it's worth, I worked around the problem by explicitly specifying all of my type handlers inline in my parameter maps.Tom On 10/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote: I'm using 2.2.0 that I built from source on 9/22/06. (I guess that's old by now)
MsgType { REQUEST, CONFIRM } The TypeHandler declaration looks like the following: <typeHandler javaType="com.sybase.cosmos.domain.DocumentStore$MsgType" callback="com.sybase.cosmos.dao.impl.ibatis.extentions.DocMsgTypeTypeHandlerCallback" /> From: Tom Duffey <[
iBATIS is looking for a type handler for the enclosing class on insert/update instead of the enum. Using externally declared enums w/the same type handler works fine.Tom From: Tom Duffey <[EMAIL PROTECTED]> [mailto:Tom Duffey <[EMAIL PROTECTED]>] Sent: Monday, October 16, 200
Hi All,
I'm having a problem with Java 5 Enums and iBATIS
TypeHandlerCallbacks. I've read the wiki article and it doesn't help
with my particular issue. Retrieving objects is working fine but
inserting/updating them is throwing this NPE:
java.lang.NullPointerException
at com.ibatis.
On Oct 11, 2006, at 4:50 PM, Tom Duffey wrote:
Can I use a type handler to convert results of type BaseMeter to
their more appropriate concrete classes by checking the "type"
property of the base meter result? Is there some other way that
people handle this? My situati
Hi All,
Before I try this I'd like some feedback to see if I'm wasting my
time or if there is a better alternative. Suppose I have a building
and a building has electric, water and gas meters. My SQL maps for
this scenario look something like:
select="Met
ser[] justForTesting) { this.justForTesting = justForTesting; }}Also I have another lazily-loaded association defined with a single User rather than an array of them which is working fine.Tom From: Tom Duffey [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 27 September 2006 12:17To: user-java@ibatis.apache.
] (User is one of my classes) and List.Tom From: Tom Duffey [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 27 September 2006 11:36To: user-java@ibatis.apache.orgSubject: Re: lazy loading confusion On Sep 27, 2006, at 10:00 AM, Tom Duffey wrote: On Sep 27, 2006, at 9:51 AM, Jeff Butler wrote:
On Sep 27, 2006, at 10:00 AM, Tom Duffey wrote:On Sep 27, 2006, at 9:51 AM, Jeff Butler wrote:Try explicitly enabling lazy loading: lazyLoadingEnabled="true"/>It seems to me I remember some others reporting that it had to be specifically enabled (even though it is supposed to
g?Using those settings results in the same thing. I should mention that I have other lazily-loaded properties that iBATIS is handling properly. I'm going to try removing Spring and see if it makes any difference.Tom On 9/27/06, Tom Duffey <[EMAIL PROTECTED]> wrote: On Sep 27, 2006, at 9:
On Sep 27, 2006, at 9:40 AM, Poitras Christian wrote:
Try to turn on enhancement (also add needed jar) for lazy loading and
see what happens.
Same thing. I'm using CGLIB 2.1 which was the oldest version I could
find on their site.
Tom
-Original Message-
From: Tom D
The getter is never called, only the setter. This
application is using Spring 1.x for some AOP logging, could it be
manipulating some bytecode somehow to make iBATIS think it needs to
load the data?
Tom
Christian
-Original Message-----
From: Tom Duffey [mailto:[EMAIL PROTECTED]
ot;
/>
implementation="org.projectFoundry.persistence.user.UserSqlMapDao"/>
etc.
Tom
-Original Message-
From: Tom Duffey [mailto:[EMAIL PROTECTED]
Sent: woensdag 27 september 2006 7:34
To: user-java@ibatis.apache.org
Subject: lazy loading confusion
Hi All,
I have a Project class w
" and added a new
members2 attribute to the project class (To make sure I didn't miss
any calls to getMembers) and sure enough it is still populated when I
retrieve the project.
What gives? I thought the point of lazy loading was to not load data
unless I ask for it. I'm using
31 matches
Mail list logo