[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3099) Hibernate doesn't find an existing Sequence
Luis Medalhas (JIRA)
noreply at atlassian.com
Thu Feb 7 14:22:33 EST 2008
Hibernate doesn't find an existing Sequence
-------------------------------------------
Key: HHH-3099
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3099
Project: Hibernate3
Issue Type: Bug
Components: core
Environment: JBoss 4.2.2GA, JBoss Seam 2.0.1GA, Informix 10
Reporter: Luis Medalhas
When i try to deploy my project it fails with this error:
Reason: javax.persistence.PersistenceException: org.hibernate.HibernateException: Missing sequence or table: seq_ep4txt_atxtkey
But sequence exists, below is definition of my Entity
@Entity
public class Ep4txt implements java.io.Serializable{
private int atxtkey;
private String atxtfmt;
private String atxtdoc;
@Id
@SequenceGenerator(name="Ep4txt_Gen", sequenceName="seq_ep4txt_atxtkey")
@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="Ep4txt_Gen")
public int getAtxtkey() {
return atxtkey;
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list