Issue Type: Bug Bug
Affects Versions: 4.1.4
Assignee: Unassigned
Components: envers
Created: 11/Jul/12 3:25 AM
Description:

I have created an abstract RevisionEntity with @GeneratedValue depends on sequence
@MappedSuperclass
public class MyDefaultRevisionEntity implements Serializable {
private static final long serialVersionUID = -8404582037485802857L;

@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "idgen")
@RevisionNumber
private int id;

I want created specif subclass how determinate the sequencegenerator (in specific schema)
@Entity
@RevisionEntity
@Table(name = "revinfo", schema = "revision")
@SequenceGenerator(name = "idgen", sequenceName = "revinfo_sequence", schema = "revision")
public class SampleRevisionEntity extends MyDefaultRevisionEntity {

But the hibernate schema update create the sequence into "public" schema but not into "revision" schema.

Environment: Hibernate 4.1.4
Project: Hibernate ORM
Priority: Minor Minor
Reporter: Cyril MOREAU
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira