From: <hib...@li...> - 2006-04-27 23:30:58
|
Author: epbernard Date: 2006-04-27 19:30:54 -0400 (Thu, 27 Apr 2006) New Revision: 9824 Modified: trunk/Hibernate3/src/org/hibernate/cfg/HbmBinder.java Log: allow generated=insert and updatable property but actually fix the bug ;-) Modified: trunk/Hibernate3/src/org/hibernate/cfg/HbmBinder.java =================================================================== --- trunk/Hibernate3/src/org/hibernate/cfg/HbmBinder.java 2006-04-27 23:28:48 UTC (rev 9823) +++ trunk/Hibernate3/src/org/hibernate/cfg/HbmBinder.java 2006-04-27 23:30:54 UTC (rev 9824) @@ -1229,7 +1229,7 @@ ); } property.setInsertable( false ); - property.setUpdateable( false ); + property.setUpdateable( generation != PropertyGeneration.ALWAYS ); property.setGeneration( generation ); } |