[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-596) seam-gen not generating annotation for BigDecimal fields appropriately
Cheng Lee (JIRA)
jira-events at jboss.com
Thu Dec 14 14:23:47 EST 2006
[ http://jira.jboss.com/jira/browse/JBSEAM-596?page=all ]
Cheng Lee updated JBSEAM-596:
-----------------------------
Affects Version/s: 1.1.0.GA
> seam-gen not generating annotation for BigDecimal fields appropriately
> ----------------------------------------------------------------------
>
> Key: JBSEAM-596
> URL: http://jira.jboss.com/jira/browse/JBSEAM-596
> Project: JBoss Seam
> Issue Type: Bug
> Affects Versions: 1.1.0.GA, 1.1.0.CR2
> Reporter: Cheng Lee
>
> As of JBoss SEAM 1.1.0 CR2 the seam reverse engineering tool ("seam.bat generate-entities") is not generating the appropriate annotation for BigDecimal. Precision is generated but Scale is omitted therefore gives the following exception while deploying:
> javax.persistence.PersistenceException: org.hibernate.HibernateException: Wrong column type: bb, expected: numeric(10,0)
> Should have generated this:
> @Column(name = "bb", nullable = false, precision = 10, scale = 2)
> instead of:
> @Column(name = "bb", nullable = false, precision = 10)
--
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
More information about the seam-issues
mailing list