Envers schema generation (ant) ignoring columnDefinition ( atribute of @Column, JPA )
-------------------------------------------------------------------------------------
Key: HHH-3888
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3888
Project: Hibernate Core
Issue Type: Bug
Components: envers
Affects Versions: 3.3.1
Environment: Ubuntu 32bit 8.10, sun jdk 1.6.12, Envers 1.2.0GA, JPA 1.0,
Hibernate 3.3.1GA, Annotations and EntityManager 3.4.0GA
Reporter: Euclides Melo
I am using the org.hibernate.tool.ant.EnversHibernateToolTask with jpaconfiguration .
It is working fine, except with this case: I have a class with this attribute:
Code:
@Column(columnDefinition="text", nullable=true)
private String foo;
The generated tables are the following:
Code:
create table Bar ( foo text null, other fields... //CORRECT
create table Bar_AUD ( foo varchar(255) null, other fields... //BUG! should be text, not
the default varchar(255)
Note the AUD table, it is ignoring the columnDefinition .
I am using Envers 1.2.0 GA.
This is a similar problem found on
https://jira.jboss.org/jira/browse/ENVERS-70
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira