Hibernate schema generation tool ignores @Column annotation scale attribute value
---------------------------------------------------------------------------------
Key: HIBERNATE-66
URL:
http://jira.jboss.com/jira/browse/HIBERNATE-66
Project: Hibernate
Issue Type: Bug
Environment: Hibernate 3.2.3 with Hibernate annotations 3.3.0, Windows, Solaris,
JDK1.6
Reporter: Aleksandr Troschenko
Assigned To: Steve Ebersole
When working with BigDecimal @Column annotation ignores scale attribute value. Despite
scale value the database column scale is always 2.
sample code
@Column(scale = 4)
private BigDecimal value;
Hibernate schema generation tool ignores scale value (ie. 4 in our case).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira