SequenceManagerHighLowImpl

2007-01-30 Thread Längerich , Bernd
Hi, I have some problems with OJB (PB-API) and the sequence manager. I derived a new sequence manager from the shipped HighLowImpl, that checks for every grab size with SequenceManagerHelper.getMaxForExtent() for the max id of the field. This works fine with data added externally, but I have a

preventing foreign key to set to null

2007-01-30 Thread Christopher Cheng
It seems that if set "auto-retrieve" to false for foreign key object, when I call broker.store(), it will also set the foreign key to null also! Supposing I have 2 tables Checks and CheckBooks As I call broker.retrieveObject, the checkbook attribute is null

OJB code fix contribution.

2007-01-30 Thread Virgo Smart
Hello, We have done a code fix affecting around 3 files to solve a object materialization related issue we had faced some time back. The fix allows us to create instances of right classes within the class hierarchy during the materialization of objects (with "TPS" and "TPS using hierarchy" s