[
http://jira.jboss.com/jira/browse/HIBERNATE-66?page=comments#action_12364795 ]
Steve Ebersole commented on HIBERNATE-66:
-----------------------------------------
FYI, this is not the right place to report problems with Hibernate. This JIRA is meant
for issues integrating Hibernate into JBossAS. The Hibernate project has its own JIRA...
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
Original Estimate: 1 day
Remaining Estimate: 1 day
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