Hi,
I'm a newbie with hibernate. When my application runs, I can see the newly persisted objects in my DB2 table (using DB2 tools) before the JVM terminates, but when the JVM terminates (System.exit), everything disappears. I've checked the FAQs and searched the forums, but couldn't find an answer. I'm sure this is something simple.
Thanks.
--
Phil
Hibernate version: 2.1
Mapping documents:
<?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.sas.fsp.raptor.rules.service.RepositoryItemImpl"
table="Items"
dynamic-update="false"
dynamic-insert="false"
>
<id
name="id"
column="item_id"
type="long"
>
<generator class="hilo">
</generator>
</id>
<property
name="name"
type="string"
update="true"
insert="true"
access="property"
column="item_name"
length="10"
/>
<property
name="description"
type="string"
update="true"
insert="true"
access="property"
column="item_description"
/>
<many-to-one
name="parent"
class="com.sas.fsp.raptor.rules.service.RepositoryItemImpl"
cascade="all"
outer-join="auto"
update="true"
insert="true"
access="property"
column="parent"
/>
<component
name="version"
class="com.sas.fsp.raptor.rules.RepositoryVersion"
>
</component>
<property
name="workspace"
type="string"
update="true"
insert="true"
access="property"
column="item_workspace"
length="10"
/>
<property
name="userOwningLock"
type="string"
update="true"
insert="true"
access="property"
column="item_lockUser"
length="10"
/>
<property
name="deleted"
type="boolean"
update="true"
insert="true"
access="property"
column="item_deleted"
/>
<!--
To add non XDoclet property mappings, create a file named
hibernate-properties-RepositoryItemImpl.xml
containing the additional properties and place it in your merge dir.
-->
<joined-subclass
name="com.sas.fsp.raptor.rules.service.UserVariableImpl"
table="UserVars"
dynamic-update="false"
dynamic-insert="false"
>
<key
column="item_id"
/>
<property
name="length"
type="int"
update="true"
insert="true"
access="property"
column="uservar_length"
not-null="true"
/>
<property
name="initialValue"
type="string"
update="true"
insert="true"
access="property"
column="uservar_initial_value"
not-null="true"
/>
</joined-subclass>
<joined-subclass
name="com.sas.fsp.raptor.rules.service.RuleProjectImpl"
table="Projects"
dynamic-update="false"
dynamic-insert="false"
>
<key
column="item_id"
/>
</joined-subclass>
<joined-subclass
name="com.sas.fsp.raptor.rules.service.RuleImpl"
table="Rules"
dynamic-update="false"
dynamic-insert="false"
>
<key
column="item_id"
/>
<property
name="code"
type="text"
update="true"
insert="true"
access="property"
column="rule_code"
/>
<component
name="ruleType"
class="com.sas.fsp.raptor.rules.RuleType"
>
<property
name="type"
type="int"
update="true"
insert="true"
access="property"
column="rule_type"
not-null="true"
/>
</component>
<set
name="ruleParameters"
lazy="false"
inverse="false"
cascade="save-update"
sort="unsorted"
>
<key
column="FK_ONE"
>
</key>
<one-to-many
class="com.sas.fsp.raptor.rules.RuleParameter"
/>
</set>
<component
name="exceptionList"
class="com.sas.fsp.raptor.rules.ExceptionList"
>
<property
name="source"
type="string"
update="true"
insert="true"
access="property"
column="exceptionlist_source"
/>
<property
name="key"
type="string"
update="true"
insert="true"
access="property"
column="exceptionlist_key"
/>
<property
name="columnNames"
type="string"
update="true"
insert="true"
access="property"
column="exceptionlist_column_names"
/>
</component>
</joined-subclass>
<joined-subclass
name="com.sas.fsp.raptor.rules.service.ModelImpl"
table="Models"
dynamic-update="false"
dynamic-insert="false"
>
<key
column="item_id"
/>
<property
name="orgHierarchyKey"
type="binary"
update="true"
insert="true"
access="property"
column="model_orgHierKey"
/>
<property
name="encryptedCode"
type="text"
update="true"
insert="true"
access="property"
column="model_code"
/>
</joined-subclass>
<joined-subclass
name="com.sas.fsp.raptor.rules.service.RepositoryFolderImpl"
table="Folders"
dynamic-update="false"
dynamic-insert="false"
>
<key
column="item_id"
/>
</joined-subclass>
</class>
</hibernate-mapping>
Code between sessionFactory.openSession() and session.close():
Session sess = HibernateUtil.currentSession();
sess.save(item);
sess.flush();
HibernateUtil.closeSession();
Full stack trace of any exception that occurs:
javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.getNameParser(Unknown Source)
at net.sf.hibernate.util.NamingHelper.bind(NamingHelper.java:52)
at net.sf.hibernate.impl.SessionFactoryObjectFactory.addInstance(SessionFactoryObjectFactory.java:90)
at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:171)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:791)
at com.sas.fsp.raptor.rules.service.util.HibernateUtil.<clinit>(HibernateUtil.java:24)
at com.sas.fsp.raptor.rules.service.RepositoryServiceImpl.addItem(RepositoryServiceImpl.java:98)
at test.RepositoryServiceTest.main(RepositoryServiceTest.java:41)
Name and version of the database you are using:
DB2 8.1
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
16:28:45,387 INFO Environment:469 - Hibernate 2.1.6
16:28:45,417 INFO Environment:503 - loaded properties from resource hibernate.properties: {hibernate.connection.password=saspjh, hibernate.jdbc.batch_versioned_data=true, hibernate.query.substitutions=true 1, false 0, yes 'Y', no 'N', hibernate.cache.region_prefix=hibernate.test, hibernate.show_sql=true, hibernate.proxool.pool_alias=pool1, hibernate.jdbc.batch_size=0, hibernate.cache.use_query_cache=true, hibernate.jdbc.use_streams_for_binary=true, hibernate.max_fetch_depth=1, hibernate.session_factory_name=hibernate/session_factory, hibernate.connection.pool_size=1, hibernate.connection.username=saspjh, hibernate.connection.driver_class=COM.ibm.db2.jdbc.app.DB2Driver, hibernate.cache.provider_class=net.sf.hibernate.cache.EhCacheProvider, hibernate.cglib.use_reflection_optimizer=true, hibernate.dialect=net.sf.hibernate.dialect.DB2Dialect, hibernate.connection.url=jdbc:db2:raptor}
16:28:45,427 INFO Environment:528 - using java.io streams to persist binary types
16:28:45,427 INFO Environment:529 - using CGLIB reflection optimizer
16:28:45,467 INFO Configuration:895 - configuring from resource: /hibernate.cfg.xml
16:28:45,467 INFO Configuration:867 - Configuration resource: /hibernate.cfg.xml
16:28:45,828 DEBUG DTDEntityResolver:20 - trying to locate
http://hibernate.sourceforge.net/hibern ... on-2.0.dtd in classpath under net/sf/hibernate/
16:28:45,838 DEBUG DTDEntityResolver:29 - found
http://hibernate.sourceforge.net/hibern ... on-2.0.dtd in classpath
16:28:46,008 DEBUG Configuration:853 - show_sql=true
16:28:46,018 DEBUG Configuration:1012 - Raptor<-org.dom4j.tree.DefaultAttribute@1f26605 [Attribute: name resource value "com/sas/fsp/raptor/rules/service/RepositoryItemImpl.hbm.xml"]
16:28:46,028 INFO Configuration:331 - Mapping resource: com/sas/fsp/raptor/rules/service/RepositoryItemImpl.hbm.xml
16:28:46,038 DEBUG DTDEntityResolver:20 - trying to locate
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under net/sf/hibernate/
16:28:46,048 DEBUG DTDEntityResolver:29 - found
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath
16:28:46,529 INFO Binder:229 - Mapping class: com.sas.fsp.raptor.rules.service.RepositoryItemImpl -> Items
16:28:46,999 DEBUG Binder:486 - Mapped property: id -> item_id, type: long
16:28:47,109 DEBUG Binder:486 - Mapped property: name -> item_name, type: string
16:28:47,109 DEBUG Binder:486 - Mapped property: description -> item_description, type: string
16:28:47,150 DEBUG Binder:486 - Mapped property: parent -> parent, type: com.sas.fsp.raptor.rules.service.RepositoryItemImpl
16:28:48,021 DEBUG Binder:486 - Mapped property: version, type: com.sas.fsp.raptor.rules.RepositoryVersion
16:28:48,021 DEBUG Binder:486 - Mapped property: workspace -> item_workspace, type: string
16:28:48,021 DEBUG Binder:486 - Mapped property: userOwningLock -> item_lockUser, type: string
16:28:48,021 DEBUG Binder:486 - Mapped property: deleted -> item_deleted, type: boolean
16:28:48,241 INFO Binder:200 - Mapping joined-subclass: com.sas.fsp.raptor.rules.service.UserVariableImpl -> UserVars
16:28:48,241 DEBUG Binder:486 - Mapped property: length -> uservar_length, type: integer
16:28:48,241 DEBUG Binder:486 - Mapped property: initialValue -> uservar_initial_value, type: string
16:28:48,241 INFO Binder:200 - Mapping joined-subclass: com.sas.fsp.raptor.rules.service.RuleProjectImpl -> Projects
16:28:48,241 INFO Binder:200 - Mapping joined-subclass: com.sas.fsp.raptor.rules.service.RuleImpl -> Rules
16:28:48,251 DEBUG Binder:486 - Mapped property: code -> rule_code, type: text
16:28:48,261 DEBUG Binder:486 - Mapped property: type -> rule_type, type: integer
16:28:48,471 INFO ReflectHelper:186 - reflection optimizer disabled for: com.sas.fsp.raptor.rules.RuleType, IllegalArgumentException: Cannot find matching method/constructor
16:28:48,471 DEBUG Binder:486 - Mapped property: ruleType -> rule_type, type: com.sas.fsp.raptor.rules.RuleType
16:28:48,532 DEBUG Binder:486 - Mapped property: ruleParameters, type: java.util.Set
16:28:48,542 DEBUG Binder:486 - Mapped property: source -> exceptionlist_source, type: string
16:28:48,542 DEBUG Binder:486 - Mapped property: key -> exceptionlist_key, type: string
16:28:48,542 DEBUG Binder:486 - Mapped property: columnNames -> exceptionlist_column_names, type: string
16:28:48,562 DEBUG Binder:486 - Mapped property: exceptionList -> exceptionlist_source, exceptionlist_key, exceptionlist_column_names, type: com.sas.fsp.raptor.rules.ExceptionList
16:28:48,562 INFO Binder:200 - Mapping joined-subclass: com.sas.fsp.raptor.rules.service.ModelImpl -> Models
16:28:48,562 DEBUG Binder:486 - Mapped property: orgHierarchyKey -> model_orgHierKey, type: binary
16:28:48,562 DEBUG Binder:486 - Mapped property: encryptedCode -> model_code, type: text
16:28:48,562 INFO Binder:200 - Mapping joined-subclass: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl -> Folders
16:28:48,562 DEBUG Configuration:1012 - Raptor<-org.dom4j.tree.DefaultAttribute@1b60280 [Attribute: name resource value "com/sas/fsp/raptor/rules/RuleParameter.hbm.xml"]
16:28:48,562 INFO Configuration:331 - Mapping resource: com/sas/fsp/raptor/rules/RuleParameter.hbm.xml
16:28:48,572 DEBUG DTDEntityResolver:20 - trying to locate
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under net/sf/hibernate/
16:28:48,572 DEBUG DTDEntityResolver:29 - found
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath
16:28:48,602 INFO Binder:229 - Mapping class: com.sas.fsp.raptor.rules.RuleParameter -> RuleParameters
16:28:48,602 DEBUG Binder:486 - Mapped property: id -> parameter_id, type: long
16:28:48,602 DEBUG Binder:486 - Mapped property: name -> parameter_name, type: string
16:28:48,602 DEBUG Binder:486 - Mapped property: description -> parameter_description, type: string
16:28:48,602 DEBUG Binder:486 - Mapped property: length -> parameter_length, type: integer
16:28:48,602 DEBUG Binder:486 - Mapped property: value -> parameter_value, type: string
16:28:48,602 INFO Configuration:1053 - Configured SessionFactory: Raptor
16:28:48,602 DEBUG Configuration:1054 - properties: {java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, hibernate.connection.password=saspjh, hibernate.cache.provider_class=net.sf.hibernate.cache.EhCacheProvider, useLocal=true, sun.boot.library.path=C:\Program Files\Java\j2re1.4.2_05\bin, java.vm.version=1.4.2_05-b04, hibernate.proxool.pool_alias=pool1, hibernate.connection.username=saspjh, java.vm.vendor=Sun Microsystems Inc., java.vendor.url=http://java.sun.com/, path.separator=;, hibernate.cache.use_query_cache=true, java.vm.name=Java HotSpot(TM) Client VM, file.encoding.pkg=sun.io, user.country=US, sun.os.patch.level=Service Pack 1, java.vm.specification.name=Java Virtual Machine Specification, user.dir=U:\Development\eclipse\workspace\Rules, java.runtime.version=1.4.2_05-b04, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, java.endorsed.dirs=C:\Program Files\Java\j2re1.4.2_05\lib\endorsed, os.arch=x86, java.io.tmpdir=C:\DOCUME~1\saspjh\LOCALS~1\Temp\, line.separator=
, java.vm.specification.vendor=Sun Microsystems Inc., user.variant=, os.name=Windows XP, sun.java2d.fontpath=, hibernate.jdbc.batch_versioned_data=true, hibernate.cache.region_prefix=hibernate.test, java.library.path=C:\Program Files\Java\j2re1.4.2_05\bin;.;C:\WINNT\System32;C:\WINNT;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Hummingbird\Connectivity\7.10\Accessories\;C:\Program Files\PRISM;c:\java\jakarta-ant-1.5.1\bin;C:\PROGRAM FILES\IBM\SQLLIB\BIN;C:\PROGRAM FILES\IBM\SQLLIB\FUNCTION;\\ronco\public\JavaTools\bin;\\ronco\public\dnt\tools;C:\Sun\AppServer\bin;;c:\j2sdk1.4.2_05\bin;\;\net;\utils, java.specification.name=Java Platform API Specification, java.class.version=48.0, hibernate.connection.pool_size=1, java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactory, os.version=5.1, user.home=C:\Documents and Settings\saspjh, java.security.policy=U:\Development\eclipse\workspace/Rules/build/rmid.policy, user.timezone=America/New_York, java.awt.printerjob=sun.awt.windows.WPrinterJob, file.encoding=Cp1252, java.specification.version=1.4, hibernate.connection.driver_class=COM.ibm.db2.jdbc.app.DB2Driver, show_sql=true, java.class.path=U:\Development\eclipse\workspace\Rules\build;U:\Development\eclipse\workspace\Rules\lib\jars\sas.fsp.raptor.core.jar;U:\Development\eclipse\workspace\Rules\lib\jars\hibernate2.jar;U:\Development\eclipse\workspace\Rules\lib\jars\dom4j-1.4.jar;U:\Development\eclipse\workspace\Rules\lib\jars\cglib-full-2.0.2.jar;U:\Development\eclipse\workspace\Rules\lib\jars\odmg-3.0.jar;U:\Development\eclipse\workspace\Rules\lib\jars\db2java.zip;U:\Development\eclipse\workspace\Rules\lib\jars\hsqldb.jar;U:\Development\eclipse\workspace\Rules\lib\jars\commons-collections-2.1.1.jar;U:\Development\eclipse\workspace\Rules\lib\jars\commons-logging.jar;U:\Development\eclipse\workspace\Rules\lib\jars\ehcache-0.9.jar;U:\Development\eclipse\workspace\Rules\lib\jars\jta.jar, user.name=saspjh, hibernate.query.substitutions=true 1, false 0, yes 'Y', no 'N', hibernate.show_sql=true, java.vm.specification.version=1.0, java.home=C:\Program Files\Java\j2re1.4.2_05, sun.arch.data.model=32, hibernate.dialect=net.sf.hibernate.dialect.DB2Dialect, hibernate.connection.url=jdbc:db2:raptor, 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, hibernate.jdbc.use_streams_for_binary=true, java.version=1.4.2_05, java.ext.dirs=C:\Program Files\Java\j2re1.4.2_05\lib\ext, sun.boot.class.path=C:\Program Files\Java\j2re1.4.2_05\lib\rt.jar;C:\Program Files\Java\j2re1.4.2_05\lib\i18n.jar;C:\Program Files\Java\j2re1.4.2_05\lib\sunrsasign.jar;C:\Program Files\Java\j2re1.4.2_05\lib\jsse.jar;C:\Program Files\Java\j2re1.4.2_05\lib\jce.jar;C:\Program Files\Java\j2re1.4.2_05\lib\charsets.jar;C:\Program Files\Java\j2re1.4.2_05\classes, java.vendor=Sun Microsystems Inc., hibernate.jdbc.batch_size=0, file.separator=\, hibernate.session_factory_name=Raptor, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, sun.io.unicode.encoding=UnicodeLittle, sun.cpu.endian=little, hibernate.max_fetch_depth=1, sun.cpu.isalist=pentium i486 i386}
16:28:48,602 INFO Configuration:627 - processing one-to-many association mappings
16:28:48,602 DEBUG Binder:1353 - Second pass for collection: com.sas.fsp.raptor.rules.service.RuleImpl.ruleParameters
16:28:48,612 INFO Binder:1181 - Mapping collection: com.sas.fsp.raptor.rules.service.RuleImpl.ruleParameters -> RuleParameters
16:28:48,612 DEBUG Binder:1368 - Mapped collection key: FK_ONE, one-to-many: com.sas.fsp.raptor.rules.RuleParameter
16:28:48,622 INFO Configuration:636 - processing one-to-one association property references
16:28:48,622 INFO Configuration:661 - processing foreign key constraints
16:28:48,622 DEBUG Configuration:678 - resolving reference to class: com.sas.fsp.raptor.rules.service.RepositoryItemImpl
16:28:48,622 DEBUG Configuration:678 - resolving reference to class: com.sas.fsp.raptor.rules.service.RepositoryItemImpl
16:28:48,622 DEBUG Configuration:678 - resolving reference to class: com.sas.fsp.raptor.rules.service.RepositoryItemImpl
16:28:48,622 DEBUG Configuration:678 - resolving reference to class: com.sas.fsp.raptor.rules.service.RepositoryItemImpl
16:28:48,632 DEBUG Configuration:678 - resolving reference to class: com.sas.fsp.raptor.rules.service.RepositoryItemImpl
16:28:48,632 DEBUG Configuration:678 - resolving reference to class: com.sas.fsp.raptor.rules.service.RuleImpl
16:28:48,632 DEBUG Configuration:678 - resolving reference to class: com.sas.fsp.raptor.rules.service.RepositoryItemImpl
16:28:48,832 INFO Dialect:82 - Using dialect: net.sf.hibernate.dialect.DB2Dialect
16:28:48,852 INFO SettingsFactory:59 - Maximim outer join fetch depth: 1
16:28:48,852 INFO SettingsFactory:63 - Use outer join fetching: true
16:28:48,882 INFO DriverManagerConnectionProvider:42 - Using Hibernate built-in connection pool (not for production use!)
16:28:48,882 INFO DriverManagerConnectionProvider:43 - Hibernate connection pool size: 1
16:28:49,623 INFO DriverManagerConnectionProvider:77 - using driver: COM.ibm.db2.jdbc.app.DB2Driver at URL: jdbc:db2:raptor
16:28:49,623 INFO DriverManagerConnectionProvider:78 - connection properties: {user=saspjh, password=saspjh}
16:28:49,673 INFO TransactionManagerLookupFactory:33 - No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended)
16:28:49,673 DEBUG DriverManagerConnectionProvider:84 - total checked-out connections: 0
16:28:49,683 DEBUG DriverManagerConnectionProvider:100 - opening new JDBC connection
16:28:49,843 DEBUG DriverManagerConnectionProvider:106 - created connection to: jdbc:db2:raptor, Isolation Level: 2
16:28:49,843 DEBUG DriverManagerConnectionProvider:120 - returning connection to pool, pool size: 1
16:28:49,843 INFO SettingsFactory:103 - Use scrollable result sets: true
16:28:49,843 INFO SettingsFactory:106 - Use JDBC3 getGeneratedKeys(): false
16:28:49,843 INFO SettingsFactory:109 - Optimize cache for minimal puts: false
16:28:49,843 INFO SettingsFactory:115 - echoing all SQL to stdout
16:28:49,853 INFO SettingsFactory:118 - Query language substitutions: {no='N', true=1, yes='Y', false=0}
16:28:49,853 INFO SettingsFactory:129 - cache provider: net.sf.hibernate.cache.EhCacheProvider
16:28:49,883 INFO SettingsFactory:141 - query cache factory: net.sf.hibernate.cache.StandardQueryCacheFactory
16:28:49,914 INFO Configuration:1116 - instantiating and configuring caches
16:28:50,064 INFO SessionFactoryImpl:118 - building session factory
16:28:50,074 DEBUG SessionFactoryImpl:124 - instantiating session factory with properties: {java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, hibernate.connection.password=saspjh, hibernate.cache.provider_class=net.sf.hibernate.cache.EhCacheProvider, useLocal=true, sun.boot.library.path=C:\Program Files\Java\j2re1.4.2_05\bin, java.vm.version=1.4.2_05-b04, hibernate.proxool.pool_alias=pool1, hibernate.connection.username=saspjh, java.vm.vendor=Sun Microsystems Inc., java.vendor.url=http://java.sun.com/, path.separator=;, hibernate.cache.use_query_cache=true, java.vm.name=Java HotSpot(TM) Client VM, file.encoding.pkg=sun.io, user.country=US, sun.os.patch.level=Service Pack 1, java.vm.specification.name=Java Virtual Machine Specification, user.dir=U:\Development\eclipse\workspace\Rules, java.runtime.version=1.4.2_05-b04, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, java.endorsed.dirs=C:\Program Files\Java\j2re1.4.2_05\lib\endorsed, os.arch=x86, java.io.tmpdir=C:\DOCUME~1\saspjh\LOCALS~1\Temp\, line.separator=
, java.vm.specification.vendor=Sun Microsystems Inc., user.variant=, os.name=Windows XP, sun.java2d.fontpath=, hibernate.jdbc.batch_versioned_data=true, hibernate.cache.region_prefix=hibernate.test, java.library.path=C:\Program Files\Java\j2re1.4.2_05\bin;.;C:\WINNT\System32;C:\WINNT;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Hummingbird\Connectivity\7.10\Accessories\;C:\Program Files\PRISM;c:\java\jakarta-ant-1.5.1\bin;C:\PROGRAM FILES\IBM\SQLLIB\BIN;C:\PROGRAM FILES\IBM\SQLLIB\FUNCTION;\\ronco\public\JavaTools\bin;\\ronco\public\dnt\tools;C:\Sun\AppServer\bin;;c:\j2sdk1.4.2_05\bin;\;\net;\utils, java.specification.name=Java Platform API Specification, java.class.version=48.0, hibernate.connection.pool_size=1, java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactory, os.version=5.1, user.home=C:\Documents and Settings\saspjh, java.security.policy=U:\Development\eclipse\workspace/Rules/build/rmid.policy, user.timezone=America/New_York, java.awt.printerjob=sun.awt.windows.WPrinterJob, file.encoding=Cp1252, java.specification.version=1.4, hibernate.connection.driver_class=COM.ibm.db2.jdbc.app.DB2Driver, show_sql=true, java.class.path=U:\Development\eclipse\workspace\Rules\build;U:\Development\eclipse\workspace\Rules\lib\jars\sas.fsp.raptor.core.jar;U:\Development\eclipse\workspace\Rules\lib\jars\hibernate2.jar;U:\Development\eclipse\workspace\Rules\lib\jars\dom4j-1.4.jar;U:\Development\eclipse\workspace\Rules\lib\jars\cglib-full-2.0.2.jar;U:\Development\eclipse\workspace\Rules\lib\jars\odmg-3.0.jar;U:\Development\eclipse\workspace\Rules\lib\jars\db2java.zip;U:\Development\eclipse\workspace\Rules\lib\jars\hsqldb.jar;U:\Development\eclipse\workspace\Rules\lib\jars\commons-collections-2.1.1.jar;U:\Development\eclipse\workspace\Rules\lib\jars\commons-logging.jar;U:\Development\eclipse\workspace\Rules\lib\jars\ehcache-0.9.jar;U:\Development\eclipse\workspace\Rules\lib\jars\jta.jar, user.name=saspjh, hibernate.query.substitutions=true 1, false 0, yes 'Y', no 'N', hibernate.show_sql=true, java.vm.specification.version=1.0, java.home=C:\Program Files\Java\j2re1.4.2_05, sun.arch.data.model=32, hibernate.dialect=net.sf.hibernate.dialect.DB2Dialect, hibernate.connection.url=jdbc:db2:raptor, 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, hibernate.jdbc.use_streams_for_binary=true, java.version=1.4.2_05, java.ext.dirs=C:\Program Files\Java\j2re1.4.2_05\lib\ext, sun.boot.class.path=C:\Program Files\Java\j2re1.4.2_05\lib\rt.jar;C:\Program Files\Java\j2re1.4.2_05\lib\i18n.jar;C:\Program Files\Java\j2re1.4.2_05\lib\sunrsasign.jar;C:\Program Files\Java\j2re1.4.2_05\lib\jsse.jar;C:\Program Files\Java\j2re1.4.2_05\lib\jce.jar;C:\Program Files\Java\j2re1.4.2_05\lib\charsets.jar;C:\Program Files\Java\j2re1.4.2_05\classes, java.vendor=Sun Microsystems Inc., hibernate.jdbc.batch_size=0, file.separator=\, hibernate.session_factory_name=Raptor, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, sun.io.unicode.encoding=UnicodeLittle, sun.cpu.endian=little, hibernate.max_fetch_depth=1, sun.cpu.isalist=pentium i486 i386}
16:28:50,394 INFO ReflectHelper:186 - reflection optimizer disabled for: com.sas.fsp.raptor.rules.service.RuleImpl, BulkBeanException: Cannot find specified property (property setRuleParameters)
16:28:50,444 INFO ReflectHelper:186 - reflection optimizer disabled for: com.sas.fsp.raptor.rules.service.ModelImpl, BulkBeanException: null (property setOrgHierarchyKey)
16:28:50,745 DEBUG SessionFactoryObjectFactory:39 - initializing class SessionFactoryObjectFactory
16:28:50,765 DEBUG SessionFactoryObjectFactory:76 - registered: 8aac8c4eff65a14b00ff65a14eaf0000 (Raptor)
16:28:50,765 INFO SessionFactoryObjectFactory:86 - Factory name: Raptor
16:28:50,785 INFO NamingHelper:26 - JNDI InitialContext properties:{}
16:28:50,795 DEBUG NamingHelper:48 - binding: Raptor
16:28:50,815 WARN SessionFactoryObjectFactory:98 - Could not bind factory to JNDI
javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.getNameParser(Unknown Source)
at net.sf.hibernate.util.NamingHelper.bind(NamingHelper.java:52)
at net.sf.hibernate.impl.SessionFactoryObjectFactory.addInstance(SessionFactoryObjectFactory.java:90)
at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:171)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:791)
at com.sas.fsp.raptor.rules.service.util.HibernateUtil.<clinit>(HibernateUtil.java:24)
at com.sas.fsp.raptor.rules.service.RepositoryServiceImpl.addItem(RepositoryServiceImpl.java:98)
at test.RepositoryServiceTest.main(RepositoryServiceTest.java:41)
16:28:50,815 DEBUG SessionFactoryImpl:195 - instantiated session factory
16:28:50,825 INFO UpdateTimestampsCache:35 - starting update timestamps cache at region: net.sf.hibernate.cache.UpdateTimestampsCache
16:28:50,915 WARN Configurator:125 - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/U:/Development/eclipse/workspace/Rules/lib/jars/ehcache-0.9.jar!/ehcache-failsafe.xml
16:28:50,975 WARN EhCache:94 - Could not find configuration for net.sf.hibernate.cache.UpdateTimestampsCache. Configuring using the defaultCache settings.
16:28:51,065 INFO StandardQueryCache:41 - starting query cache at region: net.sf.hibernate.cache.StandardQueryCache
16:28:51,065 WARN EhCache:94 - Could not find configuration for net.sf.hibernate.cache.StandardQueryCache. Configuring using the defaultCache settings.
16:28:51,336 DEBUG SessionImpl:555 - opened session
16:28:51,346 DEBUG DriverManagerConnectionProvider:84 - total checked-out connections: 0
16:28:51,346 DEBUG DriverManagerConnectionProvider:90 - using pooled JDBC connection, pool size: 0
16:28:51,426 DEBUG DriverManagerConnectionProvider:120 - returning connection to pool, pool size: 1
16:28:51,426 DEBUG TableHiLoGenerator:62 - new hi value: 4
16:28:51,426 DEBUG SessionImpl:778 - generated identifier: 131073
16:28:51,436 DEBUG SessionImpl:825 - saving [com.sas.fsp.raptor.rules.service.RepositoryFolderImpl#131073]
16:28:51,446 DEBUG Cascades:497 - processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,446 DEBUG Cascades:506 - done processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,476 DEBUG Cascades:497 - processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,476 DEBUG Cascades:506 - done processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,476 DEBUG SessionImpl:2246 - flushing session
16:28:51,486 DEBUG Cascades:497 - processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,486 DEBUG Cascades:506 - done processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,486 DEBUG SessionImpl:2439 - Flushing entities and processing referenced collections
16:28:51,496 DEBUG SessionImpl:2780 - Processing unreferenced collections
16:28:51,496 DEBUG SessionImpl:2794 - Scheduling collection removes/(re)creates/updates
16:28:51,496 DEBUG SessionImpl:2270 - Flushed: 1 insertions, 0 updates, 0 deletions to 1 objects
16:28:51,496 DEBUG SessionImpl:2275 - Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections
16:28:51,506 DEBUG Printer:75 - listing entities:
16:28:51,506 DEBUG Printer:82 - com.sas.fsp.raptor.rules.service.RepositoryFolderImpl{deleted=false, description=null, userOwningLock=null, workspace=null, name=Root, parent=null, id=131073, version=null}
16:28:51,506 DEBUG SessionImpl:2359 - executing flush
16:28:51,536 DEBUG NormalizedEntityPersister:443 - Inserting entity: [com.sas.fsp.raptor.rules.service.RepositoryFolderImpl#131073]
16:28:51,536 DEBUG BatcherImpl:200 - about to open: 0 open PreparedStatements, 0 open ResultSets
16:28:51,536 DEBUG DriverManagerConnectionProvider:84 - total checked-out connections: 0
16:28:51,536 DEBUG DriverManagerConnectionProvider:90 - using pooled JDBC connection, pool size: 0
16:28:51,536 DEBUG SQL:226 - insert into Items (item_name, item_description, parent, item_workspace, item_lockUser, item_deleted, item_id) values (?, ?, ?, ?, ?, ?, ?)
Hibernate: insert into Items (item_name, item_description, parent, item_workspace, item_lockUser, item_deleted, item_id) values (?, ?, ?, ?, ?, ?, ?)
16:28:51,536 DEBUG BatcherImpl:249 - preparing statement
16:28:51,536 DEBUG BatcherImpl:200 - about to open: 1 open PreparedStatements, 0 open ResultSets
16:28:51,536 DEBUG SQL:226 - insert into Folders (item_id) values (?)
Hibernate: insert into Folders (item_id) values (?)
16:28:51,536 DEBUG BatcherImpl:249 - preparing statement
16:28:51,536 DEBUG NormalizedEntityPersister:355 - Dehydrating entity: [com.sas.fsp.raptor.rules.service.RepositoryFolderImpl#131073]
16:28:51,546 DEBUG BatcherImpl:207 - done closing: 1 open PreparedStatements, 0 open ResultSets
16:28:51,546 DEBUG BatcherImpl:269 - closing statement
16:28:51,546 DEBUG BatcherImpl:207 - done closing: 0 open PreparedStatements, 0 open ResultSets
16:28:51,546 DEBUG BatcherImpl:269 - closing statement
16:28:51,546 DEBUG SessionImpl:2824 - post flush
16:28:51,546 DEBUG SessionImpl:573 - closing session
16:28:51,546 DEBUG SessionImpl:3336 - disconnecting session
16:28:51,546 DEBUG DriverManagerConnectionProvider:120 - returning connection to pool, pool size: 1
16:28:51,546 DEBUG SessionImpl:585 - transaction completion
16:28:51,546 DEBUG UpdateTimestampsCache:51 - Invalidating space [Folders]
16:28:51,556 DEBUG UpdateTimestampsCache:51 - Invalidating space [Items]
16:28:51,556 DEBUG SessionImpl:555 - opened session
16:28:51,556 DEBUG SessionImpl:778 - generated identifier: 131074
16:28:51,556 DEBUG SessionImpl:825 - saving [com.sas.fsp.raptor.rules.service.RepositoryFolderImpl#131074]
16:28:51,556 DEBUG Cascades:497 - processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,576 DEBUG Cascades:113 - cascading to saveOrUpdate()
16:28:51,576 DEBUG Cascades:341 - id unsaved-value strategy NULL
16:28:51,576 DEBUG SessionImpl:1392 - saveOrUpdate() previously saved instance with id: 131073
16:28:51,576 DEBUG SessionImpl:1440 - updating [com.sas.fsp.raptor.rules.service.RepositoryFolderImpl#131073]
16:28:51,606 DEBUG Cascades:497 - processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,606 DEBUG Cascades:506 - done processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,616 DEBUG Cascades:506 - done processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,616 DEBUG Cascades:497 - processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,616 DEBUG Cascades:506 - done processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,616 DEBUG SessionImpl:2246 - flushing session
16:28:51,616 DEBUG Cascades:497 - processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,616 DEBUG SessionImpl:3388 - running Session.finalize()
16:28:51,616 DEBUG Cascades:506 - done processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,616 DEBUG Cascades:497 - processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,616 DEBUG Cascades:113 - cascading to saveOrUpdate()
16:28:51,616 DEBUG SessionImpl:1372 - saveOrUpdate() persistent instance
16:28:51,616 DEBUG Cascades:506 - done processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,616 DEBUG SessionImpl:2439 - Flushing entities and processing referenced collections
16:28:51,616 DEBUG SessionImpl:2533 - Updating entity: [com.sas.fsp.raptor.rules.service.RepositoryFolderImpl#131073]
16:28:51,626 DEBUG SessionImpl:2780 - Processing unreferenced collections
16:28:51,646 DEBUG SessionImpl:2794 - Scheduling collection removes/(re)creates/updates
16:28:51,646 DEBUG SessionImpl:2270 - Flushed: 1 insertions, 1 updates, 0 deletions to 2 objects
16:28:51,646 DEBUG SessionImpl:2275 - Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections
16:28:51,646 DEBUG Printer:75 - listing entities:
16:28:51,656 DEBUG Printer:82 - com.sas.fsp.raptor.rules.service.RepositoryFolderImpl{deleted=false, description=null, userOwningLock=null, workspace=null, name=Global3, parent=RepositoryFolderImpl#131073, id=131074, version=null}
16:28:51,656 DEBUG Printer:82 - com.sas.fsp.raptor.rules.service.RepositoryFolderImpl{deleted=false, description=null, userOwningLock=null, workspace=null, name=Root, parent=null, id=131073, version=null}
16:28:51,656 DEBUG SessionImpl:2359 - executing flush
16:28:51,656 DEBUG NormalizedEntityPersister:443 - Inserting entity: [com.sas.fsp.raptor.rules.service.RepositoryFolderImpl#131074]
16:28:51,656 DEBUG BatcherImpl:200 - about to open: 0 open PreparedStatements, 0 open ResultSets
16:28:51,656 DEBUG DriverManagerConnectionProvider:84 - total checked-out connections: 0
16:28:51,656 DEBUG DriverManagerConnectionProvider:90 - using pooled JDBC connection, pool size: 0
16:28:51,656 DEBUG SQL:226 - insert into Items (item_name, item_description, parent, item_workspace, item_lockUser, item_deleted, item_id) values (?, ?, ?, ?, ?, ?, ?)
Hibernate: insert into Items (item_name, item_description, parent, item_workspace, item_lockUser, item_deleted, item_id) values (?, ?, ?, ?, ?, ?, ?)
16:28:51,656 DEBUG BatcherImpl:249 - preparing statement
16:28:51,656 DEBUG BatcherImpl:200 - about to open: 1 open PreparedStatements, 0 open ResultSets
16:28:51,656 DEBUG SQL:226 - insert into Folders (item_id) values (?)
Hibernate: insert into Folders (item_id) values (?)
16:28:51,666 DEBUG BatcherImpl:249 - preparing statement
16:28:51,666 DEBUG NormalizedEntityPersister:355 - Dehydrating entity: [com.sas.fsp.raptor.rules.service.RepositoryFolderImpl#131074]
16:28:51,666 DEBUG BatcherImpl:207 - done closing: 1 open PreparedStatements, 0 open ResultSets
16:28:51,666 DEBUG BatcherImpl:269 - closing statement
16:28:51,666 DEBUG BatcherImpl:207 - done closing: 0 open PreparedStatements, 0 open ResultSets
16:28:51,666 DEBUG BatcherImpl:269 - closing statement
16:28:51,666 DEBUG NormalizedEntityPersister:676 - Updating entity: [com.sas.fsp.raptor.rules.service.RepositoryFolderImpl#131073]
16:28:51,666 DEBUG BatcherImpl:200 - about to open: 0 open PreparedStatements, 0 open ResultSets
16:28:51,666 DEBUG SQL:226 - update Items set item_name=?, item_description=?, parent=?, item_workspace=?, item_lockUser=?, item_deleted=? where item_id=?
Hibernate: update Items set item_name=?, item_description=?, parent=?, item_workspace=?, item_lockUser=?, item_deleted=? where item_id=?
16:28:51,666 DEBUG BatcherImpl:249 - preparing statement
16:28:51,666 DEBUG NormalizedEntityPersister:355 - Dehydrating entity: [com.sas.fsp.raptor.rules.service.RepositoryFolderImpl#131073]
16:28:51,666 DEBUG BatcherImpl:207 - done closing: 0 open PreparedStatements, 0 open ResultSets
16:28:51,666 DEBUG BatcherImpl:269 - closing statement
16:28:51,666 DEBUG SessionImpl:2824 - post flush
16:28:51,676 DEBUG SessionImpl:573 - closing session
16:28:51,676 DEBUG SessionImpl:3336 - disconnecting session
16:28:51,676 DEBUG DriverManagerConnectionProvider:120 - returning connection to pool, pool size: 1
16:28:51,676 DEBUG SessionImpl:585 - transaction completion
16:28:51,676 DEBUG UpdateTimestampsCache:51 - Invalidating space [Folders]
16:28:51,676 DEBUG UpdateTimestampsCache:51 - Invalidating space [Items]
16:28:51,676 DEBUG UpdateTimestampsCache:51 - Invalidating space [Folders]
16:28:51,676 DEBUG UpdateTimestampsCache:51 - Invalidating space [Items]
16:28:51,676 DEBUG SessionImpl:555 - opened session
16:28:51,676 DEBUG SessionImpl:778 - generated identifier: 131075
16:28:51,676 DEBUG SessionImpl:825 - saving [com.sas.fsp.raptor.rules.service.RepositoryFolderImpl#131075]
16:28:51,676 DEBUG Cascades:497 - processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,676 DEBUG Cascades:113 - cascading to saveOrUpdate()
16:28:51,676 DEBUG Cascades:341 - id unsaved-value strategy NULL
16:28:51,676 DEBUG SessionImpl:1392 - saveOrUpdate() previously saved instance with id: 131073
16:28:51,676 DEBUG SessionImpl:3388 - running Session.finalize()
16:28:51,676 DEBUG SessionImpl:1440 - updating [com.sas.fsp.raptor.rules.service.RepositoryFolderImpl#131073]
16:28:51,676 DEBUG Cascades:497 - processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,676 DEBUG Cascades:506 - done processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,676 DEBUG Cascades:506 - done processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,676 DEBUG Cascades:497 - processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,676 DEBUG Cascades:506 - done processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,676 DEBUG SessionImpl:2246 - flushing session
16:28:51,676 DEBUG Cascades:497 - processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,676 DEBUG Cascades:506 - done processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,676 DEBUG Cascades:497 - processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,676 DEBUG Cascades:113 - cascading to saveOrUpdate()
16:28:51,676 DEBUG SessionImpl:1372 - saveOrUpdate() persistent instance
16:28:51,676 DEBUG Cascades:506 - done processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,686 DEBUG SessionImpl:2439 - Flushing entities and processing referenced collections
16:28:51,686 DEBUG SessionImpl:2533 - Updating entity: [com.sas.fsp.raptor.rules.service.RepositoryFolderImpl#131073]
16:28:51,686 DEBUG SessionImpl:2780 - Processing unreferenced collections
16:28:51,686 DEBUG SessionImpl:2794 - Scheduling collection removes/(re)creates/updates
16:28:51,686 DEBUG SessionImpl:2270 - Flushed: 1 insertions, 1 updates, 0 deletions to 2 objects
16:28:51,686 DEBUG SessionImpl:2275 - Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections
16:28:51,686 DEBUG Printer:75 - listing entities:
16:28:51,686 DEBUG Printer:82 - com.sas.fsp.raptor.rules.service.RepositoryFolderImpl{deleted=false, description=null, userOwningLock=null, workspace=null, name=null, parent=RepositoryFolderImpl#131073, id=131075, version=null}
16:28:51,686 DEBUG Printer:82 - com.sas.fsp.raptor.rules.service.RepositoryFolderImpl{deleted=false, description=null, userOwningLock=null, workspace=null, name=Root, parent=null, id=131073, version=null}
16:28:51,686 DEBUG SessionImpl:2359 - executing flush
16:28:51,686 DEBUG NormalizedEntityPersister:443 - Inserting entity: [com.sas.fsp.raptor.rules.service.RepositoryFolderImpl#131075]
16:28:51,686 DEBUG BatcherImpl:200 - about to open: 0 open PreparedStatements, 0 open ResultSets
16:28:51,686 DEBUG DriverManagerConnectionProvider:84 - total checked-out connections: 0
16:28:51,696 DEBUG DriverManagerConnectionProvider:90 - using pooled JDBC connection, pool size: 0
16:28:51,696 DEBUG SQL:226 - insert into Items (item_name, item_description, parent, item_workspace, item_lockUser, item_deleted, item_id) values (?, ?, ?, ?, ?, ?, ?)
Hibernate: insert into Items (item_name, item_description, parent, item_workspace, item_lockUser, item_deleted, item_id) values (?, ?, ?, ?, ?, ?, ?)
16:28:51,696 DEBUG BatcherImpl:249 - preparing statement
16:28:51,696 DEBUG BatcherImpl:200 - about to open: 1 open PreparedStatements, 0 open ResultSets
16:28:51,696 DEBUG SQL:226 - insert into Folders (item_id) values (?)
Hibernate: insert into Folders (item_id) values (?)
16:28:51,696 DEBUG BatcherImpl:249 - preparing statement
16:28:51,696 DEBUG NormalizedEntityPersister:355 - Dehydrating entity: [com.sas.fsp.raptor.rules.service.RepositoryFolderImpl#131075]
16:28:51,696 DEBUG BatcherImpl:207 - done closing: 1 open PreparedStatements, 0 open ResultSets
16:28:51,696 DEBUG BatcherImpl:269 - closing statement
16:28:51,696 DEBUG BatcherImpl:207 - done closing: 0 open PreparedStatements, 0 open ResultSets
16:28:51,696 DEBUG BatcherImpl:269 - closing statement
16:28:51,696 DEBUG NormalizedEntityPersister:676 - Updating entity: [com.sas.fsp.raptor.rules.service.RepositoryFolderImpl#131073]
16:28:51,696 DEBUG BatcherImpl:200 - about to open: 0 open PreparedStatements, 0 open ResultSets
16:28:51,696 DEBUG SQL:226 - update Items set item_name=?, item_description=?, parent=?, item_workspace=?, item_lockUser=?, item_deleted=? where item_id=?
Hibernate: update Items set item_name=?, item_description=?, parent=?, item_workspace=?, item_lockUser=?, item_deleted=? where item_id=?
16:28:51,696 DEBUG BatcherImpl:249 - preparing statement
16:28:51,706 DEBUG NormalizedEntityPersister:355 - Dehydrating entity: [com.sas.fsp.raptor.rules.service.RepositoryFolderImpl#131073]
16:28:51,706 DEBUG BatcherImpl:207 - done closing: 0 open PreparedStatements, 0 open ResultSets
16:28:51,706 DEBUG BatcherImpl:269 - closing statement
16:28:51,706 DEBUG SessionImpl:2824 - post flush
16:28:51,706 DEBUG SessionImpl:573 - closing session
16:28:51,706 DEBUG SessionImpl:3336 - disconnecting session
16:28:51,706 DEBUG DriverManagerConnectionProvider:120 - returning connection to pool, pool size: 1
16:28:51,706 DEBUG SessionImpl:585 - transaction completion
16:28:51,706 DEBUG UpdateTimestampsCache:51 - Invalidating space [Folders]
16:28:51,706 DEBUG UpdateTimestampsCache:51 - Invalidating space [Items]
16:28:51,706 DEBUG UpdateTimestampsCache:51 - Invalidating space [Folders]
16:28:51,706 DEBUG UpdateTimestampsCache:51 - Invalidating space [Items]
16:28:51,706 DEBUG SessionImpl:555 - opened session
16:28:51,706 DEBUG SessionImpl:778 - generated identifier: 131076
16:28:51,706 DEBUG SessionImpl:825 - saving [com.sas.fsp.raptor.rules.service.RepositoryFolderImpl#131076]
16:28:51,706 DEBUG Cascades:497 - processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,706 DEBUG Cascades:113 - cascading to saveOrUpdate()
16:28:51,706 DEBUG Cascades:341 - id unsaved-value strategy NULL
16:28:51,706 DEBUG SessionImpl:1392 - saveOrUpdate() previously saved instance with id: 131073
16:28:51,706 DEBUG SessionImpl:1440 - updating [com.sas.fsp.raptor.rules.service.RepositoryFolderImpl#131073]
16:28:51,706 DEBUG Cascades:497 - processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,706 DEBUG Cascades:506 - done processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,706 DEBUG Cascades:506 - done processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,706 DEBUG Cascades:497 - processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,706 DEBUG Cascades:506 - done processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,706 DEBUG SessionImpl:2246 - flushing session
16:28:51,716 DEBUG Cascades:497 - processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,716 DEBUG Cascades:506 - done processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,716 DEBUG Cascades:497 - processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,716 DEBUG Cascades:113 - cascading to saveOrUpdate()
16:28:51,716 DEBUG SessionImpl:3388 - running Session.finalize()
16:28:51,716 DEBUG SessionImpl:1372 - saveOrUpdate() persistent instance
16:28:51,716 DEBUG Cascades:506 - done processing cascades for: com.sas.fsp.raptor.rules.service.RepositoryFolderImpl
16:28:51,716 DEBUG SessionImpl:2439 - Flushing entities and processing referenced collections
16:28:51,716 DEBUG SessionImpl:2533 - Updating entity: [com.sas.fsp.raptor.rules.service.RepositoryFolderImpl#131073]
16:28:51,716 DEBUG SessionImpl:2780 - Processing unreferenced collections
16:28:51,716 DEBUG SessionImpl:2794 - Scheduling collection removes/(re)creates/updates
16:28:51,716 DEBUG SessionImpl:2270 - Flushed: 1 insertions, 1 updates, 0 deletions to 2 objects
16:28:51,716 DEBUG SessionImpl:2275 - Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections
16:28:51,716 DEBUG Printer:75 - listing entities:
16:28:51,716 DEBUG Printer:82 - com.sas.fsp.raptor.rules.service.RepositoryFolderImpl{deleted=false, description=null, userOwningLock=null, workspace=null, name=Root, parent=null, id=131073, version=null}
16:28:51,716 DEBUG Printer:82 - com.sas.fsp.raptor.rules.service.RepositoryFolderImpl{deleted=false, description=null, userOwningLock=null, workspace=null, name=null, parent=RepositoryFolderImpl#131073, id=131076, version=null}
16:28:51,716 DEBUG SessionImpl:2359 - executing flush
16:28:51,716 DEBUG NormalizedEntityPersister:443 - Inserting entity: [com.sas.fsp.raptor.rules.service.RepositoryFolderImpl#131076]
16:28:51,716 DEBUG BatcherImpl:200 - about to open: 0 open PreparedStatements, 0 open ResultSets
16:28:51,716 DEBUG DriverManagerConnectionProvider:84 - total checked-out connections: 0
16:28:51,716 DEBUG DriverManagerConnectionProvider:90 - using pooled JDBC connection, pool size: 0
16:28:51,716 DEBUG SQL:226 - insert into Items (item_name, item_description, parent, item_workspace, item_lockUser, item_deleted, item_id) values (?, ?, ?, ?, ?, ?, ?)
Hibernate: insert into Items (item_name, item_description, parent, item_workspace, item_lockUser, item_deleted, item_id) values (?, ?, ?, ?, ?, ?, ?)
16:28:51,726 DEBUG BatcherImpl:249 - preparing statement
16:28:51,726 DEBUG BatcherImpl:200 - about to open: 1 open PreparedStatements, 0 open ResultSets
16:28:51,726 DEBUG SQL:226 - insert into Folders (item_id) values (?)
Hibernate: insert into Folders (item_id) values (?)
16:28:51,726 DEBUG BatcherImpl:249 - preparing statement
16:28:51,726 DEBUG NormalizedEntityPersister:355 - Dehydrating entity: [com.sas.fsp.raptor.rules.service.RepositoryFolderImpl#131076]
16:28:51,726 DEBUG BatcherImpl:207 - done closing: 1 open PreparedStatements, 0 open ResultSets
16:28:51,726 DEBUG BatcherImpl:269 - closing statement
16:28:51,726 DEBUG BatcherImpl:207 - done closing: 0 open PreparedStatements, 0 open ResultSets
16:28:51,726 DEBUG BatcherImpl:269 - closing statement
16:28:51,726 DEBUG NormalizedEntityPersister:676 - Updating entity: [com.sas.fsp.raptor.rules.service.RepositoryFolderImpl#131073]
16:28:51,726 DEBUG BatcherImpl:200 - about to open: 0 open PreparedStatements, 0 open ResultSets
16:28:51,726 DEBUG SQL:226 - update Items set item_name=?, item_description=?, parent=?, item_workspace=?, item_lockUser=?, item_deleted=? where item_id=?
Hibernate: update Items set item_name=?, item_description=?, parent=?, item_workspace=?, item_lockUser=?, item_deleted=? where item_id=?
16:28:51,726 DEBUG BatcherImpl:249 - preparing statement
16:28:51,726 DEBUG NormalizedEntityPersister:355 - Dehydrating entity: [com.sas.fsp.raptor.rules.service.RepositoryFolderImpl#131073]
16:28:51,736 DEBUG BatcherImpl:207 - done closing: 0 open PreparedStatements, 0 open ResultSets
16:28:51,736 DEBUG BatcherImpl:269 - closing statement
16:28:51,736 DEBUG SessionImpl:2824 - post flush
16:28:51,736 DEBUG SessionImpl:573 - closing session
16:28:51,736 DEBUG SessionImpl:3336 - disconnecting session
16:28:51,736 DEBUG DriverManagerConnectionProvider:120 - returning connection to pool, pool size: 1
16:28:51,736 DEBUG SessionImpl:585 - transaction completion
16:28:51,736 DEBUG UpdateTimestampsCache:51 - Invalidating space [Folders]
16:28:51,736 DEBUG UpdateTimestampsCache:51 - Invalidating space [Items]
16:28:51,736 DEBUG UpdateTimestampsCache:51 - Invalidating space [Folders]
16:28:51,736 DEBUG UpdateTimestampsCache:51 - Invalidating space [Items]