Could you please look at the below errors and suggest what is going on and how to fix it?
javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not get next sequence value
The EJB is annotated as:
==== pk id annotation
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator="WW")
@Column(name="eqrq_no", nullable=false, insertable=true )
This is an informix 9.4 DB with the IBM informix drivers and Hibernate Persistence in JBoss 4.04 I have verified that the sequence exists. I have also successfully used iSQL (java sourceforge sql tool) to run the logged hibernate query of:
select my_seq.nextval from systables where tabid=1