From: <fc...@us...> - 2008-02-25 13:24:49
|
Revision: 695 http://openutils.svn.sourceforge.net/openutils/?rev=695&view=rev Author: fcarone Date: 2008-02-25 05:24:54 -0800 (Mon, 25 Feb 2008) Log Message: ----------- Use name/value for entities Modified Paths: -------------- trunk/openutils-hibernate-security/src/main/java/it/openutils/hibernate/security/dataobject/SecurityRule.java Modified: trunk/openutils-hibernate-security/src/main/java/it/openutils/hibernate/security/dataobject/SecurityRule.java =================================================================== --- trunk/openutils-hibernate-security/src/main/java/it/openutils/hibernate/security/dataobject/SecurityRule.java 2008-02-25 11:59:31 UTC (rev 694) +++ trunk/openutils-hibernate-security/src/main/java/it/openutils/hibernate/security/dataobject/SecurityRule.java 2008-02-25 13:24:54 UTC (rev 695) @@ -81,9 +81,9 @@ private Boolean deleted; @CollectionOfElements(fetch = FetchType.EAGER) - @org.hibernate.annotations.MapKey(columns = @Column(name = "REFERENCED_CLASS")) + @org.hibernate.annotations.MapKey(columns = @Column(name = "NAME")) @JoinTable(name = "SECRULE_ENTITY", joinColumns = {@JoinColumn(name = "ID_SECURITY_RULE") }) - @Column(name = "REFERENCED_ID", length = 60) + @Column(name = "VALUE", length = 60) @Fetch(FetchMode.SUBSELECT) private Map<String, String> entities; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |