Hi, I'm having a problem with a bi-directional one-to-many. The data for the many side of the collection is persisted, but without the key (it's set to null). There doesn't seem to be any update happening to populate that field. Any help would be appreciated. I've read the docs over and over and I really can't see what I'm doing wrong.
As an added bonus, it seems to add each RoomData object 4 times!
This is a big object map which is all persisted for the first time in this process...
Hibernate version:
2.1.6
Mapping documents:
(generated by xdoclet)
Code:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 2.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd">
<hibernate-mapping>
<class
name="com.coldwellbanker.rets.genclasses.ResidentialProperty"
table="Property"
dynamic-update="false"
dynamic-insert="false"
>
<id
name="id"
column="pro_property_id"
type="java.lang.Long"
>
<generator class="sequence">
<param name="sequence">SEQ_PROPERTY</param>
</generator>
</id>
<set
name="theRooms"
lazy="true"
inverse="true"
cascade="save-update"
sort="unsorted"
>
<key
column="PRO_PROPERTY_ID"
/>
<one-to-many
class="com.coldwellbanker.rets.genclasses.RoomData"
/>
</set>
<!--
To add non XDoclet property mappings, create a file named
hibernate-properties-ResidentialProperty.xml
containing the additional properties and place it in your merge dir.
-->
</class>
</hibernate-mapping>
Code:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 2.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd">
<hibernate-mapping>
<class
name="com.coldwellbanker.rets.genclasses.RoomData"
table="ROOM_DIM"
dynamic-update="false"
dynamic-insert="false"
>
<id
name="id"
column="ROD_ROOM_DIM"
type="java.lang.Long"
>
<generator class="sequence">
<param name="sequence">SEQ_ROOM_DIM</param>
</generator>
</id>
<many-to-one
name="parent"
class="com.coldwellbanker.rets.genclasses.ResidentialProperty"
cascade="none"
outer-join="auto"
update="true"
insert="true"
column="PRO_PROPERTY_ID"
/>
<property
name="length"
type="java.lang.String"
update="true"
insert="true"
column="ROD_LENGTH"
/>
<property
name="roomtype"
type="java.lang.String"
update="true"
insert="true"
column="ROD_ROOM_NAME"
/>
<property
name="width"
type="java.lang.String"
update="true"
insert="true"
column="ROD_WIDTH"
/>
<!--
To add non XDoclet property mappings, create a file named
hibernate-properties-RoomData.xml
containing the additional properties and place it in your merge dir.
-->
</class>
</hibernate-mapping>
Code between sessionFactory.openSession() and session.close():Code:
Session session = HibernateUtil.currentSession();
Transaction tx = null;
try {
tx = session.beginTransaction();
session.saveOrUpdate(result);
session.flush();
tx.commit();
}
catch (Exception e) {
if (tx!=null) tx.rollback();
throw e;
}
finally {
HibernateUtil.closeSession();
}
Full stack trace of any exception that occurs:
No exceptions, just bad data
Name and version of the database you are using:
Oracle 9i
The generated SQL (show_sql=true):
See below
Debug level Hibernate log excerpt:
[code]
File:c:\work\cb_rets\docs\RETS\rets_sample_combined.xml
Mapping:c:\work\cb_rets\docs\RETS\rets-mapping.xml
-->doUnMarshall
2005-01-12 12:31:00,734 INFO (Environment.java:462) - Hibernate 2.1.3
2005-01-12 12:31:00,734 INFO (Environment.java:491) - hibernate.properties not found
2005-01-12 12:31:00,750 INFO (Environment.java:519) - using CGLIB reflection optimizer
2005-01-12 12:31:00,750 INFO (Configuration.java:872) - configuring from resource: /hibernate.cfg.xml
2005-01-12 12:31:00,750 INFO (Configuration.java:844) - Configuration resource: /hibernate.cfg.xml
2005-01-12 12:31:00,796 DEBUG (DTDEntityResolver.java:20) - trying to locate http://hibernate.sourceforge.net/hibernate-configuration-2.0.dtd in classpath under net/sf/hibernate/
2005-01-12 12:31:00,796 DEBUG (DTDEntityResolver.java:29) - found http://hibernate.sourceforge.net/hibernate-configuration-2.0.dtd in classpath
2005-01-12 12:31:00,828 DEBUG (Configuration.java:830) - hibernate.connection.url=jdbc:oracle:thin:@192.168.1.61:1521:MUSTANG
2005-01-12 12:31:00,828 DEBUG (Configuration.java:830) - hibernate.connection.username=prod
2005-01-12 12:31:00,828 DEBUG (Configuration.java:830) - hibernate.connection.password=prod
2005-01-12 12:31:00,828 DEBUG (Configuration.java:830) - hibernate.connection.driver_class=oracle.jdbc.driver.OracleDriver
2005-01-12 12:31:00,828 DEBUG (Configuration.java:830) - dialect=net.sf.hibernate.dialect.Oracle9Dialect
2005-01-12 12:31:00,828 DEBUG (Configuration.java:830) - show_sql=true
2005-01-12 12:31:00,828 DEBUG (Configuration.java:830) - use_outer_join=true
2005-01-12 12:31:00,843 DEBUG (Configuration.java:830) - hibernate.c3p0.minPoolSize=1
2005-01-12 12:31:00,843 DEBUG (Configuration.java:830) - hibernate.c3p0.maxPoolSize=10
2005-01-12 12:31:00,843 DEBUG (Configuration.java:830) - hibernate.c3p0.timeout=30000
2005-01-12 12:31:00,843 DEBUG (Configuration.java:830) - hibernate.c3p0.max_statement=10
2005-01-12 12:31:00,843 DEBUG (Configuration.java:830) - hibernate.c3p0.validate=true
2005-01-12 12:31:00,843 DEBUG (Configuration.java:989) - null<-org.dom4j.tree.DefaultAttribute@1dd3812 [Attribute: name resource value "RoomData.hbm.xml"]
2005-01-12 12:31:00,843 INFO (Configuration.java:328) - Mapping resource: RoomData.hbm.xml
2005-01-12 12:31:00,843 DEBUG (DTDEntityResolver.java:20) - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
2005-01-12 12:31:00,843 DEBUG (DTDEntityResolver.java:29) - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
2005-01-12 12:31:00,953 INFO (Binder.java:229) - Mapping class: com.coldwellbanker.rets.genclasses.RoomData -> ROOM_DIM
2005-01-12 12:31:01,015 DEBUG (Binder.java:475) - Mapped property: id -> ROD_ROOM_DIM, type: long
2005-01-12 12:31:01,031 DEBUG (Binder.java:475) - Mapped property: parent -> PRO_PROPERTY_ID, type: com.coldwellbanker.rets.genclasses.ResidentialProperty
2005-01-12 12:31:01,031 DEBUG (Binder.java:475) - Mapped property: length -> ROD_LENGTH, type: string
2005-01-12 12:31:01,031 DEBUG (Binder.java:475) - Mapped property: roomtype -> ROD_ROOM_NAME, type: string
2005-01-12 12:31:01,031 DEBUG (Binder.java:475) - Mapped property: width -> ROD_WIDTH, type: string
2005-01-12 12:31:01,031 DEBUG (Configuration.java:989) - null<-org.dom4j.tree.DefaultAttribute@11ca803 [Attribute: name resource value "RETS.hbm.xml"]
2005-01-12 12:31:01,031 INFO (Configuration.java:328) - Mapping resource: RETS.hbm.xml
2005-01-12 12:31:01,031 DEBUG (DTDEntityResolver.java:20) - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
2005-01-12 12:31:01,031 DEBUG (DTDEntityResolver.java:29) - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
2005-01-12 12:31:01,062 INFO (Binder.java:229) - Mapping class: com.coldwellbanker.rets.genclasses.RETS -> RETS_IMPORT
2005-01-12 12:31:01,062 DEBUG (Binder.java:475) - Mapped property: id -> id, type: long
2005-01-12 12:31:01,078 DEBUG (Binder.java:475) - Mapped property: REData, type: [Lcom.coldwellbanker.rets.genclasses.REData;
2005-01-12 12:31:01,078 DEBUG (Binder.java:475) - Mapped property: filename -> filename, type: string
2005-01-12 12:31:01,078 DEBUG (Binder.java:475) - Mapped property: timestamp -> timestamp, type: timestamp
2005-01-12 12:31:01,078 DEBUG (Configuration.java:989) - null<-org.dom4j.tree.DefaultAttribute@79e304 [Attribute: name resource value "REData.hbm.xml"]
2005-01-12 12:31:01,078 INFO (Configuration.java:328) - Mapping resource: REData.hbm.xml
2005-01-12 12:31:01,078 DEBUG (DTDEntityResolver.java:20) - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
2005-01-12 12:31:01,078 DEBUG (DTDEntityResolver.java:29) - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
2005-01-12 12:31:01,109 INFO (Binder.java:229) - Mapping class: com.coldwellbanker.rets.genclasses.REData -> RETS_DATA
2005-01-12 12:31:01,109 DEBUG (Binder.java:475) - Mapped property: id -> id, type: long
2005-01-12 12:31:01,109 DEBUG (Binder.java:475) - Mapped property: REProperties -> reproperty_id, type: com.coldwellbanker.rets.genclasses.REProperties
2005-01-12 12:31:01,109 DEBUG (Configuration.java:989) - null<-org.dom4j.tree.DefaultAttribute@1e2ca7 [Attribute: name resource value "REProperties.hbm.xml"]
2005-01-12 12:31:01,109 INFO (Configuration.java:328) - Mapping resource: REProperties.hbm.xml
2005-01-12 12:31:01,109 DEBUG (DTDEntityResolver.java:20) - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
2005-01-12 12:31:01,125 DEBUG (DTDEntityResolver.java:29) - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
2005-01-12 12:31:01,140 INFO (Binder.java:229) - Mapping class: com.coldwellbanker.rets.genclasses.REProperties -> RETS_PROPERTIES
2005-01-12 12:31:01,140 DEBUG (Binder.java:475) - Mapped property: id -> id, type: long
2005-01-12 12:31:01,140 DEBUG (Binder.java:475) - Mapped property: copyrightNotice -> copyright, type: string
2005-01-12 12:31:01,140 DEBUG (Binder.java:475) - Mapped property: disclaimer -> disclaimer, type: string
2005-01-12 12:31:01,156 DEBUG (Binder.java:475) - Mapped property: residentialProperty, type: [Lcom.coldwellbanker.rets.genclasses.ResidentialProperty;
2005-01-12 12:31:01,156 DEBUG (Configuration.java:989) - null<-org.dom4j.tree.DefaultAttribute@4f459c [Attribute: name resource value "ResidentialProperty.hbm.xml"]
2005-01-12 12:31:01,156 INFO (Configuration.java:328) - Mapping resource: ResidentialProperty.hbm.xml
2005-01-12 12:31:01,187 DEBUG (DTDEntityResolver.java:20) - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
2005-01-12 12:31:01,187 DEBUG (DTDEntityResolver.java:29) - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
2005-01-12 12:31:01,203 INFO (Binder.java:229) - Mapping class: com.coldwellbanker.rets.genclasses.ResidentialProperty -> Property
2005-01-12 12:31:01,203 DEBUG (Binder.java:475) - Mapped property: id -> pro_property_id, type: long
2005-01-12 12:31:01,203 DEBUG (Binder.java:475) - Mapped property: theRooms, type: java.util.Set
2005-01-12 12:31:01,218 DEBUG (Configuration.java:989) - null<-org.dom4j.tree.DefaultAttribute@1e57e8f [Attribute: name resource value "Feature.hbm.xml"]
2005-01-12 12:31:01,218 INFO (Configuration.java:328) - Mapping resource: Feature.hbm.xml
2005-01-12 12:31:01,218 DEBUG (DTDEntityResolver.java:20) - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
2005-01-12 12:31:01,218 DEBUG (DTDEntityResolver.java:29) - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
2005-01-12 12:31:01,250 INFO (Binder.java:229) - Mapping class: com.coldwellbanker.data.Feature -> FEATURE
2005-01-12 12:31:01,250 DEBUG (Binder.java:475) - Mapped property: id -> FEA_FEATURE_ID, type: long
2005-01-12 12:31:01,250 DEBUG (Binder.java:475) - Mapped property: name -> FEA_FEATURE_NAME, type: string
2005-01-12 12:31:01,250 DEBUG (Binder.java:475) - Mapped property: groupId -> PFG_FEATURE_GROUP_ID, type: long
2005-01-12 12:31:01,250 DEBUG (Binder.java:475) - Mapped property: sequenceNo -> FEA_SEQUENCE_NO, type: integer
2005-01-12 12:31:01,250 DEBUG (Configuration.java:989) - null<-org.dom4j.tree.DefaultAttribute@32784a [Attribute: name resource value "FeatureGroup.hbm.xml"]
2005-01-12 12:31:01,250 INFO (Configuration.java:328) - Mapping resource: FeatureGroup.hbm.xml
2005-01-12 12:31:01,265 DEBUG (DTDEntityResolver.java:20) - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
2005-01-12 12:31:01,265 DEBUG (DTDEntityResolver.java:29) - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
2005-01-12 12:31:01,296 INFO (Binder.java:229) - Mapping class: com.coldwellbanker.data.FeatureGroup -> FEATURE_GROUP
2005-01-12 12:31:01,296 DEBUG (Binder.java:475) - Mapped property: id -> PFG_FEATURE_GROUP_ID, type: long
2005-01-12 12:31:01,296 DEBUG (Binder.java:475) - Mapped property: name -> PFG_FEATURE_GROUP_NAME, type: string
2005-01-12 12:31:01,296 DEBUG (Binder.java:475) - Mapped property: category -> PFG_FEATURE_CATEGORY, type: string
2005-01-12 12:31:01,296 DEBUG (Configuration.java:989) - null<-org.dom4j.tree.DefaultAttribute@95cfbe [Attribute: name resource value "PropertyFeature.hbm.xml"]
2005-01-12 12:31:01,296 INFO (Configuration.java:328) - Mapping resource: PropertyFeature.hbm.xml
2005-01-12 12:31:01,296 DEBUG (DTDEntityResolver.java:20) - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
2005-01-12 12:31:01,296 DEBUG (DTDEntityResolver.java:29) - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
2005-01-12 12:31:01,312 INFO (Binder.java:229) - Mapping class: com.coldwellbanker.data.PropertyFeature -> PROPERTY_FEATURE
2005-01-12 12:31:01,312 DEBUG (Binder.java:475) - Mapped property: id -> PFC_PROPERTY_FEATURE_ID, type: long
2005-01-12 12:31:01,312 DEBUG (Binder.java:475) - Mapped property: propertyId -> PRO_PROPERTY_ID, type: long
2005-01-12 12:31:01,312 DEBUG (Binder.java:475) - Mapped property: feature -> FEA_FEATURE_ID, type: com.coldwellbanker.data.Feature
2005-01-12 12:31:01,312 INFO (Configuration.java:1030) - Configured SessionFactory: null
2005-01-12 12:31:01,312 DEBUG (Configuration.java:1031) - properties: {hibernate.connection.password=prod, java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, sun.boot.library.path=C:\j2sdk1.4.2_06\jre\bin, java.vm.version=1.4.2_06-b03, hibernate.connection.username=prod, hibernate.c3p0.max_statement=10, java.vm.vendor=Sun Microsystems Inc., java.vendor.url=http://java.sun.com/, path.separator=;, java.vm.name=Java HotSpot(TM) Client VM, file.encoding.pkg=sun.io, use_outer_join=true, user.country=US, sun.os.patch.level=Service Pack 2, java.vm.specification.name=Java Virtual Machine Specification, user.dir=C:\work\cb_rets, java.runtime.version=1.4.2_06-b03, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, hibernate.c3p0.validate=true, java.endorsed.dirs=C:\j2sdk1.4.2_06\jre\lib\endorsed, os.arch=x86, java.io.tmpdir=C:\DOCUME~1\rmangi\LOCALS~1\Temp\, line.separator=
, java.vm.specification.vendor=Sun Microsystems Inc., user.variant=, os.name=Windows XP, sun.java2d.fontpath=, hibernate.c3p0.minPoolSize=1, hibernate.c3p0.timeout=30000, java.library.path=C:\j2sdk1.4.2_06\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Perl\bin\;C:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA~1\GNU\WINCVS~1.3\CVSNT;C:\Perl\bin\;C:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA~1\GNU\WINCVS~1.3\CVSNT;C:\bin\apache-ant-1.6.2\bin;C:\Program Files\Apache Software Foundation\Maven 1.0.2\bin, java.specification.name=Java Platform API Specification, java.class.version=48.0, java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactory, os.version=5.1, user.home=C:\Documents and Settings\rmangi, user.timezone=GMT-05:00, java.awt.printerjob=sun.awt.windows.WPrinterJob, file.encoding=Cp1252, java.specification.version=1.4, hibernate.connection.driver_class=oracle.jdbc.driver.OracleDriver, show_sql=true, user.name=rmangi, java.class.path=C:\work\cb_rets\bin;C:\work\cb_rets\lib\castor-0.9.5.3.jar;C:\work\cb_rets\lib\castor-0.9.5.3-xml.jar;C:\work\cb_rets\lib\log4j-1.2.8.jar;C:\work\cb_rets\lib\commons-logging-1.0.3.jar;C:\work\cb_rets\lib\xercesImpl.jar;C:\work\cb_rets\lib\xml-apis.jar;C:\work\cb_rets\lib\dom4j-1.4.jar;C:\work\cb_rets\lib\hibernate-tools.jar;C:\work\cb_rets\lib\ojdbc14.jar;C:\work\cb_rets\lib\commons-lang-1.0.1.jar;C:\work\cb_rets\lib\commons-collections-2.1.jar;C:\work\cb_rets\lib\cglib-full-2.0.1.jar;C:\work\cb_rets\lib\ehcache-0.7.jar;C:\work\cb_rets\lib\jta.jar;C:\work\cb_rets\lib\hibernate2.jar;C:\work\cb_rets\lib\odmg-3.0.jar, hibernate.show_sql=true, java.vm.specification.version=1.0, java.home=C:\j2sdk1.4.2_06\jre, sun.arch.data.model=32, hibernate.dialect=net.sf.hibernate.dialect.Oracle9Dialect, hibernate.connection.url=jdbc:oracle:thin:@192.168.1.61:1521:MUSTANG, user.language=en, java.specification.vendor=Sun Microsystems Inc., awt.toolkit=sun.awt.windows.WToolkit, hibernate.cglib.use_reflection_optimizer=true, java.vm.info=mixed mode, java.version=1.4.2_06, java.ext.dirs=C:\j2sdk1.4.2_06\jre\lib\ext, sun.boot.class.path=C:\j2sdk1.4.2_06\jre\lib\rt.jar;C:\j2sdk1.4.2_06\jre\lib\i18n.jar;C:\j2sdk1.4.2_06\jre\lib\sunrsasign.jar;C:\j2sdk1.4.2_06\jre\lib\jsse.jar;C:\j2sdk1.4.2_06\jre\lib\jce.jar;C:\j2sdk1.4.2_06\jre\lib\charsets.jar;C:\j2sdk1.4.2_06\jre\classes, java.vendor=Sun Microsystems Inc., file.separator=\, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, sun.io.unicode.encoding=UnicodeLittle, sun.cpu.endian=little, hibernate.use_outer_join=true, hibernate.c3p0.maxPoolSize=10, dialect=net.sf.hibernate.dialect.Oracle9Dialect, sun.cpu.isalist=pentium i486 i386}
2005-01-12 12:31:01,312 INFO (Configuration.java:613) - processing one-to-many association mappings
2005-01-12 12:31:01,312 DEBUG (Binder.java:1340) - Second pass for collection: com.coldwellbanker.rets.genclasses.RETS.REData
2005-01-12 12:31:01,312 INFO (Binder.java:1168) - Mapping collection: com.coldwellbanker.rets.genclasses.RETS.REData -> RETS_DATA
2005-01-12 12:31:01,312 DEBUG (Binder.java:1355) - Mapped collection key: parent_id, index: idx, one-to-many: com.coldwellbanker.rets.genclasses.REData
2005-01-12 12:31:01,312 DEBUG (Binder.java:1340) - Second pass for collection: com.coldwellbanker.rets.genclasses.REProperties.residentialProperty
2005-01-12 12:31:01,312 INFO (Binder.java:1168) - Mapping collection: com.coldwellbanker.rets.genclasses.REProperties.residentialProperty -> Property
2005-01-12 12:31:01,312 DEBUG (Binder.java:1355) - Mapped collection key: RETS_PARENT_ID, index: rets_idx, one-to-many: com.coldwellbanker.rets.genclasses.ResidentialProperty
2005-01-12 12:31:01,312 DEBUG (Binder.java:1340) - Second pass for collection: com.coldwellbanker.rets.genclasses.ResidentialProperty.theRooms
2005-01-12 12:31:01,312 INFO (Binder.java:1168) - Mapping collection: com.coldwellbanker.rets.genclasses.ResidentialProperty.theRooms -> ROOM_DIM
2005-01-12 12:31:01,328 DEBUG (Binder.java:1355) - Mapped collection key: PRO_PROPERTY_ID, one-to-many: com.coldwellbanker.rets.genclasses.RoomData
2005-01-12 12:31:01,328 INFO (Configuration.java:622) - processing one-to-one association property references
2005-01-12 12:31:01,328 INFO (Configuration.java:647) - processing foreign key constraints
2005-01-12 12:31:01,328 DEBUG (Configuration.java:657) - resolving reference to class: com.coldwellbanker.rets.genclasses.REProperties
2005-01-12 12:31:01,328 DEBUG (Configuration.java:657) - resolving reference to class: com.coldwellbanker.data.Feature
2005-01-12 12:31:01,328 DEBUG (Configuration.java:657) - resolving reference to class: com.coldwellbanker.rets.genclasses.REProperties
2005-01-12 12:31:01,328 DEBUG (Configuration.java:657) - resolving reference to class: com.coldwellbanker.rets.genclasses.RETS
2005-01-12 12:31:01,328 DEBUG (Configuration.java:657) - resolving reference to class: com.coldwellbanker.rets.genclasses.ResidentialProperty
2005-01-12 12:31:01,343 INFO (Dialect.java:82) - Using dialect: net.sf.hibernate.dialect.Oracle9Dialect
2005-01-12 12:31:01,343 INFO (SettingsFactory.java:62) - Use outer join fetching: true
2005-01-12 12:31:01,343 INFO (DriverManagerConnectionProvider.java:42) - Using Hibernate built-in connection pool (not for production use!)
2005-01-12 12:31:01,343 INFO (DriverManagerConnectionProvider.java:43) - Hibernate connection pool size: 20
2005-01-12 12:31:01,421 INFO (DriverManagerConnectionProvider.java:77) - using driver: oracle.jdbc.driver.OracleDriver at URL: jdbc:oracle:thin:@192.168.1.61:1521:MUSTANG
2005-01-12 12:31:01,421 INFO (DriverManagerConnectionProvider.java:78) - connection properties: {user=prod, password=prod}
2005-01-12 12:31:01,421 INFO (TransactionManagerLookupFactory.java:65) - No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended)
2005-01-12 12:31:01,437 DEBUG (DriverManagerConnectionProvider.java:84) - total checked-out connections: 0
2005-01-12 12:31:01,437 DEBUG (DriverManagerConnectionProvider.java:100) - opening new JDBC connection
2005-01-12 12:31:01,875 DEBUG (DriverManagerConnectionProvider.java:106) - created connection to: jdbc:oracle:thin:@192.168.1.61:1521:MUSTANG, Isolation Level: 2
2005-01-12 12:31:01,890 DEBUG (DriverManagerConnectionProvider.java:120) - returning connection to pool, pool size: 1
2005-01-12 12:31:01,890 INFO (SettingsFactory.java:102) - Use scrollable result sets: true
2005-01-12 12:31:01,890 INFO (SettingsFactory.java:105) - Use JDBC3 getGeneratedKeys(): false
2005-01-12 12:31:01,890 INFO (SettingsFactory.java:108) - Optimize cache for minimal puts: false
2005-01-12 12:31:01,890 INFO (SettingsFactory.java:114) - echoing all SQL to stdout
2005-01-12 12:31:01,890 INFO (SettingsFactory.java:117) - Query language substitutions: {}
2005-01-12 12:31:01,890 INFO (SettingsFactory.java:128) - cache provider: net.sf.ehcache.hibernate.Provider
2005-01-12 12:31:01,890 INFO (Configuration.java:1093) - instantiating and configuring caches
2005-01-12 12:31:02,000 INFO (SessionFactoryImpl.java:119) - building session factory
2005-01-12 12:31:02,000 DEBUG (SessionFactoryImpl.java:125) - instantiating session factory with properties: {hibernate.connection.password=prod, java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, sun.boot.library.path=C:\j2sdk1.4.2_06\jre\bin, java.vm.version=1.4.2_06-b03, hibernate.connection.username=prod, hibernate.c3p0.max_statement=10, java.vm.vendor=Sun Microsystems Inc., java.vendor.url=http://java.sun.com/, path.separator=;, java.vm.name=Java HotSpot(TM) Client VM, file.encoding.pkg=sun.io, use_outer_join=true, user.country=US, sun.os.patch.level=Service Pack 2, java.vm.specification.name=Java Virtual Machine Specification, user.dir=C:\work\cb_rets, java.runtime.version=1.4.2_06-b03, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, hibernate.c3p0.validate=true, java.endorsed.dirs=C:\j2sdk1.4.2_06\jre\lib\endorsed, os.arch=x86, java.io.tmpdir=C:\DOCUME~1\rmangi\LOCALS~1\Temp\, line.separator=
, java.vm.specification.vendor=Sun Microsystems Inc., user.variant=, os.name=Windows XP, sun.java2d.fontpath=, hibernate.c3p0.minPoolSize=1, hibernate.c3p0.timeout=30000, java.library.path=C:\j2sdk1.4.2_06\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Perl\bin\;C:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA~1\GNU\WINCVS~1.3\CVSNT;C:\Perl\bin\;C:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA~1\GNU\WINCVS~1.3\CVSNT;C:\bin\apache-ant-1.6.2\bin;C:\Program Files\Apache Software Foundation\Maven 1.0.2\bin, java.specification.name=Java Platform API Specification, java.class.version=48.0, java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactory, os.version=5.1, user.home=C:\Documents and Settings\rmangi, user.timezone=GMT-05:00, java.awt.printerjob=sun.awt.windows.WPrinterJob, file.encoding=Cp1252, java.specification.version=1.4, hibernate.connection.driver_class=oracle.jdbc.driver.OracleDriver, show_sql=true, user.name=rmangi, java.class.path=C:\work\cb_rets\bin;C:\work\cb_rets\lib\castor-0.9.5.3.jar;C:\work\cb_rets\lib\castor-0.9.5.3-xml.jar;C:\work\cb_rets\lib\log4j-1.2.8.jar;C:\work\cb_rets\lib\commons-logging-1.0.3.jar;C:\work\cb_rets\lib\xercesImpl.jar;C:\work\cb_rets\lib\xml-apis.jar;C:\work\cb_rets\lib\dom4j-1.4.jar;C:\work\cb_rets\lib\hibernate-tools.jar;C:\work\cb_rets\lib\ojdbc14.jar;C:\work\cb_rets\lib\commons-lang-1.0.1.jar;C:\work\cb_rets\lib\commons-collections-2.1.jar;C:\work\cb_rets\lib\cglib-full-2.0.1.jar;C:\work\cb_rets\lib\ehcache-0.7.jar;C:\work\cb_rets\lib\jta.jar;C:\work\cb_rets\lib\hibernate2.jar;C:\work\cb_rets\lib\odmg-3.0.jar, hibernate.show_sql=true, java.vm.specification.version=1.0, java.home=C:\j2sdk1.4.2_06\jre, sun.arch.data.model=32, hibernate.dialect=net.sf.hibernate.dialect.Oracle9Dialect, hibernate.connection.url=jdbc:oracle:thin:@192.168.1.61:1521:MUSTANG, user.language=en, java.specification.vendor=Sun Microsystems Inc., awt.toolkit=sun.awt.windows.WToolkit, hibernate.cglib.use_reflection_optimizer=true, java.vm.info=mixed mode, java.version=1.4.2_06, java.ext.dirs=C:\j2sdk1.4.2_06\jre\lib\ext, sun.boot.class.path=C:\j2sdk1.4.2_06\jre\lib\rt.jar;C:\j2sdk1.4.2_06\jre\lib\i18n.jar;C:\j2sdk1.4.2_06\jre\lib\sunrsasign.jar;C:\j2sdk1.4.2_06\jre\lib\jsse.jar;C:\j2sdk1.4.2_06\jre\lib\jce.jar;C:\j2sdk1.4.2_06\jre\lib\charsets.jar;C:\j2sdk1.4.2_06\jre\classes, java.vendor=Sun Microsystems Inc., file.separator=\, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, sun.io.unicode.encoding=UnicodeLittle, sun.cpu.endian=little, hibernate.use_outer_join=true, hibernate.c3p0.maxPoolSize=10, dialect=net.sf.hibernate.dialect.Oracle9Dialect, sun.cpu.isalist=pentium i486 i386}
Parentid:null
-->getTheRooms()
My id: null
2005-01-12 12:31:02,218 INFO (ReflectHelper.java:176) - reflection optimizer disabled for: com.coldwellbanker.rets.genclasses.ResidentialProperty, NullPointerException: null
2005-01-12 12:31:02,437 DEBUG (SessionFactoryObjectFactory.java:39) - initializing class SessionFactoryObjectFactory
2005-01-12 12:31:02,437 DEBUG (SessionFactoryObjectFactory.java:76) - registered: 402881fa0167fa73010167fa75950000 (unnamed)
2005-01-12 12:31:02,437 INFO (SessionFactoryObjectFactory.java:82) - no JNDI name configured
2005-01-12 12:31:02,437 DEBUG (SessionFactoryImpl.java:196) - instantiated session factory
2005-01-12 12:31:02,484 DEBUG (SessionImpl.java:542) - opened session
2005-01-12 12:31:02,484 DEBUG (JDBCTransaction.java:37) - begin
2005-01-12 12:31:02,484 DEBUG (DriverManagerConnectionProvider.java:84) - total checked-out connections: 0
2005-01-12 12:31:02,484 DEBUG (DriverManagerConnectionProvider.java:90) - using pooled JDBC connection, pool size: 0
2005-01-12 12:31:02,484 DEBUG (JDBCTransaction.java:41) - current autocommit status:false
2005-01-12 12:31:02,484 DEBUG (SessionImpl.java:1379) - saveOrUpdate() unsaved instance
2005-01-12 12:31:02,484 DEBUG (BatcherImpl.java:196) - about to open: 0 open PreparedStatements, 0 open ResultSets
2005-01-12 12:31:02,484 DEBUG (BatcherImpl.java:237) - select hibernate_sequence.nextval from dual
Hibernate: select hibernate_sequence.nextval from dual
2005-01-12 12:31:02,484 DEBUG (BatcherImpl.java:241) - preparing statement
2005-01-12 12:31:02,593 DEBUG (SequenceGenerator.java:80) - Sequence identifier generated: 5000510
2005-01-12 12:31:02,593 DEBUG (BatcherImpl.java:203) - done closing: 0 open PreparedStatements, 0 open ResultSets
2005-01-12 12:31:02,593 DEBUG (BatcherImpl.java:261) - closing statement
2005-01-12 12:31:02,593 DEBUG (SessionImpl.java:771) - generated identifier: 5000510
2005-01-12 12:31:02,593 DEBUG (SessionImpl.java:818) - saving [com.coldwellbanker.rets.genclasses.RETS#5000510]
2005-01-12 12:31:02,593 DEBUG (Cascades.java:497) - processing cascades for: com.coldwellbanker.rets.genclasses.RETS
2005-01-12 12:31:02,593 DEBUG (Cascades.java:506) - done processing cascades for: com.coldwellbanker.rets.genclasses.RETS
2005-01-12 12:31:02,609 DEBUG (Cascades.java:497) - processing cascades for: com.coldwellbanker.rets.genclasses.RETS
2005-01-12 12:31:02,609 DEBUG (Cascades.java:524) - cascading to collection: com.coldwellbanker.rets.genclasses.RETS.REData
2005-01-12 12:31:02,609 DEBUG (Cascades.java:113) - cascading to saveOrUpdate()
2005-01-12 12:31:02,609 DEBUG (SessionImpl.java:1379) - saveOrUpdate() unsaved instance
2005-01-12 12:31:02,609 DEBUG (BatcherImpl.java:196) - about to open: 0 open PreparedStatements, 0 open ResultSets
2005-01-12 12:31:02,609 DEBUG (BatcherImpl.java:237) - select hibernate_sequence.nextval from dual
Hibernate: select hibernate_sequence.nextval from dual
2005-01-12 12:31:02,609 DEBUG (BatcherImpl.java:241) - preparing statement
2005-01-12 12:31:02,609 DEBUG (SequenceGenerator.java:80) - Sequence identifier generated: 5000511
2005-01-12 12:31:02,609 DEBUG (BatcherImpl.java:203) - done closing: 0 open PreparedStatements, 0 open ResultSets
2005-01-12 12:31:02,609 DEBUG (BatcherImpl.java:261) - closing statement
2005-01-12 12:31:02,609 DEBUG (SessionImpl.java:771) - generated identifier: 5000511
2005-01-12 12:31:02,609 DEBUG (SessionImpl.java:818) - saving [com.coldwellbanker.rets.genclasses.REData#5000511]
2005-01-12 12:31:02,609 DEBUG (Cascades.java:497) - processing cascades for: com.coldwellbanker.rets.genclasses.REData
2005-01-12 12:31:02,609 DEBUG (Cascades.java:113) - cascading to saveOrUpdate()
2005-01-12 12:31:02,609 DEBUG (SessionImpl.java:1379) - saveOrUpdate() unsaved instance
2005-01-12 12:31:02,625 DEBUG (BatcherImpl.java:196) - about to open: 0 open PreparedStatements, 0 open ResultSets
2005-01-12 12:31:02,625 DEBUG (BatcherImpl.java:237) - select hibernate_sequence.nextval from dual
Hibernate: select hibernate_sequence.nextval from dual
2005-01-12 12:31:02,625 DEBUG (BatcherImpl.java:241) - preparing statement
2005-01-12 12:31:02,625 DEBUG (SequenceGenerator.java:80) - Sequence identifier generated: 5000512
2005-01-12 12:31:02,625 DEBUG (BatcherImpl.java:203) - done closing: 0 open PreparedStatements, 0 open ResultSets
2005-01-12 12:31:02,625 DEBUG (BatcherImpl.java:261) - closing statement
2005-01-12 12:31:02,625 DEBUG (SessionImpl.java:771) - generated identifier: 5000512
2005-01-12 12:31:02,625 DEBUG (SessionImpl.java:818) - saving [com.coldwellbanker.rets.genclasses.REProperties#5000512]
2005-01-12 12:31:02,625 DEBUG (Cascades.java:497) - processing cascades for: com.coldwellbanker.rets.genclasses.REProperties
2005-01-12 12:31:02,625 DEBUG (Cascades.java:506) - done processing cascades for: com.coldwellbanker.rets.genclasses.REProperties
2005-01-12 12:31:02,625 DEBUG (Cascades.java:497) - processing cascades for: com.coldwellbanker.rets.genclasses.REProperties
2005-01-12 12:31:02,625 DEBUG (Cascades.java:524) - cascading to collection: com.coldwellbanker.rets.genclasses.REProperties.residentialProperty
2005-01-12 12:31:02,625 DEBUG (Cascades.java:113) - cascading to saveOrUpdate()
2005-01-12 12:31:02,625 DEBUG (SessionImpl.java:1379) - saveOrUpdate() unsaved instance
2005-01-12 12:31:02,625 DEBUG (BatcherImpl.java:196) - about to open: 0 open PreparedStatements, 0 open ResultSets
2005-01-12 12:31:02,625 DEBUG (BatcherImpl.java:237) - select SEQ_PROPERTY.nextval from dual
Hibernate: select SEQ_PROPERTY.nextval from dual
2005-01-12 12:31:02,625 DEBUG (BatcherImpl.java:241) - preparing statement
2005-01-12 12:31:02,640 DEBUG (SequenceGenerator.java:80) - Sequence identifier generated: 114
2005-01-12 12:31:02,640 DEBUG (BatcherImpl.java:203) - done closing: 0 open PreparedStatements, 0 open ResultSets
2005-01-12 12:31:02,640 DEBUG (BatcherImpl.java:261) - closing statement
2005-01-12 12:31:02,640 DEBUG (SessionImpl.java:771) - generated identifier: 114
2005-01-12 12:31:02,640 DEBUG (SessionImpl.java:818) - saving [com.coldwellbanker.rets.genclasses.ResidentialProperty#114]
2005-01-12 12:31:02,640 DEBUG (Cascades.java:497) - processing cascades for: com.coldwellbanker.rets.genclasses.ResidentialProperty
-->getTheRooms()
My id: 114
Getting rooms:4
RoomData:0 --
Class: com.coldwellbanker.rets.genclasses.RoomData --
========================
ClassName: com.coldwellbanker.rets.genclasses.RoomData
--- Property: roomtype is type: java.lang.String and value: Family Room
--- Property: width is type: java.lang.String and value: 20.0
--- Property: id is type: java.lang.Long and value: null
--- Property: parent is type: java.lang.Long and value: null
--- Property: length is type: java.lang.String and value: 10.0
========================
RoomData:1 --
Class: com.coldwellbanker.rets.genclasses.RoomData --
========================
ClassName: com.coldwellbanker.rets.genclasses.RoomData
--- Property: roomtype is type: java.lang.String and value: Basement
--- Property: width is type: java.lang.String and value: 30.0
--- Property: id is type: java.lang.Long and value: null
--- Property: parent is type: java.lang.Long and value: null
--- Property: length is type: java.lang.String and value: 40.0
========================
RoomData:2 --
Class: com.coldwellbanker.rets.genclasses.RoomData --
========================
ClassName: com.coldwellbanker.rets.genclasses.RoomData
--- Property: roomtype is type: java.lang.String and value: Living Room
--- Property: width is type: java.lang.String and value: 10.0
--- Property: id is type: java.lang.Long and value: null
--- Property: parent is type: java.lang.Long and value: null
--- Property: length is type: java.lang.String and value: 14.0
========================
RoomData:3 --
Class: com.coldwellbanker.rets.genclasses.RoomData --
========================
ClassName: com.coldwellbanker.rets.genclasses.RoomData
--- Property: roomtype is type: java.lang.String and value: Dining Room
--- Property: width is type: java.lang.String and value: 11.0
--- Property: id is type: java.lang.Long and value: null
--- Property: parent is type: java.lang.Long and value: null
--- Property: length is type: java.lang.String and value: 10.0
========================
2005-01-12 12:31:02,656 DEBUG (Cascades.java:506) - done processing cascades for: com.coldwellbanker.rets.genclasses.ResidentialProperty
-->getTheRooms()
My id: 114
Getting rooms:4
RoomData:0 --
Class: com.coldwellbanker.rets.genclasses.RoomData --
========================
ClassName: com.coldwellbanker.rets.genclasses.RoomData
--- Property: roomtype is type: java.lang.String and value: Family Room
--- Property: width is type: java.lang.String and value: 20.0
--- Property: id is type: java.lang.Long and value: null
--- Property: parent is type: java.lang.Long and value: null
--- Property: length is type: java.lang.String and value: 10.0
========================
RoomData:1 --
Class: com.coldwellbanker.rets.genclasses.RoomData --
========================
ClassName: com.coldwellbanker.rets.genclasses.RoomData
--- Property: roomtype is type: java.lang.String and value: Living Room
--- Property: width is type: java.lang.String and value: 10.0
--- Property: id is type: java.lang.Long and value: null
--- Property: parent is type: java.lang.Long and value: null
--- Property: length is type: java.lang.String and value: 14.0
========================
RoomData:2 --
Class: com.coldwellbanker.rets.genclasses.RoomData --
========================
ClassName: com.coldwellbanker.rets.genclasses.RoomData
--- Property: roomtype is type: java.lang.String and value: Basement
--- Property: width is type: java.lang.String and value: 30.0
--- Property: id is type: java.lang.Long and value: null
--- Property: parent is type: java.lang.Long and value: null
--- Property: length is type: java.lang.String and value: 40.0
========================
RoomData:3 --
Class: com.coldwellbanker.rets.genclasses.RoomData --
========================
ClassName: com.coldwellbanker.rets.genclasses.RoomData
--- Property: roomtype is type: java.lang.String and value: Dining Room
--- Property: width is type: java.lang.String and value: 11.0
--- Property: id is type: java.lang.Long and value: null
--- Property: parent is type: java.lang.Long and value: null
--- Property: length is type: java.lang.String and value: 10.0
========================
2005-01-12 12:31:02,671 DEBUG (WrapVisitor.java:161) - Wrapped collection in role: com.coldwellbanker.rets.genclasses.ResidentialProperty.theRooms
-->setTheRooms() size:4
2005-01-12 12:31:02,687 DEBUG (Cascades.java:497) - processing cascades for: com.coldwellbanker.rets.genclasses.ResidentialProperty
-->getTheRooms()
My id: 114
Getting rooms:4
RoomData:0 --
Class: com.coldwellbanker.rets.genclasses.RoomData --
========================
ClassName: com.coldwellbanker.rets.genclasses.RoomData
--- Property: roomtype is type: java.lang.String and value: Family Room
--- Property: width is type: java.lang.String and value: 20.0
--- Property: id is type: java.lang.Long and value: null
--- Property: parent is type: java.lang.Long and value: null
--- Property: length is type: java.lang.String and value: 10.0
========================
RoomData:1 --
Class: com.coldwellbanker.rets.genclasses.RoomData --
========================
ClassName: com.coldwellbanker.rets.genclasses.RoomData
--- Property: roomtype is type: java.lang.String and value: Basement
--- Property: width is type: java.lang.String and value: 30.0
--- Property: id is type: java.lang.Long and value: null
--- Property: parent is type: java.lang.Long and value: null
--- Property: length is type: java.lang.String and value: 40.0
========================
RoomData:2 --
Class: com.coldwellbanker.rets.genclasses.RoomData --
========================
ClassName: com.coldwellbanker.rets.genclasses.RoomData
--- Property: roomtype is type: java.lang.String and value: Dining Room
--- Property: width is type: java.lang.String and value: 11.0
--- Property: id is type: java.lang.Long and value: null
--- Property: parent is type: java.lang.Long and value: null
--- Property: length is type: java.lang.String and value: 10.0
========================
RoomData:3 --
Class: com.coldwellbanker.rets.genclasses.RoomData --
========================
ClassName: com.coldwellbanker.rets.genclasses.RoomData
--- Property: roomtype is type: java.lang.String and value: Living Room
--- Property: width is type: java.lang.String and value: 10.0
--- Property: id is type: java.lang.Long and value: null
--- Property: parent is type: java.lang.Long and value: null
--- Property: length is type: java.lang.String and value: 14.0
========================
2005-01-12 12:31:02,703 DEBUG (Cascades.java:524) - cascading to collection: com.coldwellbanker.rets.genclasses.ResidentialProperty.theRooms
2005-01-12 12:31:02,703 DEBUG (Cascades.java:113) - cascading to saveOrUpdate()
2005-01-12 12:31:02,703 DEBUG (SessionImpl.java:1379) - saveOrUpdate() unsaved instance
2005-01-12 12:31:02,703 DEBUG (BatcherImpl.java:196) - about to open: 0 open PreparedStatements, 0 open ResultSets
2005-01-12 12:31:02,703 DEBUG (BatcherImpl.java:237) - select SEQ_ROOM_DIM.nextval from dual
Hibernate: select SEQ_ROOM_DIM.nextval from dual
2005-01-12 12:31:02,703 DEBUG (BatcherImpl.java:241) - preparing statement
2005-01-12 12:31:02,703 DEBUG (SequenceGenerator.java:80) - Sequence identifier generated: 22245788
2005-01-12 12:31:02,703 DEBUG (BatcherImpl.java:203) - done closing: 0 open PreparedStatements, 0 open ResultSets
2005-01-12 12:31:02,703 DEBUG (BatcherImpl.java:261) - closing statement
2005-01-12 12:31:02,703 DEBUG (SessionImpl.java:771) - generated identifier: 22245788
2005-01-12 12:31:02,703 DEBUG (SessionImpl.java:818) - saving [com.coldwellbanker.rets.genclasses.RoomData#22245788]
2005-01-12 12:31:02,703 DEBUG (Cascades.java:113) - cascading to saveOrUpdate()
2005-01-12 12:31:02,703 DEBUG (SessionImpl.java:1379) - saveOrUpdate() unsaved instance
2005-01-12 12:31:02,703 DEBUG (BatcherImpl.java:196) - about to open: 0 open PreparedStatements, 0 open ResultSets
2005-01-12 12:31:02,703 DEBUG (BatcherImpl.java:237) - select SEQ_ROOM_DIM.nextval from dual
Hibernate: select SEQ_ROOM_DIM.nextval from dual
2005-01-12 12:31:02,703 DEBUG (BatcherImpl.java:241) - preparing statement
2005-01-12 12:31:02,718 DEBUG (SequenceGenerator.java:80) - Sequence identifier generated: 22245789
2005-01-12 12:31:02,718 DEBUG (BatcherImpl.java:203) - done closing: 0 open PreparedStatements, 0 open ResultSets
2005-01-12 12:31:02,718 DEBUG (BatcherImpl.java:261) - closing statement
2005-01-12 12:31:02,718 DEBUG (SessionImpl.java:771) - generated identifier: 22245789
2005-01-12 12:31:02,718 DEBUG (SessionImpl.java:818) - saving [com.coldwellbanker.rets.genclasses.RoomData#22245789]
2005-01-12 12:31:02,718 DEBUG (Cascades.java:113) - cascading to saveOrUpdate()
2005-01-12 12:31:02,718 DEBUG (SessionImpl.java:1379) - saveOrUpdate() unsaved instance
2005-01-12 12:31:02,718 DEBUG (BatcherImpl.java:196) - about to open: 0 open PreparedStatements, 0 open ResultSets
2005-01-12 12:31:02,718 DEBUG (BatcherImpl.java:237) - select SEQ_ROOM_DIM.nextval from dual
Hibernate: select SEQ_ROOM_DIM.nextval from dual
2005-01-12 12:31:02,718 DEBUG (BatcherImpl.java:241) - preparing statement
2005-01-12 12:31:02,718 DEBUG (SequenceGenerator.java:80) - Sequence identifier generated: 22245790
2005-01-12 12:31:02,718 DEBUG (BatcherImpl.java:203) - done closing: 0 open PreparedStatements, 0 open ResultSets
2005-01-12 12:31:02,718 DEBUG (BatcherImpl.java:261) - closing statement
2005-01-12 12:31:02,718 DEBUG (SessionImpl.java:771) - generated identifier: 22245790
2005-01-12 12:31:02,734 DEBUG (SessionImpl.java:818) - saving [com.coldwellbanker.rets.genclasses.RoomData#22245790]
2005-01-12 12:31:02,734 DEBUG (Cascades.java:113) - cascading to saveOrUpdate()
2005-01-12 12:31:02,734 DEBUG (SessionImpl.java:1379) - saveOrUpdate() unsaved instance
2005-01-12 12:31:02,734 DEBUG (BatcherImpl.java:196) - about to open: 0 open PreparedStatements, 0 open ResultSets
2005-01-12 12:31:02,734 DEBUG (BatcherImpl.java:237) - select SEQ_ROOM_DIM.nextval from dual
Hibernate: select SEQ_ROOM_DIM.nextval from dual
2005-01-12 12:31:02,734 DEBUG (BatcherImpl.java:241) - preparing statement
2005-01-12 12:31:02,734 DEBUG (SequenceGenerator.java:80) - Sequence identifier generated: 22245791
2005-01-12 12:31:02,734 DEBUG (BatcherImpl.java:203) - done closing: 0 open PreparedStatements, 0 open ResultSets
2005-01-12 12:31:02,734 DEBUG (BatcherImpl.java:261) - closing statement
2005-01-12 12:31:02,734 DEBUG (SessionImpl.java:771) - generated identifier: 22245791
2005-01-12 12:31:02,734 DEBUG (SessionImpl.java:818) - saving [com.coldwellbanker.rets.genclasses.RoomData#22245791]
2005-01-12 12:31:02,734 DEBUG (Cascades.java:506) - done processing cascades for: com.coldwellbanker.rets.genclasses.ResidentialProperty
2005-01-12 12:31:02,734 DEBUG (Cascades.java:506) - done processing cascades for: com.coldwellbanker.rets.genclasses.REProperties
2005-01-12 12:31:02,734 DEBUG (Cascades.java:506) - done processing cascades for: com.coldwellbanker.rets.genclasses.REData
2005-01-12 12:31:02,734 DEBUG (Cascades.java:497) - processing cascades for: com.coldwellbanker.rets.genclasses.REData
2005-01-12 12:31:02,734 DEBUG (Cascades.java:506) - done processing cascades for: com.coldwellbanker.rets.genclasses.REData
2005-01-12 12:31:02,734 DEBUG (Cascades.java:506) - done processing cascades for: com.coldwellbanker.rets.genclasses.RETS
2005-01-12 12:31:02,734 DEBUG (SessionImpl.java:2235) - flushing session
2005-01-12 12:31:02,734 DEBUG (Cascades.java:497) - processing cascades for: com.coldwellbanker.rets.genclasses.RETS
2005-01-12 12:31:02,750 DEBUG (Cascades.java:524) - cascading to collection: com.coldwellbanker.rets.genclasses.RETS.REData
2005-01-12 12:31:02,750 DEBUG (Cascades.java:113) - cascading to saveOrUpdate()
2005-01-12 12:31:02,750 DEBUG (SessionImpl.java:1364) - saveOrUpdate() persistent instance
2005-01-12 12:31:02,750 DEBUG (Cascades.java:506) - done processing cascades for: com.coldwellbanker.rets.genclasses.RETS
2005-01-12 12:31:02,750 DEBUG (Cascades.java:497) - processing cascades for: com.coldwellbanker.rets.genclasses.REProperties
2005-01-12 12:31:02,750 DEBUG (Cascades.java:524) - cascading to collection: com.coldwellbanker.rets.genclasses.REProperties.residentialProperty
2005-01-12 12:31:02,750 DEBUG (Cascades.java:113) - cascading to saveOrUpdate()
2005-01-12 12:31:02,750 DEBUG (SessionImpl.java:1364) - saveOrUpdate() persistent instance
2005-01-12 12:31:02,750 DEBUG (Cascades.java:506) - done processing cascades for: com.coldwellbanker.rets.genclasses.REProperties
2005-01-12 12:31:02,750 DEBUG (Cascades.java:497) - processing cascades for: com.coldwellbanker.rets.genclasses.ResidentialProperty
-->getTheRooms()
My id: 114
Getting rooms:4
RoomData:0 --
Class: com.coldwellbanker.rets.genclasses.RoomData --
========================
ClassName: com.coldwellbanker.rets.genclasses.RoomData
--- Property: roomtype is type: java.lang.String and value: Living Room
--- Property: width is type: java.lang.String and value: 10.0
--- Property: id is type: java.lang.Long and value: null
--- Property: parent is type: java.lang.Long and value: null
--- Property: length is type: java.lang.String and value: 14.0
========================
RoomData:1 --
Class: com.coldwellbanker.rets.genclasses.RoomData --
========================
ClassName: com.coldwellbanker.rets.genclasses.RoomData
--- Property: roomtype is type: java.lang.String and value: Family Room
--- Property: width is type: java.lang.String and value: 20.0
--- Property: id is type: java.lang.Long and value: null
--- Property: parent is type: java.lang.Long and value: null
--- Property: length is type: java.lang.String and value: 10.0
========================
RoomData:2 --
Class: com.coldwellbanker.rets.genclasses.RoomData --
========================
ClassName: com.coldwellbanker.rets.genclasses.RoomData
--- Property: roomtype is type: java.lang.String and value: Basement
--- Property: width is type: java.lang.String and value: 30.0
--- Property: id is type: java.lang.Long and value: null
--- Property: parent is type: java.lang.Long and value: null
--- Property: length is type: java.lang.String and value: 40.0
========================
RoomData:3 --
Class: com.coldwellbanker.rets.genclasses.RoomData --
========================
ClassName: com.coldwellbanker.rets.genclasses.RoomData
--- Property: roomtype is type: java.lang.String and value: Dining Room
--- Property: width is type: java.lang.String and value: 11.0
--- Property: id is type: java.lang.Long and value: null
--- Property: parent is type: java.lang.Long and value: null
--- Property: length is type: java.lang.String and value: 10.0
========================
2005-01-12 12:31:02,765 DEBUG (Cascades.java:524) - cascading to collection: com.coldwellbanker.rets.genclasses.ResidentialProperty.theRooms
2005-01-12 12:31:02,765 DEBUG (Cascades.java:113) - cascading to saveOrUpdate()
2005-01-12 12:31:02,765 DEBUG (SessionImpl.java:1379) - saveOrUpdate() unsaved instance
2005-01-12 12:31:02,765 DEBUG (BatcherImpl.java:196) - about to open: 0 open PreparedStatements, 0 open ResultSets
2005-01-12 12:31:02,765 DEBUG (BatcherImpl.java:237) - select SEQ_ROOM_DIM.nextval from dual
Hibernate: select SEQ_ROOM_DIM.nextval from dual
2005-01-12 12:31:02,765 DEBUG (BatcherImpl.java:241) - preparing statement
2005-01-12 12:31:02,765 DEBUG (SequenceGenerator.java:80) - Sequence identifier generated: 22245792
2005-01-12 12:31:02,765 DEBUG (BatcherImpl.java:203) - done closing: 0 open PreparedStatements, 0 open ResultSets
2005-01-12 12:31:02,765 DEBUG (BatcherImpl.java:261) - closing statement
2005-01-12 12:31:02,765 DEBUG (SessionImpl.java:771) - generated identifier: 22245792
2005-01-12 12:31:02,765 DEBUG (SessionImpl.java:818) - saving [com.coldwellbanker.rets.genclasses.RoomData#22245792]
2005-01-12 12:31:02,765 DEBUG (Cascades.java:113) - cascading to saveOrUpdate()
2005-01-12 12:31:02,765 DEBUG (SessionImpl.java:1379) - saveOrUpdate() unsaved instance
2005-01-12 12:31:02,765 DEBUG (BatcherImpl.java:196) - about to open: 0 open PreparedStatements, 0 open ResultSets
2005-01-12 12:31:02,765 DEBUG (BatcherImpl.java:237) - select SEQ_ROOM_DIM.nextval from dual
Hibernate: select SEQ_ROOM_DIM.nextval from dual
2005-01-12 12:31:02,765 DEBUG (BatcherImpl.java:241) - preparing statement
2005-01-12 12:31:02,781 DEBUG (SequenceGenerator.java:80) - Sequence identifier generated: 22245793
2005-01-12 12:31:02,781 DEBUG (BatcherImpl.java:203) - done closing: 0 open PreparedStatements, 0 open ResultSets
2005-01-12 12:31:02,781 DEBUG (BatcherImpl.java:261) - closing statement
2005-01-12 12:31:02,781 DEBUG (SessionImpl.java:771) - generated identifier: 22245793
2005-01-12 12:31:02,781 DEBUG (SessionImpl.java:818) - saving [com.coldwellbanker.rets.genclasses.RoomData#22245793]
2005-01-12 12:31:02,781 DEBUG (Cascades.java:113) - cascading to saveOrUpdate()
2005-01-12 12:31:02,781 DEBUG (SessionImpl.java:1379) - saveOrUpdate() unsaved instance
2005-01-12 12:31:02,781 DEBUG (BatcherImpl.java:196) - about to open: 0 open PreparedStatements, 0 open ResultSets
2005-01-12 12:31:02,781 DEBUG (BatcherImpl.java:237) - select SEQ_ROOM_DIM.nextval from dual
Hibernate: select SEQ_ROOM_DIM.nextval from dual
2005-01-12 12:31:02,781 DEBUG (BatcherImpl.java:241) - preparing statement
2005-01-12 12:31:02,781 DEBUG (SequenceGenerator.java:80) - Sequence identifier generated: 22245794
2005-01-12 12:31:02,781 DEBUG (BatcherImpl.java:203) - done closing: 0 open PreparedStatements, 0 open ResultSets
2005-01-12 12:31:02,781 DEBUG (BatcherImpl.java:261) - closing statement
2005-01-12 12:31:02,781 DEBUG (SessionImpl.java:771) - generated identifier: 22245794
2005-01-12 12:31:02,781 DEBUG (SessionImpl.java:818) - saving [com.coldwellbanker.rets.genclasses.RoomData#22245794]
2005-01-12 12:31:02,781 DEBUG (Cascades.java:113) - cascading to saveOrUpdate()
2005-01-12 12:31:02,781 DEBUG (SessionImpl.java:1379) - saveOrUpdate() unsaved instance
2005-01-12 12:31:02,781 DEBUG (BatcherImpl.java:196) - about to open: 0 open PreparedStatements, 0 open ResultSets
2005-01-12 12:31:02,781 DEBUG (BatcherImpl.java:237) - select SEQ_ROOM_DIM.nextval from dual
Hibernate: select SEQ_ROOM_DIM.nextval from dual
2005-01-12 12:31:02,781 DEBUG (BatcherImpl.java:241) - preparing statement
2005-01-12 12:31:02,796 DEBUG (SequenceGenerator.java:80) - Sequence identifier generated: 22245795
2005-01-12 12:31:02,796 DEBUG (BatcherImpl.java:203) - done closing: 0 open PreparedStatements, 0 open ResultSets
2005-01-12 12:31:02,796 DEBUG (BatcherImpl.java:261) - closing statement
2005-01-12 12:31:02,796 DEBUG (SessionImpl.java:771) - generated identifier: 22245795
2005-01-12 12:31:02,796 DEBUG (SessionImpl.java:818) - saving [com.coldwellbanker.rets.genclasses.RoomData#22245795]
2005-01-12 12:31:02,796 DEBUG (Cascades.java:506) - done processing cascades for: com.coldwellbanker.rets.genclasses.ResidentialProperty
2005-01-12 12:31:02,796 DEBUG (Cascades.java:497) - processing cascades for: com.coldwellbanker.rets.genclasses.REData
2005-01-12 12:31:02,796 DEBUG (Cascades.java:113) - cascading to saveOrUpdate()
2005-01-12 12:31:02,796 DEBUG (SessionImpl.java:1364) - saveOrUpdate() persistent instance
2005-01-12 12:31:02,796 DEBUG (Cascades.java:506) - done processing cascades for: com.coldwellbanker.rets.genclasses.REData
2005-01-12 12:31:02,796 DEBUG (SessionImpl.java:2428) - Flushing entities and processing referenced collections
2005-01-12 12:31:02,796 DEBUG (SessionImpl.java:2875) - Collection found: [com.coldwellbanker.rets.genclasses.RETS.REData#5000510], was: [<unreferenced>]
2005-01-12 12:31:02,796 DEBUG (SessionImpl.java:2875) - Collection found: [com.coldwellbanker.rets.genclasses.REProperties.residentialProperty#5000512], was: [<unreferenced>]
-->getTheRooms()
My id: 114
Getting rooms:4
RoomData:0 --
Class: com.coldwellbanker.rets.genclasses.RoomData --
========================
ClassName: com.coldwellbanker.rets.genclasses.RoomData
--- Property: roomtype is type: java.lang.String and value: Family Room
--- Property: width is type: java.lang.String and value: 20.0
--- Property: id is type: java.lang.Long and value: null
--- Property: parent is type: java.lang.Long and value: null
--- Property: length is type: java.lang.String and value: 10.0
========================
RoomData:1 --
Class: com.coldwellbanker.rets.genclasses.RoomData --
========================
ClassName: com.coldwellbanker.rets.genclasses.RoomData
--- Property: roomtype is type: java.lang.String and value: Basement
--- Property: width is type: java.lang.String and value: 30.0
--- Property: id is type: java.lang.Long and value: null
--- Property: parent is type: java.lang.Long and value: null
--- Property: length is type: java.lang.String and value: 40.0
========================
RoomData:2 --
Class: com.coldwellbanker.rets.genclasses.RoomData --
========================
ClassName: com.coldwellbanker.rets.genclasses.RoomData
--- Property: roomtyp