assume you are using SequenceManagerNativeImpl? Please set primarykey="true" Which OJB version?
regards Armin
R�mi Bars wrote:
Hi all,
i m trying to use identity on sybase with the odmg api. I don t understand why only one object is insert in my table, when i try to add a second object i get no error but no record too.
have u an idea?
thanks for ur help!
here is my repository
<class-descriptor class='Structure' table='Structure' > <field-descriptor name="id" column="id" jdbc-type="numeric" primarykey="true" autoincrement="false" access="readonly" /> <field-descriptor name='_Nom' column='nom' jdbc-type='VARCHAR'/> </class-descriptor>
here is my table CREATE TABLE Structure (
id numeric(4,0) identity not null,
nom VARCHAR(50) NULL )
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
