Update of
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28082/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo
Modified Files:
AnyMapping.hbm.xml ArrayMapping.hbm.xml BagMapping.hbm.xml
ComponentMapping.hbm.xml ComponentMapping.java
CompositeMapKeyMapping.hbm.xml CompositeMapping.hbm.xml
IdbagMapping.hbm.xml ListMapping.hbm.xml ListMapping.java
MapMapping.hbm.xml Relation.hbm.xml SetMapping.hbm.xml
Simple.hbm.xml
Log Message:
improvements in access setting ( implicit by tag placement, can be overriden )
also fox for XDP-103 ( missing node parameter )
Index: Simple.hbm.xml
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo/Simple.hbm.xml,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** Simple.hbm.xml 2 Sep 2005 09:14:02 -0000 1.20
--- Simple.hbm.xml 17 Sep 2005 15:57:41 -0000 1.21
***************
*** 17,21 ****
<meta inherit="true" attribute="attribute">blurge</meta>
<comment>This is comment</comment>
! <id unsaved-value="yahoo" name="id">
<meta inherit="true" attribute="attribute">blurge</meta>
<column name="blurge" sql-type="foobar">
--- 17,21 ----
<meta inherit="true" attribute="attribute">blurge</meta>
<comment>This is comment</comment>
! <id unsaved-value="yahoo" name="id" access="method">
<meta inherit="true" attribute="attribute">blurge</meta>
<column name="blurge" sql-type="foobar">
***************
*** 26,38 ****
</generator>
</id>
! <property name="fullBlown" length="235" column="foo-bar"
update="false" unique="true" not-null="true"
type="baz.bang.blurge" insert="false" formula="gee"/>
! <property name="name"/>
! <property name="typedProperty">
<type name="com.bar.Foo">
<param name="something">whatever</param>
</type>
</property>
! <property name="blurge" index="blam">
<meta inherit="true" attribute="attribute">blurge</meta>
</property>
--- 26,38 ----
</generator>
</id>
! <property name="fullBlown" access="method" length="235"
column="foo-bar" update="false" unique="true" not-null="true"
type="baz.bang.blurge" insert="false" formula="gee"/>
! <property access="method" name="name"/>
! <property access="method" name="typedProperty">
<type name="com.bar.Foo">
<param name="something">whatever</param>
</type>
</property>
! <property name="blurge" index="blam" access="field">
<meta inherit="true" attribute="attribute">blurge</meta>
</property>
Index: Relation.hbm.xml
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo/Relation.hbm.xml,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** Relation.hbm.xml 25 May 2005 08:01:48 -0000 1.14
--- Relation.hbm.xml 17 Sep 2005 15:57:41 -0000 1.15
***************
*** 5,12 ****
<hibernate-mapping default-cascade="none" auto-import="true">
<class name="org.xdoclet.plugin.hibernate.pojo.Relation">
! <id name="id" unsaved-value="blurge">
<generator class="native"/>
</id>
<many-to-one name="oneSide"
cascade="none"
column="aclid"
--- 5,13 ----
<hibernate-mapping default-cascade="none" auto-import="true">
<class name="org.xdoclet.plugin.hibernate.pojo.Relation">
! <id name="id" unsaved-value="blurge" access="method">
<generator class="native"/>
</id>
<many-to-one name="oneSide"
+ access="method"
cascade="none"
column="aclid"
***************
*** 19,27 ****
>
</many-to-one>
! <many-to-one name="oneSideWithMutipleKeys"
class="com.infodesire.infobit.dao.AclImpl">
<column name="one"/>
<column name="two"/>
</many-to-one>
! <one-to-one name="oneToOne" constrained="false"
property-ref="sysHolderByIdHolder">
</one-to-one>
</class>
--- 20,28 ----
>
</many-to-one>
! <many-to-one name="oneSideWithMutipleKeys"
class="com.infodesire.infobit.dao.AclImpl" access="method">
<column name="one"/>
<column name="two"/>
</many-to-one>
! <one-to-one name="oneToOne" constrained="false"
property-ref="sysHolderByIdHolder" access="method">
</one-to-one>
</class>
Index: CompositeMapKeyMapping.hbm.xml
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo/CompositeMapKeyMapping.hbm.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** CompositeMapKeyMapping.hbm.xml 22 Jun 2005 15:54:08 -0000 1.4
--- CompositeMapKeyMapping.hbm.xml 17 Sep 2005 15:57:41 -0000 1.5
***************
*** 7,13 ****
<key/>
<composite-map-key
class="org.xdoclet.plugin.hibernate.pojo.CompositeMapKeyMapping$CompositeMapKey">
! <key-property name="keyField"/>
! <key-property name="keySN"/>
! <key-many-to-one name="simple"/>
</composite-map-key>
<element column="attributeValue" type="serializable"
not-null="true"/>
--- 7,13 ----
<key/>
<composite-map-key
class="org.xdoclet.plugin.hibernate.pojo.CompositeMapKeyMapping$CompositeMapKey">
! <key-property name="keyField" access="field"/>
! <key-property name="keySN" access="field"/>
! <key-many-to-one name="simple" access="field"/>
</composite-map-key>
<element column="attributeValue" type="serializable"
not-null="true"/>
Index: BagMapping.hbm.xml
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo/BagMapping.hbm.xml,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** BagMapping.hbm.xml 26 Apr 2005 07:00:17 -0000 1.11
--- BagMapping.hbm.xml 17 Sep 2005 15:57:41 -0000 1.12
***************
*** 3,11 ****
<hibernate-mapping default-cascade="none" auto-import="true">
<class name="org.xdoclet.plugin.hibernate.pojo.BagMapping"
table="bag-table">
! <bag name="element" inverse="true" order-by="blurge">
<key/>
<element type="string"/>
</bag>
! <bag name="oneToMany" lazy="true" outer-join="auto" schema="baz"
inverse="false" where="bar" order-by="foo" cascade="all" table="blurge">
<meta inherit="true" attribute="foo">bar</meta>
<meta inherit="false" attribute="bar">blurge</meta>
--- 3,11 ----
<hibernate-mapping default-cascade="none" auto-import="true">
<class name="org.xdoclet.plugin.hibernate.pojo.BagMapping"
table="bag-table">
! <bag name="element" inverse="true" order-by="blurge" access="method">
<key/>
<element type="string"/>
</bag>
! <bag name="oneToMany" access="method" lazy="true" outer-join="auto"
schema="baz" inverse="false" where="bar" order-by="foo" cascade="all"
table="blurge">
<meta inherit="true" attribute="foo">bar</meta>
<meta inherit="false" attribute="bar">blurge</meta>
***************
*** 14,18 ****
<one-to-many class="org.xdoclet.plugin.hibernate.pojo.Simple"/>
</bag>
! <bag name="oneToManyWithMultipleKey" table="blurge">
<key>
<column name="column1"/>
--- 14,18 ----
<one-to-many class="org.xdoclet.plugin.hibernate.pojo.Simple"/>
</bag>
! <bag name="oneToManyWithMultipleKey" table="blurge" access="method" >
<key>
<column name="column1"/>
Index: ComponentMapping.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo/ComponentMapping.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** ComponentMapping.java 15 Aug 2005 14:33:51 -0000 1.18
--- ComponentMapping.java 17 Sep 2005 15:57:41 -0000 1.19
***************
*** 71,75 ****
/**
! * @hibernate.property column="col" access="field"
*/
private String foo;
--- 71,75 ----
/**
! * @hibernate.property column="col"
*/
private String foo;
Index: ListMapping.hbm.xml
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo/ListMapping.hbm.xml,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** ListMapping.hbm.xml 20 Aug 2005 11:49:28 -0000 1.12
--- ListMapping.hbm.xml 17 Sep 2005 15:57:41 -0000 1.13
***************
*** 3,17 ****
<hibernate-mapping default-cascade="none" auto-import="true">
<class name="org.xdoclet.plugin.hibernate.pojo.ListMapping"
table="bag-table">
! <list name="element" order-by="blurge">
<key/>
<index/>
<element type="string" formula="blam"/>
</list>
! <list name="manyToMany">
<key/>
<index/>
<many-to-many class="org.xdoclet.plugin.hibernate.pojo.Simple"/>
</list>
! <list name="manyToManyWithMultipleKey">
<key>
<column name="column1"/>
--- 3,17 ----
<hibernate-mapping default-cascade="none" auto-import="true">
<class name="org.xdoclet.plugin.hibernate.pojo.ListMapping"
table="bag-table">
! <list name="element" order-by="blurge" access="method">
<key/>
<index/>
<element type="string" formula="blam"/>
</list>
! <list access="field" name="manyToMany">
<key/>
<index/>
<many-to-many class="org.xdoclet.plugin.hibernate.pojo.Simple"/>
</list>
! <list name="manyToManyWithMultipleKey" access="method">
<key>
<column name="column1"/>
***************
*** 21,25 ****
<many-to-many class="org.xdoclet.plugin.hibernate.pojo.Simple"/>
</list>
! <list name="oneToMany" lazy="true" outer-join="auto" schema="baz"
inverse="false" where="bar" order-by="foo" cascade="all" table="blurge">
<meta inherit="true" attribute="foo">bar</meta>
<meta inherit="false" attribute="bar">blurge</meta>
--- 21,25 ----
<many-to-many class="org.xdoclet.plugin.hibernate.pojo.Simple"/>
</list>
! <list access="method" name="oneToMany" lazy="true" outer-join="auto"
schema="baz" inverse="false" where="bar" order-by="foo" cascade="all"
table="blurge">
<meta inherit="true" attribute="foo">bar</meta>
<meta inherit="false" attribute="bar">blurge</meta>
Index: SetMapping.hbm.xml
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo/SetMapping.hbm.xml,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** SetMapping.hbm.xml 11 May 2005 06:55:42 -0000 1.15
--- SetMapping.hbm.xml 17 Sep 2005 15:57:41 -0000 1.16
***************
*** 3,11 ****
<hibernate-mapping default-cascade="none" auto-import="true">
<class name="org.xdoclet.plugin.hibernate.pojo.SetMapping"
table="set-table">
! <set name="element" order-by="blurge" cascade="all-delete-orphan">
<key/>
<element type="string"/>
</set>
! <set name="oneToMany" lazy="true" outer-join="auto" schema="baz"
inverse="false" where="bar" sort="blabla" order-by="foo" cascade="all"
table="blurge">
<meta inherit="true" attribute="foo">bar</meta>
<meta inherit="false" attribute="bar">blurge</meta>
--- 3,11 ----
<hibernate-mapping default-cascade="none" auto-import="true">
<class name="org.xdoclet.plugin.hibernate.pojo.SetMapping"
table="set-table">
! <set access="method" name="element" order-by="blurge"
cascade="all-delete-orphan">
<key/>
<element type="string"/>
</set>
! <set name="oneToMany" access="method" lazy="true" outer-join="auto"
schema="baz" inverse="false" where="bar" sort="blabla" order-by="foo"
cascade="all" table="blurge">
<meta inherit="true" attribute="foo">bar</meta>
<meta inherit="false" attribute="bar">blurge</meta>
***************
*** 14,18 ****
<one-to-many class="org.xdoclet.plugin.hibernate.pojo.Simple"/>
</set>
! <set name="oneToManyWithMultipleKey" table="blurge">
<key>
<column name="column1"/>
--- 14,18 ----
<one-to-many class="org.xdoclet.plugin.hibernate.pojo.Simple"/>
</set>
! <set name="oneToManyWithMultipleKey" access="method" table="blurge">
<key>
<column name="column1"/>
***************
*** 21,25 ****
<one-to-many class="org.xdoclet.plugin.hibernate.pojo.Simple"/>
</set>
! <set name="fieldSet">
<key/>
<one-to-many class="org.xdoclet.plugin.hibernate.pojo.Simple"/>
--- 21,25 ----
<one-to-many class="org.xdoclet.plugin.hibernate.pojo.Simple"/>
</set>
! <set name="fieldSet" access="field">
<key/>
<one-to-many class="org.xdoclet.plugin.hibernate.pojo.Simple"/>
Index: ComponentMapping.hbm.xml
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo/ComponentMapping.hbm.xml,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** ComponentMapping.hbm.xml 28 Jul 2005 08:42:12 -0000 1.13
--- ComponentMapping.hbm.xml 17 Sep 2005 15:57:41 -0000 1.14
***************
*** 3,44 ****
<hibernate-mapping default-cascade="none" auto-import="true">
<class name="org.xdoclet.plugin.hibernate.pojo.ComponentMapping"
table="component-table">
! <id name="id">
<generator class="native"/>
</id>
! <component name="component" insert="true"
class="org.xdoclet.plugin.hibernate.pojo.ComponentMapping$SimpleImpl"
update="false">
<meta inherit="true" attribute="blurge">bang</meta>
! <property name="field"/>
<parent name="xyz"/>
! <property name="foo" column="col" access="field"/>
! <component name="nested">
! <property name="go" column="nested_col"/>
</component>
</component>
! <component name="prefixedComponent"
class="org.xdoclet.plugin.hibernate.pojo.ComponentMapping$SimpleImpl">
! <property name="field"/>
<parent name="xyz"/>
<property name="foo" column="prfx_col" access="field"/>
! <component name="nested">
! <property name="go" column="prfx_nested_col"/>
</component>
</component>
! <property name="removedDttm" column="removed_dttm" not-null="true"/>
! <component name="componentInterface"
class="org.xdoclet.plugin.hibernate.pojo.ComponentMapping$ConcreteComponent">
! <property name="property"/>
</component>
! <component name="classComponent">
! <property name="stringField">
<column name="pone"/>
</property>
</component>
! <component name="field">
<parent name="xyz"/>
<property name="foo" column="col" access="field"/>
! <component name="nested">
! <property name="go" column="nested_col"/>
</component>
</component>
! <component name="withManyToOne">
! <many-to-one name="nested" column="xpref_refcol"/>
</component>
</class>
--- 3,44 ----
<hibernate-mapping default-cascade="none" auto-import="true">
<class name="org.xdoclet.plugin.hibernate.pojo.ComponentMapping"
table="component-table">
! <id access="field" name="id">
<generator class="native"/>
</id>
! <component name="component" access="method" insert="true"
class="org.xdoclet.plugin.hibernate.pojo.ComponentMapping$SimpleImpl"
update="false">
<meta inherit="true" attribute="blurge">bang</meta>
! <property access="field" name="field"/>
<parent name="xyz"/>
! <property access="field" name="foo" column="col" />
! <component access="field" name="nested">
! <property access="field" name="go" column="nested_col"/>
</component>
</component>
! <component name="prefixedComponent" access="method"
class="org.xdoclet.plugin.hibernate.pojo.ComponentMapping$SimpleImpl">
! <property access="field" name="field"/>
<parent name="xyz"/>
<property name="foo" column="prfx_col" access="field"/>
! <component access="field" name="nested">
! <property access="field" name="go" column="prfx_nested_col"/>
</component>
</component>
! <property access="method" name="removedDttm" column="removed_dttm"
not-null="true"/>
! <component access="method" name="componentInterface"
class="org.xdoclet.plugin.hibernate.pojo.ComponentMapping$ConcreteComponent">
! <property name="property" access="method"/>
</component>
! <component access="field" name="classComponent">
! <property access="field" name="stringField">
<column name="pone"/>
</property>
</component>
! <component access="field" name="field">
<parent name="xyz"/>
<property name="foo" column="col" access="field"/>
! <component name="nested" access="field">
! <property access="field" name="go" column="nested_col"/>
</component>
</component>
! <component access="field" name="withManyToOne">
! <many-to-one name="nested" access="field" column="xpref_refcol"/>
</component>
</class>
Index: MapMapping.hbm.xml
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo/MapMapping.hbm.xml,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** MapMapping.hbm.xml 25 May 2005 08:01:48 -0000 1.11
--- MapMapping.hbm.xml 17 Sep 2005 15:57:41 -0000 1.12
***************
*** 4,16 ****
<hibernate-mapping>
<class name="org.xdoclet.plugin.hibernate.pojo.MapMapping"
table="map-table">
! <id name="id" unsaved-value="blurge">
<generator class="native"/>
</id>
! <map name="element">
<key/>
<index type="baz"/>
<element not-null="false" type="string" column="value"
unique="false"/>
</map>
! <map name="manyToAny">
<key column="baz"/>
<index-many-to-any id-type="long">
--- 4,16 ----
<hibernate-mapping>
<class name="org.xdoclet.plugin.hibernate.pojo.MapMapping"
table="map-table">
! <id name="id" unsaved-value="blurge" access="method">
<generator class="native"/>
</id>
! <map name="element" access="method">
<key/>
<index type="baz"/>
<element not-null="false" type="string" column="value"
unique="false"/>
</map>
! <map name="manyToAny" access="method">
<key column="baz"/>
<index-many-to-any id-type="long">
***************
*** 23,27 ****
</many-to-any>
</map>
! <map name="oneToMany" lazy="true" outer-join="auto" schema="baz"
inverse="false" where="bar" sort="blabla" order-by="foo" cascade="all"
table="blurge">
<key/>
<index type="blurge">
--- 23,27 ----
</many-to-any>
</map>
! <map access="method" name="oneToMany" lazy="true" outer-join="auto"
schema="baz" inverse="false" where="bar" sort="blabla" order-by="foo"
cascade="all" table="blurge">
<key/>
<index type="blurge">
***************
*** 31,35 ****
<one-to-many class="org.xdoclet.plugin.hibernate.pojo.Simple"
not-found="exception"/>
</map>
! <map name="oneToManyWithMultipleKeys" table="blurge">
<key>
<column name="column1"/>
--- 31,35 ----
<one-to-many class="org.xdoclet.plugin.hibernate.pojo.Simple"
not-found="exception"/>
</map>
! <map access="method" name="oneToManyWithMultipleKeys" table="blurge">
<key>
<column name="column1"/>
Index: ListMapping.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo/ListMapping.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** ListMapping.java 20 Aug 2005 11:49:28 -0000 1.10
--- ListMapping.java 17 Sep 2005 15:57:41 -0000 1.11
***************
*** 36,40 ****
/**
! * @hibernate.list
* @hibernate.index
* @hibernate.many-to-many
class="org.xdoclet.plugin.hibernate.pojo.Simple"
--- 36,40 ----
/**
! * @hibernate.list access="field"
* @hibernate.index
* @hibernate.many-to-many
class="org.xdoclet.plugin.hibernate.pojo.Simple"
Index: CompositeMapping.hbm.xml
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo/CompositeMapping.hbm.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** CompositeMapping.hbm.xml 22 Jun 2005 15:54:08 -0000 1.3
--- CompositeMapping.hbm.xml 17 Sep 2005 15:57:41 -0000 1.4
***************
*** 4,8 ****
<hibernate-mapping>
<class name="org.xdoclet.plugin.hibernate.pojo.CompositeMapping"
table="`CompositeMapping`">
! <id name="userName">
<generator class="native"/>
</id>
--- 4,8 ----
<hibernate-mapping>
<class name="org.xdoclet.plugin.hibernate.pojo.CompositeMapping"
table="`CompositeMapping`">
! <id name="userName" access="field" >
<generator class="native"/>
</id>
***************
*** 14,18 ****
</composite-element>
</list>
! <list name="permissions">
<key column="userName"/>
<list-index column="displayOrder" base="1"/>
--- 14,18 ----
</composite-element>
</list>
! <list name="permissions" access="field" >
<key column="userName"/>
<list-index column="displayOrder" base="1"/>
***************
*** 20,27 ****
<meta attribute="meta" inherit="false"/>
<parent name="parent"/>
! <property name="type" column="permissionType"/>
</composite-element>
</list>
! <map name="sessionData">
<key column="userName"/>
<map-key column="attributeName" type="string"/>
--- 20,27 ----
<meta attribute="meta" inherit="false"/>
<parent name="parent"/>
! <property name="type" column="permissionType" access="field"
/>
</composite-element>
</list>
! <map name="sessionData" access="field" >
<key column="userName"/>
<map-key column="attributeName" type="string"/>
Index: AnyMapping.hbm.xml
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo/AnyMapping.hbm.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** AnyMapping.hbm.xml 17 May 2005 12:42:54 -0000 1.5
--- AnyMapping.hbm.xml 17 Sep 2005 15:57:41 -0000 1.6
***************
*** 3,7 ****
<hibernate-mapping>
<class name="org.xdoclet.plugin.hibernate.pojo.AnyMapping"
table="any-table">
! <any id-type="long" cascade="all-delete-orphan,refresh" index="glum"
name="any" insert="true" update="false" meta-type="string">
<meta inherit="false" attribute="foo">bar</meta>
<meta-value value="glam" class="blurge"/>
--- 3,7 ----
<hibernate-mapping>
<class name="org.xdoclet.plugin.hibernate.pojo.AnyMapping"
table="any-table">
! <any access="method" id-type="long"
cascade="all-delete-orphan,refresh" index="glum" name="any" insert="true"
update="false" meta-type="string">
<meta inherit="false" attribute="foo">bar</meta>
<meta-value value="glam" class="blurge"/>
Index: ArrayMapping.hbm.xml
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo/ArrayMapping.hbm.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ArrayMapping.hbm.xml 25 May 2005 08:01:48 -0000 1.2
--- ArrayMapping.hbm.xml 17 Sep 2005 15:57:41 -0000 1.3
***************
*** 4,8 ****
<hibernate-mapping>
<class name="org.xdoclet.plugin.hibernate.pojo.ArrayMapping"
table="array_table">
! <array name="intArray" table="int_array">
<key>
<column name="item_id" length="16"/>
--- 4,8 ----
<hibernate-mapping>
<class name="org.xdoclet.plugin.hibernate.pojo.ArrayMapping"
table="array_table">
! <array name="intArray" table="int_array" access="method">
<key>
<column name="item_id" length="16"/>
***************
*** 13,17 ****
</element>
</array>
! <array name="itemArray"
element-class="org.xdoclet.plugin.hibernate.pojo.ItemArray"
where="section_where" check="i>=0">
<key>
<column name="id"/>
--- 13,17 ----
</element>
</array>
! <array name="itemArray" access="method"
element-class="org.xdoclet.plugin.hibernate.pojo.ItemArray"
where="section_where" check="i>=0">
<key>
<column name="id"/>
***************
*** 22,26 ****
</many-to-many>
</array>
! <array name="timeArray" table="time_array">
<key>
<column name="array_id" length="16"/>
--- 22,26 ----
</many-to-many>
</array>
! <array name="timeArray" access="method" table="time_array">
<key>
<column name="array_id" length="16"/>
Index: IdbagMapping.hbm.xml
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo/IdbagMapping.hbm.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** IdbagMapping.hbm.xml 2 Sep 2005 10:48:49 -0000 1.4
--- IdbagMapping.hbm.xml 17 Sep 2005 15:57:41 -0000 1.5
***************
*** 4,8 ****
<hibernate-mapping>
<class name="org.xdoclet.plugin.hibernate.pojo.IdbagMapping"
table="idbag_table">
! <idbag name="idBag" lazy="true" table="idbag_id" cascade="all">
<collection-id column="collection_id" type="long">
<generator class="hilo">
--- 4,8 ----
<hibernate-mapping>
<class name="org.xdoclet.plugin.hibernate.pojo.IdbagMapping"
table="idbag_table">
! <idbag name="idBag" lazy="true" table="idbag_id" cascade="all"
access="method">
<collection-id column="collection_id" type="long">
<generator class="hilo">
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits