From: Max R. A. (JIRA) <no...@at...> - 2006-07-10 12:48:07
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-701?page=all ] Max Rydahl Andersen closed HBX-701: ----------------------------------- Resolution: Rejected The case described is not true. reveng generates "long" properties for columns that is marked as NOT NULL at the db layer. hbm2java will then generate a "long". But if you write type="java.lang.Long" it will generate "java.lang.Long". > reveng and hbm2java might not be treating not-null/types equally > ---------------------------------------------------------------- > > Key: HBX-701 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-701 > Project: Hibernate Tools > Type: Task > Components: hbm2java > Reporter: Max Rydahl Andersen > Fix For: 3.2beta6 > > > confirm or reject what http://chimogiratorio.blogspot.com/2006/05/tipos-wrapper-e-hibernate-tools.html is hinting. > the blog says its a problem with codegen, but the fixes is in the reverse engineering part - can only then be true > if he is generating directly from the reverse engineered result and then it looks weird if not-null="true" and type is java.lang.Long ...something is wrong here. -- 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.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |