[
http://opensource.atlassian.com/projects/hibernate/browse/HBX-1004?page=c...
]
Viorel Andronic commented on HBX-1004:
--------------------------------------
If you manage to get the @NotNull annotation out of the ID property, shouldn't you
remove the nullable="false" attribute from the @Column annotation ?
I did some researching and I found out that the nullable attribute is generated by
hibernate-tools.jar. Is there any posibility to remove/overwrite it from
pojo/GetPropertyAnnotation.ftl file ?
Bugs affecting seam-gen and JBoss Tools
---------------------------------------
Key: HBX-1004
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HBX-1004
Project: Hibernate Tools
Issue Type: Bug
Components: hbm2java
Reporter: Gavin King
Assignee: Max Rydahl Andersen
Priority: Critical
The following problems need to be solved for JBoss tools:
* @Id @GeneratedValue attributes should NEVER have @NotNull generated!
* MySQL internally stores columns of type NUMERIC as DECIMAL - we should change
MySQLDialect to generate DECIMAL in the DDL, or we should hack SchemaExport to consider
NUMERIC and DECIMAL is "equal" for the purposes of validation
--
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