Christian Eugster wrote:
Hi Armin,
thank you for the hint. Now I have changed all the id field's default
value of my objects to null instead of '0'. I updated OJB to 1.0.4
now (good luck!). When I try to store an object I get now the
following Exception:
[org.apache.ojb.broker.accesslayer.JdbcAccessImpl] ERROR:
PersistenceBrokerException during the execution of materializeObject:
Can't generate primary key values for given Identity
org.apache.ojb.broker.util.sequence.HighLowSequence{SEQ_pos_product_group}
Can't generate primary key values for given Identity
org.apache.ojb.broker.util.sequence.HighLowSequence{SEQ_pos_product_group}
[org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl]
ERROR: Can't lookup new HighLowSequence for field id using sequence
name SEQ_pos_product_group Can't generate primary key values for
given Identity
org.apache.ojb.broker.util.sequence.HighLowSequence{SEQ_pos_product_group}
As I see in the documentation the table ojb_hl_seq has only changed
the type of max_key from Integer to Bigint.
and removed a deprecated column
Is there another place
where I have to look?
In the release-notes (especially section 'notes' and 'changes').
Don't forget to replace the old repository_internal.xml (and all other
OJB config files) file with the new one shipped with 1.0.4.
regards,
Armin
Thanks!
Christian
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]