Re: getting primary, auto-generated, key with derby and torque-3.2

2006-10-08 Thread Thomas Fischer
Hi Joachim, Derby support was still in the alpha stage when 3.2 was released. In the meantime, I believe it is fully working in svn. I'd recommend a svn pull of the sources from svn trunk and a custom build. As far as I know, there are no large issues open at the moment which have not been in

getting primary, auto-generated, key with derby and torque-3.2

2006-10-04 Thread Joachim Draeger
Hi! As I could figure out from different sources this doesn't work at all at the moment. Or am I missing something? So I had to override doInsert in the Peer class and remove obj.setPrimaryKey(doInsert(buildCriteria(obj))) and just use doInsert(buildCriteria(obj)) to avoid NPEs. I did a quick