Update of 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/properties
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29391/src/test/java/org/xdoclet/plugin/hibernate/properties

Modified Files:
        Properties.hbm.xml 
Log Message:
fix for XDP-122. Only explicit access specification is honored, as well as 
implicit field
access unless overriden


Index: Properties.hbm.xml
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/properties/Properties.hbm.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Properties.hbm.xml  17 Sep 2005 15:57:41 -0000      1.2
--- Properties.hbm.xml  4 Jan 2006 10:20:00 -0000       1.3
***************
*** 3,23 ****
  <hibernate-mapping default-cascade="none" auto-import="true">
      <class name="org.xdoclet.plugin.hibernate.properties.Properties" 
table="properties_table">
!         <id name="id" type="glarch" access="method" >
              <generator class="glem"/>
          </id>
          <properties name="properties1" unique="false" update="false" 
insert="false" optimistic-lock="true" node="node">
!             <many-to-one access="method" name="oneSide" 
class="com.infodesire.infobit.dao.AclImpl">
                  <column name="one"/>
                  <column name="two"/>
              </many-to-one>
!             <property name="privateName" access="method"/>
!             <property name="publicName" access="method"/>
          </properties>
          <properties name="properties2" update="false" insert="false">
!             <property name="available" access="method"/>
!             <property name="resource" access="method"/>
          </properties>
!         <property name="changedOn" access="method"/>
!         <property name="createdOn" access="method"/>
      </class>
  </hibernate-mapping>
--- 3,23 ----
  <hibernate-mapping default-cascade="none" auto-import="true">
      <class name="org.xdoclet.plugin.hibernate.properties.Properties" 
table="properties_table">
!         <id name="id" type="glarch"  >
              <generator class="glem"/>
          </id>
          <properties name="properties1" unique="false" update="false" 
insert="false" optimistic-lock="true" node="node">
!             <many-to-one  name="oneSide" 
class="com.infodesire.infobit.dao.AclImpl">
                  <column name="one"/>
                  <column name="two"/>
              </many-to-one>
!             <property name="privateName" />
!             <property name="publicName" />
          </properties>
          <properties name="properties2" update="false" insert="false">
!             <property name="available" />
!             <property name="resource" />
          </properties>
!         <property name="changedOn" />
!         <property name="createdOn" />
      </class>
  </hibernate-mapping>



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits

Reply via email to