Re: How can I debug parsing of XML in sqlmapconfig (Strange change in behaviour)

2005-10-14 Thread Alan Chandler
On Friday 14 Oct 2005 23:40, Alan Chandler wrote: > All of a sudden I am getting loads of errors, which at root are caused by > this one. > > Caused by: > com.ibatis.common.beans.ProbeException: There is no WRITEABLE property > named 'day' in class 'java.util.Date' > at com.ibatis.common.bean

How can I debug parsing of XML in sqlmapconfig (Strange change in behaviour)

2005-10-14 Thread Alan Chandler
I have added a load more xml to my sqlmapconfig file as I start to develop my application to do more than it had been. All of a sudden I am getting loads of errors, which at root are caused by this one. Caused by: com.ibatis.common.beans.ProbeException: There is no WRITEABLE property named 'd

Re: lazy loader NPE

2005-10-14 Thread reubenf
I found one reference to this: http://www.google.com/search?q=cache:y2UKgchz25IJ:mail-archives.apache.org/mod_mbox/incubator-ibatis-user-java/200502.mbox/%253C16178eb10502262030d30d080%40mail.gmail.com%253E+at+com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.endTransaction(SqlMapExecutorDelega

Re: Group By for multiple column primary keys

2005-10-14 Thread Alan Chandler
On Friday 14 Oct 2005 19:05, Alan Chandler wrote: > I have a table in which I have just add to change it from one to two > columns making up the primary key. (before it was column "sid", now I also > need "m_no") > > This is how I used to do it > > groupBy="marriage.spouse.id"

Re: Group By for multiple column primary keys

2005-10-14 Thread Alan Chandler
On Friday 14 Oct 2005 21:12, Dan Bradley wrote: > Here's a working example of a compound key from a project of mine: I think I am missing some things to make sense of this ... > > > > > > ... > parameterClass="versionId"> >

lazy loader NPE

2005-10-14 Thread reubenf
What's going on here? I'm using Spring's transactions, not the Ibatis ones. java.lang.NullPointerException at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.endTransaction(SqlMapExecutorDelegate.java:776) at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.endTransaction(SqlM

Re: Group By for multiple column primary keys

2005-10-14 Thread Dan Bradley
Here's a working example of a compound key from a project of mine: ... ... On 10/14/05, Alan Chandler <[EMAIL PROTECTED]> wrote: > I have a table in which I

Group By for multiple column primary keys

2005-10-14 Thread Alan Chandler
I have a table in which I have just add to change it from one to two columns making up the primary key. (before it was column "sid", now I also need "m_no") This is how I used to do it ... I think the manual implies this - is it correct?

RE: doesn't send the value to insert statement

2005-10-14 Thread James, Steven
set the KeyProperty of the selectKey (See developer guide sqlmaps-2.pdf paage 14 and set is to the java bean property you wish to be set.. This is why you do not see the value being passed in. Running the selectKey first is ok.. Steve.. From: Farsi, Reza [mail

Re: doesn't send the value to insert statement

2005-10-14 Thread Karthikeyan Pandurangan
hi Reza, i am sorry, i actually have the INSERT following the . > > SELECT to_char(FN_GETDONORID) AS "strDonorID" FROM DUAL > >INSERT INTO DONOR ( Regards karthi On 10/14/05, Farsi, Reza <[EMAIL PROTECTED]> wrote: > Hi Karthikeyan , > > select key should follow IN

AW: doesn't send the value to insert statement

2005-10-14 Thread Farsi, Reza
Hi Karthikeyan , select key should follow INSERT. Reza Von: Karthikeyan Pandurangan [mailto:[EMAIL PROTECTED] Gesendet: Fr 14.10.2005 08:30 An: user-java@ibatis.apache.org Betreff: doesn't send the value to insert statement Hi, I am stuck with the pro