Informix « ID « JPA Q&A

1. Informix returning 0 id on save

I'm using Hibernate with an Informix database that has a parent table for the id values and a child text table. When inserting into the parent table the generated ID being returned by is always zero, even though the table does not allow zero and the actual generated id being inserted into the table is greater than zero. Because of ...

2. informix id generation

Hello, All. I'm having problem with using Informix DB version 7.3, trying to generate sequence. I use "native" as generator and put unsaved-value="0". In Informix, to generate the ID we have to do INSERT INTO

and put '0' in the sequence field and it will automatically assign a sequenced number. But somehow in Hibernate (version 2.1) I'm getting this error: ...

3. bug in Hibernate3.0.5 for Informix 7.3 with native id gen?

Need help with Hibernate? Read this first: ... AskForHelp Hibernate version: 3.0.5 Mapping documents: