Re: abstract property

2007-09-13 Thread Kenny Pearce
Excellent. It works fine with iBATIS 2.3. Thanks! Jeff Butler wrote: Are you using iBATIS 2.2 or 2.3? Before 2.2, iBATIS only supported collection properties for nested maps. Jeff Butler On 9/13/07, *Kenny Pearce* <[EMAIL PROTECTED] > wrote: Also, it shoul

Re: abstract property

2007-09-13 Thread Jeff Butler
Are you using iBATIS 2.2 or 2.3? Before 2.2, iBATIS only supported collection properties for nested maps. Jeff Butler On 9/13/07, Kenny Pearce <[EMAIL PROTECTED]> wrote: > > Also, it shouldn't be forced to be a collection property. The iBatis > documentation pp. 32-33 says: > > "The resultMap a

Re: abstract property

2007-09-13 Thread Kenny Pearce
lowing nested properties syntax: Maybe one of the iBATIS developers could comment on this one... Niels -Original Message- From: Kenny Pearce [mailto:[EMAIL PROTECTED] Sent: donderdag 13 september 2007 15:44 To: user-java@ibatis.apache.org Subject: Re: abstract property Alright, thi

Re: abstract property

2007-09-13 Thread Kenny Pearce
To: user-java@ibatis.apache.org Subject: Re: abstract property Alright, this is pretty long, but I've developed a basic case for the problem I'm having, and all the files, output, etc. are copied below. Maybe you can explain what I'm doing wrong. === table create statem

RE: abstract property

2007-09-13 Thread Niels Beekman
org Subject: Re: abstract property Alright, this is pretty long, but I've developed a basic case for the problem I'm having, and all the files, output, etc. are copied below. Maybe you can explain what I'm doing wrong. === table create statement = crea

Re: abstract property

2007-09-13 Thread Kenny Pearce
.engine.mapping.result.BasicResultMap.applyNestedResultMap > (BasicResultMap.java:369) >at > com.ibatis.sqlmap.engine.mapping.result.BasicResultMap.setResultObjectValues > (BasicResultMap.java:355) >at > com.ibatis.sqlmap.engine.mapping.statement.RowHandlerCa

Re: abstract property

2007-09-13 Thread Marc . Heimann
ap.java:395) >at > com.ibatis.sqlmap.engine.mapping.result.BasicResultMap.applyNestedResultMap > (BasicResultMap.java:369) >at > com.ibatis.sqlmap.engine.mapping.result.BasicResultMap.setResultObjectValues > (BasicResultMap.java:355) >at > com.ibatis.sqlmap.e

Re: abstract property

2007-09-13 Thread Kenny Pearce
2007 15:44 To: user-java@ibatis.apache.org Subject: Re: abstract property -- Kenny Pearce Hx Technologies

RE: abstract property

2007-09-13 Thread Niels Beekman
You shouldn't specify both resultMap and resultClass, you can only have one: should be: Hth, Niels -Original Message- From: Kenny Pearce [mailto:[EMAIL PROTECTED] Sent: donderdag 13 september 2007 15:44 To: user-java@ibatis.apache.org Subject: Re: abstract property

Re: abstract property

2007-09-13 Thread Kenny Pearce
at SQLTest.main(SQLTest.java:27) Niels Beekman wrote: How could iBATIS throw an InstantiationException when you're not even telling it the name of your abstract class? Please post the full exception stacktrace and your result maps. Niels -Original Message- From: Kenny Pearce [mailto

RE: abstract property

2007-09-12 Thread Niels Beekman
20:46 To: user-java@ibatis.apache.org Subject: abstract property Hello, I am trying to use iBatis in a case where I have an object hierarchy like the following: class Foo{ String fooString; Bar myBar; //getters and setters omitted } abstract class Bar{ String barS

abstract property

2007-09-12 Thread Kenny Pearce
Hello, I am trying to use iBatis in a case where I have an object hierarchy like the following: class Foo{ String fooString; Bar myBar; //getters and setters omitted } abstract class Bar{ String barString; //getters and setters omitted } class SubBar extends Bar{ String s