-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: TwoPhaseLoad instantiation
PostPosted: Wed Feb 20, 2008 12:51 pm 
Newbie

Joined: Wed Feb 20, 2008 10:21 am
Posts: 8
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version:
3.2.0.cr5
Mapping documents:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="de.mpicbg.db.endotrack.model.ProjectComponent"
table="PROJECT_COMPONENT">
<id name="id" column="ID">
<generator class="assigned" />
</id>
<version name="version" column="VERSION" unsaved-value="null" />
<property name="name" column="NAME" type="text"/>
<property name="description" column="DESCRIPTION" type="text"/>
<property name="code" column="CODE"/>
<property name="type" column="TYPE"/>

<set name="allowableParentTypes" lazy="false">
<key column="TYPE_ID" />
<element type="string" />
</set>
<set name="allowableChildTypes" lazy="false">
<key column="TYPE_ID" />
<element type="string" />
</set>
<set name="childComponents" cascade="save-update" table="CHILD_COMPONENT" >
<key column="PARENT_ID" />
<many-to-many
class="de.mpicbg.db.endotrack.model.ProjectComponent" column="CHILD_ID" />
</set>
<set name="parentComponents" cascade="save-update" table="PARENT_COMPONENT">
<key column="CHILD_ID" />
<many-to-many
class="de.mpicbg.db.endotrack.model.ProjectComponent" column="PARENT_ID"/>
</set>

<joined-subclass name="de.mpicbg.db.endotrack.model.WorkItem"
table="WORKITEM">
<key column="ID" />
<property name="endDate" column="END_DATE" />
<property name="startDate" column="START_DATE" />

<many-to-one name="leadOrganisation"
column="LEAD_ORGANISATION" cascade="save-update" />

<set name="secondaryOrganisations" cascade="save-update">
<key column="WORKITEM_ID" />
<many-to-many
class="de.mpicbg.db.endotrack.model.Organisation" column="ORGANISATION_ID"/>
</set>

<joined-subclass
name="de.mpicbg.db.endotrack.model.SimpleWorkItem"
table="SIMPLEWORKITEM">
<key column="ID" />
</joined-subclass>

</joined-subclass>
</class>
</hibernate-mapping>

Code between sessionFactory.openSession() and session.close():
Running with Spring Abstract Hibernate Dao, however code is:
public List<Identifiable> getAll(Class clazz) {
logger.debug("getAll - " + clazz.getName());
final Class<?> finalClazz = clazz;
return (List<Identifiable>) getHibernateTemplate().execute(
new HibernateCallback() {
public Object doInHibernate(Session session) {
Criteria criteria = session.createCriteria(finalClazz);
if (AbstractNamedObject.class
.isAssignableFrom(finalClazz)) {
criteria.addOrder(Order.asc("name"));
}
return criteria.list();
}
});
}
Full stack trace of any exception that occurs:
Caused by:
org.hibernate.PropertyAccessException: Exception occurred inside setter of de.mpicbg.db.endotrack.model.AbstractProjectComponent.parentComponents
at org.hibernate.property.BasicPropertyAccessor$BasicSetter.set(BasicPropertyAccessor.java:65)
at org.hibernate.tuple.entity.AbstractEntityTuplizer.setPropertyValues(AbstractEntityTuplizer.java:337)
at org.hibernate.tuple.entity.PojoEntityTuplizer.setPropertyValues(PojoEntityTuplizer.java:200)
at org.hibernate.persister.entity.AbstractEntityPersister.setPropertyValues(AbstractEntityPersister.java:3499)
at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:129)
at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:842)
at org.hibernate.loader.Loader.doQuery(Loader.java:717)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
at org.hibernate.loader.Loader.doList(Loader.java:2157)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2041)
at org.hibernate.loader.Loader.list(Loader.java:2036)
at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:95)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1569)
at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:283)
at de.mpicbg.db.endotrack.dao.hibernate.WorkItemHibernateDao$1.doInHibernate(WorkItemHibernateDao.java:121)
at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:367)
at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:333)
at de.mpicbg.db.endotrack.dao.hibernate.WorkItemHibernateDao.getAll(WorkItemHibernateDao.java:108)
at de.mpicbg.db.common.service.impl.AbstractServiceImpl.getAll(AbstractServiceImpl.java:56)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:299)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy12.getAll(Unknown Source)
at de.mpicbg.db.endotrack.controller.WorkItemController.handleRequestInternal(WorkItemController.java:75)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:819)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:754)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:399)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:354)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:229)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:106)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:286)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:613)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.hibernate.property.BasicPropertyAccessor$BasicSetter.set(BasicPropertyAccessor.java:42)
... 75 more
Caused by: java.lang.IllegalArgumentException: invalid parent type de.mpicbg.db.endotrack.model.SimpleWorkItem@1377b9[de.mpicbg.db.endotrack.model.SimpleWorkItem@1377b9[de.mpicbg.db.endotrack.model.SimpleWorkItem@428496f4,id=73c6a988-7a39-47ed-8926-83c1a143aeae],name=] : null must be a type of one of the following : [WORKPACKAGE, DELIVERABLE]
at de.mpicbg.db.endotrack.model.AbstractProjectComponent.addParentComponent(AbstractProjectComponent.java:202)
at de.mpicbg.db.endotrack.model.AbstractProjectComponent.setParentComponents(AbstractProjectComponent.java:175)
... 80 more

Name and version of the database you are using:
Postgres 8.2
The generated SQL (show_sql=true):
select parentcomp0_.CHILD_ID as CHILD1_1_, parentcomp0_.PARENT_ID as PARENT2_1_, projectcom1_.ID as ID9_0_, projectcom1_.VERSION as VERSION9_0_, projectcom1_.NAME as NAME9_0_, projectcom1_.DESCRIPTION as DESCRIPT4_9_0_, projectcom1_.CODE as CODE9_0_, projectcom1_.TYPE as TYPE9_0_, projectcom1_1_.END_DATE as END2_14_0_, projectcom1_1_.START_DATE as START3_14_0_, projectcom1_1_.LEAD_ORGANISATION as LEAD4_14_0_, case when projectcom1_2_.ID is not null then 2 when projectcom1_1_.ID is not null then 1 when projectcom1_.ID is not null then 0 end as clazz_0_ from PARENT_COMPONENT parentcomp0_ left outer join PROJECT_COMPONENT projectcom1_ on parentcomp0_.PARENT_ID=projectcom1_.ID left outer join WORKITEM projectcom1_1_ on projectcom1_.ID=projectcom1_1_.ID left outer join SIMPLEWORKITEM projectcom1_2_ on projectcom1_.ID=projectcom1_2_.ID where parentcomp0_.CHILD_ID=?
Debug level Hibernate log excerpt:
AbstractBatcher - about to open ResultSet (open ResultSets: 0, globally: 0)
[DEBUG] 17:36:56 Loader - result row: EntityKey[de.mpicbg.db.endotrack.model.WorkItem#3615f5ee-4bd4-41cc-a941-a4cb771bad9b]
[DEBUG] 17:36:56 AbstractDescribable - constructor
[DEBUG] 17:36:56 DescribableHelper - constructor
[DEBUG] 17:36:56 AbstractWorkItem - constructor
[DEBUG] 17:36:56 SimpleWorkItem - constructor
[DEBUG] 17:36:56 Loader - result row: EntityKey[de.mpicbg.db.endotrack.model.WorkItem#73c6a988-7a39-47ed-8926-83c1a143aeae]
[DEBUG] 17:36:56 AbstractDescribable - constructor
[DEBUG] 17:36:56 DescribableHelper - constructor
[DEBUG] 17:36:56 AbstractWorkItem - constructor
[DEBUG] 17:36:56 SimpleWorkItem - constructor
[DEBUG] 17:36:56 AbstractBatcher - about to close ResultSet (open ResultSets: 1, globally: 1)
[DEBUG] 17:36:56 AbstractBatcher - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
[DEBUG] 17:36:56 TwoPhaseLoad - resolving associations for [de.mpicbg.db.endotrack.model.SimpleWorkItem#3615f5ee-4bd4-41cc-a941-a4cb771bad9b]
[DEBUG] 17:36:56 AbstractNamedObject - setName - Generation of tools required to study GF-GFR endocytic trafficking and signaling in cellular systems.
[DEBUG] 17:36:56 AbstractProjectComponent - setDescription - In preparation for the analysis of trafficking andsignalling components along the endocytic routes and thekinetics of GF-GFR transport we will generate therequired specific tools for each GF system. Suchreagents will be exchanged between participants inEndoTrack and include: 1. Plasmids expressingfluorescently tagged version of most GFRs are alreadyavailable in the EndoTrack laboratories. For selectedGFRs, mutated GFR constructs will be also prepared.Stable cell lines expressing these constructs will begenerated by Zerial in cooperation with the HT-TDS (P1a,MPI-CBG). HeLa cells will be used as the routineexplorative cell line, i.e. a ?workhorse? for preferablyall GFRs. This strategic decision is justified by theirversatility and efficiency of transfection and by thefact that all endocytic routes are operational in thiscell line. Other reporter cell lines are either alreadyavailable, or will be generated by transfection, orderivation from animal model systems (WP3). 2. For PDGF,EGF, BMP and Activin A, fluorescently labeled GFs willbe generated for microscopy-based assays. For ECL-basedkinetic measurements, GFs will be labeled with theruthenium tag or biotin (see WP5). Dependent on theassay, suitable antibodies against the respective GFsand GFRs will be raised and conjugated in the same way.MPI-CBG (P1a) will provide through a subcontractor apanel of ruthenium tagged anti-species antibodies. Theseexperiments will be carried out by Zerial in cooperationwith the HT-TDS (P1a, MPI-CBG), Miaczynska (P5, IIMCB),Murphy (P11, BRI).
[DEBUG] 17:36:56 AbstractProjectComponent - set code - T1
[DEBUG] 17:36:56 AbstractProjectComponent - set type - TASK
[DEBUG] 17:36:56 Loader - loading collection: [de.mpicbg.db.endotrack.model.ProjectComponent.childComponents#3615f5ee-4bd4-41cc-a941-a4cb771bad9b]
[DEBUG] 17:36:56 AbstractBatcher - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
[DEBUG] 17:36:56 SQL - select childcompo0_.PARENT_ID as PARENT1_1_, childcompo0_.CHILD_ID as CHILD2_1_, projectcom1_.ID as ID9_0_, projectcom1_.VERSION as VERSION9_0_, projectcom1_.NAME as NAME9_0_, projectcom1_.DESCRIPTION as DESCRIPT4_9_0_, projectcom1_.CODE as CODE9_0_, projectcom1_.TYPE as TYPE9_0_, projectcom1_1_.END_DATE as END2_14_0_, projectcom1_1_.START_DATE as START3_14_0_, projectcom1_1_.LEAD_ORGANISATION as LEAD4_14_0_, case when projectcom1_2_.ID is not null then 2 when projectcom1_1_.ID is not null then 1 when projectcom1_.ID is not null then 0 end as clazz_0_ from CHILD_COMPONENT childcompo0_ left outer join PROJECT_COMPONENT projectcom1_ on childcompo0_.CHILD_ID=projectcom1_.ID left outer join WORKITEM projectcom1_1_ on projectcom1_.ID=projectcom1_1_.ID left outer join SIMPLEWORKITEM projectcom1_2_ on projectcom1_.ID=projectcom1_2_.ID where childcompo0_.PARENT_ID=?
[DEBUG] 17:36:56 AbstractBatcher - about to open ResultSet (open ResultSets: 0, globally: 0)
[DEBUG] 17:36:56 Loader - result set contains (possibly empty) collection: [de.mpicbg.db.endotrack.model.ProjectComponent.childComponents#3615f5ee-4bd4-41cc-a941-a4cb771bad9b]
[DEBUG] 17:36:56 AbstractBatcher - about to close ResultSet (open ResultSets: 1, globally: 1)
[DEBUG] 17:36:56 AbstractBatcher - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
[DEBUG] 17:36:56 CollectionLoadContext - 1 collections were found in result set for role: de.mpicbg.db.endotrack.model.ProjectComponent.childComponents
[DEBUG] 17:36:56 CollectionLoadContext - collection fully initialized: [de.mpicbg.db.endotrack.model.ProjectComponent.childComponents#3615f5ee-4bd4-41cc-a941-a4cb771bad9b]
[DEBUG] 17:36:56 CollectionLoadContext - 1 collections initialized for role: de.mpicbg.db.endotrack.model.ProjectComponent.childComponents
[DEBUG] 17:36:56 Loader - done loading collection
[DEBUG] 17:36:56 AbstractProjectComponent - T1 : set child components - []
[DEBUG] 17:36:56 Loader - loading collection: [de.mpicbg.db.endotrack.model.ProjectComponent.parentComponents#3615f5ee-4bd4-41cc-a941-a4cb771bad9b]
[DEBUG] 17:36:56 AbstractBatcher - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
[DEBUG] 17:36:56 SQL - select parentcomp0_.CHILD_ID as CHILD1_1_, parentcomp0_.PARENT_ID as PARENT2_1_, projectcom1_.ID as ID9_0_, projectcom1_.VERSION as VERSION9_0_, projectcom1_.NAME as NAME9_0_, projectcom1_.DESCRIPTION as DESCRIPT4_9_0_, projectcom1_.CODE as CODE9_0_, projectcom1_.TYPE as TYPE9_0_, projectcom1_1_.END_DATE as END2_14_0_, projectcom1_1_.START_DATE as START3_14_0_, projectcom1_1_.LEAD_ORGANISATION as LEAD4_14_0_, case when projectcom1_2_.ID is not null then 2 when projectcom1_1_.ID is not null then 1 when projectcom1_.ID is not null then 0 end as clazz_0_ from PARENT_COMPONENT parentcomp0_ left outer join PROJECT_COMPONENT projectcom1_ on parentcomp0_.PARENT_ID=projectcom1_.ID left outer join WORKITEM projectcom1_1_ on projectcom1_.ID=projectcom1_1_.ID left outer join SIMPLEWORKITEM projectcom1_2_ on projectcom1_.ID=projectcom1_2_.ID where parentcomp0_.CHILD_ID=?
[DEBUG] 17:36:56 AbstractBatcher - about to open ResultSet (open ResultSets: 0, globally: 0)
[DEBUG] 17:36:56 Loader - result set contains (possibly empty) collection: [de.mpicbg.db.endotrack.model.ProjectComponent.parentComponents#3615f5ee-4bd4-41cc-a941-a4cb771bad9b]
[DEBUG] 17:36:56 Loader - result row: EntityKey[de.mpicbg.db.endotrack.model.ProjectComponent#73c6a988-7a39-47ed-8926-83c1a143aeae]
[DEBUG] 17:36:56 Loader - found row of collection: [de.mpicbg.db.endotrack.model.ProjectComponent.parentComponents#3615f5ee-4bd4-41cc-a941-a4cb771bad9b]
[DEBUG] 17:36:56 AbstractBatcher - about to close ResultSet (open ResultSets: 1, globally: 1)
[DEBUG] 17:36:56 AbstractBatcher - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
[DEBUG] 17:36:56 CollectionLoadContext - 1 collections were found in result set for role: de.mpicbg.db.endotrack.model.ProjectComponent.parentComponents
[DEBUG] 17:36:56 CollectionLoadContext - collection fully initialized: [de.mpicbg.db.endotrack.model.ProjectComponent.parentComponents#3615f5ee-4bd4-41cc-a941-a4cb771bad9b]
[DEBUG] 17:36:56 CollectionLoadContext - 1 collections initialized for role: de.mpicbg.db.endotrack.model.ProjectComponent.parentComponents
[DEBUG] 17:36:56 Loader - done loading collection
[DEBUG] 17:36:56 AbstractProjectComponent - T1 : set parent components - [de.mpicbg.db.endotrack.model.SimpleWorkItem@1377b9[de.mpicbg.db.endotrack.model.SimpleWorkItem@1377b9[de.mpicbg.db.endotrack.model.SimpleWorkItem@428496f4,id=73c6a988-7a39-47ed-8926-83c1a143aeae],name=] : null]
[DEBUG] 17:36:56 AbstractProjectComponent - addParentComponent - de.mpicbg.db.endotrack.model.SimpleWorkItem@1377b9[de.mpicbg.db.endotrack.model.SimpleWorkItem@1377b9[de.mpicbg.db.endotrack.model.SimpleWorkItem@428496f4,id=73c6a988-7a39-47ed-8926-83c1a143aeae],name=] : null
[DEBUG] 17:36:56 AbstractPersistentObject - equals : de.mpicbg.db.endotrack.model.SimpleWorkItem@1377b9[de.mpicbg.db.endotrack.model.SimpleWorkItem@1377b9[de.mpicbg.db.endotrack.model.SimpleWorkItem@428496f4,id=73c6a988-7a39-47ed-8926-83c1a143aeae],name=] : null : other : de.mpicbg.db.endotrack.model.SimpleWorkItem@e46a9d[de.mpicbg.db.endotrack.model.SimpleWorkItem@e46a9d[de.mpicbg.db.endotrack.model.SimpleWorkItem@544648af,id=3615f5ee-4bd4-41cc-a941-a4cb771bad9b],name=Generation of tools required to study GF-GFR endocytic trafficking and signaling in cellular systems.] : T1

Problems with Session and transaction handling?

In the mapping file I have an association where instances of a class hold two sets of instances of the same class (this is needed because I'm modelling an obtuse project specification for a large EU-wide project). The test case I ahve has two instances, one is the parent of the other. I am making a call to retrieve all the instances back. From the logs, it is creating both objects and then trying to map the associations. However when it does that it is pulling the other workitem back (as it correctly shoudl do so because it is the parent of the one being resolved). However this is then coming out of the memory cache as the object is there from the first call. When it does this - the properties I have such as code, type, name are not set on the object and my code therefore rejects the object as invalid (I have assignment criteria to attempt to impose some order on the data model). I have tried playng around with fetch and lazy settings but I am getting the same problem.

I would hav e thought that hibernate would not try to set the collections <i>childComponents</i> and <i>projectComponents</i> anyway as I am using hibernate3 which has default-lazy set to true. If it is retrieving this information then I have a problem as retriving a top level object woudl result in a retrieval for the entire db!

My questions are; have I understood the lazy model correctly and can I ask hibernate to assign some properties in the 'phase1' of the twophase loading? I'm running this via spring if case spring something to do with my issue.

Thanks - in advance for your help.

_________________
Cheers,

Neil


Top
 Profile  
 
 Post subject: Lazy Instantiation not happening
PostPosted: Thu Feb 21, 2008 7:41 am 
Newbie

Joined: Wed Feb 20, 2008 10:21 am
Posts: 8
I have boiled this down to something simpler by removing the spring layer. The code between the session open and session close is:

sesh.createCriteria(WorkItem.class).list();

So that is really quite simple but it still reports the same stack trace as above (without the spring stuff) as the log beneath shows:

class org.postgresql.Driver
0 [main] INFO org.hibernate.cfg.Environment - Hibernate 3.2.0.cr5
4 [main] INFO org.hibernate.cfg.Environment - hibernate.properties not found
6 [main] INFO org.hibernate.cfg.Environment - Bytecode provider name : cglib
10 [main] INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
61 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from file: config/hibernate/mappings/ContentItem.hbm.xml
134 [main] DEBUG org.hibernate.util.DTDEntityResolver - trying to resolve system-id [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd]
134 [main] DEBUG org.hibernate.util.DTDEntityResolver - recognized hibernate namespace; attempting to resolve on classpath under org/hibernate/
134 [main] DEBUG org.hibernate.util.DTDEntityResolver - located [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd] in classpath
254 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: de.mpicbg.db.endotrack.model.ContentItem -> CONTENTITEM
269 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: id -> ID
269 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: version -> VERSION
276 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: name -> NAME
335 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: author -> AUTHOR
336 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: description -> DESCRIPTION
336 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: data -> DATA
336 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: parentDelivery -> DELIVERY_ID
369 [main] INFO org.hibernate.cfg.HbmBinder - Mapping joined-subclass: de.mpicbg.db.endotrack.model.SimpleContentItem -> SIMPLECONTENTITEM
370 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from file: config/hibernate/mappings/DbUser.hbm.xml
372 [main] DEBUG org.hibernate.util.DTDEntityResolver - trying to resolve system-id [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd]
372 [main] DEBUG org.hibernate.util.DTDEntityResolver - recognized hibernate namespace; attempting to resolve on classpath under org/hibernate/
372 [main] DEBUG org.hibernate.util.DTDEntityResolver - located [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd] in classpath
407 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: de.mpicbg.db.common.model.DbUser -> DBUSER
408 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: id -> ID
408 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: version -> VERSION
408 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: name -> NAME
408 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: firstName -> FIRST_NAME
410 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: lastName -> LAST_NAME
410 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: emailAddress -> EMAIL_ADDRESS
410 [main] INFO org.hibernate.cfg.HbmBinder - Mapping joined-subclass: de.mpicbg.db.endotrack.model.Person -> PERSON
411 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: organisation -> organisation
412 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: password -> PASSWORD
412 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from file: config/hibernate/mappings/Delivery.hbm.xml
413 [main] DEBUG org.hibernate.util.DTDEntityResolver - trying to resolve system-id [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd]
413 [main] DEBUG org.hibernate.util.DTDEntityResolver - recognized hibernate namespace; attempting to resolve on classpath under org/hibernate/
413 [main] DEBUG org.hibernate.util.DTDEntityResolver - located [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd] in classpath
441 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: de.mpicbg.db.endotrack.model.Delivery -> DELIVERYITEM
442 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: id -> ID
442 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: version -> VERSION
442 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: name -> NAME
442 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: description -> DESCRIPTION
442 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: projectComponent -> PROJECT_COMPONENT
446 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: contentItems
446 [main] INFO org.hibernate.cfg.HbmBinder - Mapping joined-subclass: de.mpicbg.db.endotrack.model.SimpleDelivery -> SIMPLEDELIVERY
446 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from file: config/hibernate/mappings/Motd.hbm.xml
447 [main] DEBUG org.hibernate.util.DTDEntityResolver - trying to resolve system-id [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd]
447 [main] DEBUG org.hibernate.util.DTDEntityResolver - recognized hibernate namespace; attempting to resolve on classpath under org/hibernate/
447 [main] DEBUG org.hibernate.util.DTDEntityResolver - located [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd] in classpath
470 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: de.mpicbg.db.common.model.Motd -> MOTD
471 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: id -> ID
471 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: version -> VERSION
472 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: title -> TITLE
472 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: content -> CONTENT
472 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: startDate -> START_DATE
472 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: endDate -> END_DATE
472 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: quote -> QUOTE
472 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: quoteAuthor -> QUOTE_AUTHOR
473 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: lastChangedBy -> LAST_CHANGED_BY
473 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from file: config/hibernate/mappings/Organisation.hbm.xml
474 [main] DEBUG org.hibernate.util.DTDEntityResolver - trying to resolve system-id [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd]
474 [main] DEBUG org.hibernate.util.DTDEntityResolver - recognized hibernate namespace; attempting to resolve on classpath under org/hibernate/
474 [main] DEBUG org.hibernate.util.DTDEntityResolver - located [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd] in classpath
485 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: de.mpicbg.db.endotrack.model.Organisation -> ORGANISATION
485 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: id -> ID
485 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: version -> VERSION
485 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: name -> NAME
486 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: description -> DESCRIPTION
515 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: url -> URL
516 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: country -> COUNTRY
516 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: code -> CODE
516 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: shortName -> SHORT_NAME
516 [main] INFO org.hibernate.cfg.HbmBinder - Mapping joined-subclass: de.mpicbg.db.endotrack.model.SimpleOrganisation -> SIMPLEORGANISATION
516 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from file: config/hibernate/mappings/ProjectComponent.hbm.xml
519 [main] DEBUG org.hibernate.util.DTDEntityResolver - trying to resolve system-id [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd]
519 [main] DEBUG org.hibernate.util.DTDEntityResolver - recognized hibernate namespace; attempting to resolve on classpath under org/hibernate/
519 [main] DEBUG org.hibernate.util.DTDEntityResolver - located [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd] in classpath
535 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: de.mpicbg.db.endotrack.model.ProjectComponent -> PROJECT_COMPONENT
535 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: id -> ID
535 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: version -> VERSION
535 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: name -> NAME
536 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: description -> DESCRIPTION
536 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: code -> CODE
536 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: type -> TYPE
536 [main] INFO org.hibernate.cfg.HbmBinder - Mapping collection: de.mpicbg.db.endotrack.model.ProjectComponent.allowableParentTypes -> allowableParentTypes
536 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: allowableParentTypes
536 [main] INFO org.hibernate.cfg.HbmBinder - Mapping collection: de.mpicbg.db.endotrack.model.ProjectComponent.allowableChildTypes -> allowableChildTypes
536 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: allowableChildTypes
536 [main] INFO org.hibernate.cfg.HbmBinder - Mapping collection: de.mpicbg.db.endotrack.model.ProjectComponent.childComponents -> CHILD_COMPONENT
536 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: childComponents
536 [main] INFO org.hibernate.cfg.HbmBinder - Mapping collection: de.mpicbg.db.endotrack.model.ProjectComponent.parentComponents -> PARENT_COMPONENT
536 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: parentComponents
537 [main] INFO org.hibernate.cfg.HbmBinder - Mapping joined-subclass: de.mpicbg.db.endotrack.model.WorkItem -> WORKITEM
538 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: endDate -> END_DATE
538 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: startDate -> START_DATE
539 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: leadOrganisation -> LEAD_ORGANISATION
539 [main] INFO org.hibernate.cfg.HbmBinder - Mapping collection: de.mpicbg.db.endotrack.model.WorkItem.secondaryOrganisations -> secondaryOrganisations
539 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: secondaryOrganisations
539 [main] INFO org.hibernate.cfg.HbmBinder - Mapping joined-subclass: de.mpicbg.db.endotrack.model.SimpleWorkItem -> SIMPLEWORKITEM
539 [main] DEBUG org.hibernate.cfg.Configuration - processing extends queue
539 [main] DEBUG org.hibernate.cfg.Configuration - processing collection mappings
540 [main] DEBUG org.hibernate.cfg.CollectionSecondPass - Second pass for collection: de.mpicbg.db.endotrack.model.Delivery.contentItems
540 [main] INFO org.hibernate.cfg.HbmBinder - Mapping collection: de.mpicbg.db.endotrack.model.Delivery.contentItems -> CONTENTITEM
540 [main] DEBUG org.hibernate.cfg.CollectionSecondPass - Mapped collection key: DELIVERY_ID, one-to-many: de.mpicbg.db.endotrack.model.ContentItem
540 [main] DEBUG org.hibernate.cfg.CollectionSecondPass - Second pass for collection: de.mpicbg.db.endotrack.model.ProjectComponent.allowableParentTypes
540 [main] DEBUG org.hibernate.cfg.CollectionSecondPass - Mapped collection key: TYPE_ID, element: elt
540 [main] DEBUG org.hibernate.cfg.CollectionSecondPass - Second pass for collection: de.mpicbg.db.endotrack.model.ProjectComponent.allowableChildTypes
541 [main] DEBUG org.hibernate.cfg.CollectionSecondPass - Mapped collection key: TYPE_ID, element: elt
541 [main] DEBUG org.hibernate.cfg.CollectionSecondPass - Second pass for collection: de.mpicbg.db.endotrack.model.ProjectComponent.childComponents
542 [main] DEBUG org.hibernate.cfg.CollectionSecondPass - Mapped collection key: PARENT_ID, element: CHILD_ID
542 [main] DEBUG org.hibernate.cfg.CollectionSecondPass - Second pass for collection: de.mpicbg.db.endotrack.model.ProjectComponent.parentComponents
543 [main] DEBUG org.hibernate.cfg.CollectionSecondPass - Mapped collection key: CHILD_ID, element: PARENT_ID
543 [main] DEBUG org.hibernate.cfg.CollectionSecondPass - Second pass for collection: de.mpicbg.db.endotrack.model.WorkItem.secondaryOrganisations
543 [main] DEBUG org.hibernate.cfg.CollectionSecondPass - Mapped collection key: WORKITEM_ID, element: ORGANISATION_ID
543 [main] DEBUG org.hibernate.cfg.Configuration - processing native query and ResultSetMapping mappings
543 [main] DEBUG org.hibernate.cfg.Configuration - processing association property references
543 [main] DEBUG org.hibernate.cfg.Configuration - processing foreign key constraints
544 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.ProjectComponent
544 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.ProjectComponent
544 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.Delivery
544 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.Person
544 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.ProjectComponent
544 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.common.model.DbUser
545 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.ProjectComponent
545 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.ProjectComponent
545 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.Organisation
545 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.common.model.DbUser
545 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.ContentItem
545 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.Delivery
545 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.Organisation
545 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.WorkItem
545 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.Organisation
545 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.ProjectComponent
545 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.ProjectComponent
545 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.ProjectComponent
545 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.Organisation
545 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.WorkItem
545 [main] DEBUG org.hibernate.cfg.Configuration - Preparing to build session factory with filters : {}
545 [main] DEBUG org.hibernate.cfg.Configuration - processing extends queue
545 [main] DEBUG org.hibernate.cfg.Configuration - processing collection mappings
546 [main] DEBUG org.hibernate.cfg.Configuration - processing native query and ResultSetMapping mappings
546 [main] DEBUG org.hibernate.cfg.Configuration - processing association property references
546 [main] DEBUG org.hibernate.cfg.Configuration - processing foreign key constraints
546 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.ProjectComponent
546 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.ProjectComponent
546 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.Delivery
546 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.Person
546 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.ProjectComponent
546 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.common.model.DbUser
546 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.ProjectComponent
546 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.ProjectComponent
546 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.Organisation
546 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.common.model.DbUser
546 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.ContentItem
546 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.Delivery
546 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.Organisation
546 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.WorkItem
546 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.Organisation
546 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.ProjectComponent
546 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.ProjectComponent
546 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.ProjectComponent
546 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.Organisation
546 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: de.mpicbg.db.endotrack.model.WorkItem
554 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - Using Hibernate built-in connection pool (not for production use!)
554 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - Hibernate connection pool size: 1
554 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - autocommit mode: true
567 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - using driver: org.postgresql.Driver at URL: jdbc:postgresql://localhost:5432/endotrack
567 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - connection properties: {user=postgres, password=postgres, autocommit=true, shutdown=true}
567 [main] DEBUG org.hibernate.connection.DriverManagerConnectionProvider - opening new JDBC connection
657 [main] DEBUG org.hibernate.connection.DriverManagerConnectionProvider - created connection to: jdbc:postgresql://localhost:5432/endotrack, Isolation Level: 2
668 [main] INFO org.hibernate.cfg.SettingsFactory - RDBMS: PostgreSQL, version: 8.2.5
668 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC driver: PostgreSQL Native Driver, version: PostgreSQL 8.2 JDBC3 with SSL (build 506)
682 [main] INFO org.hibernate.dialect.Dialect - Using dialect: org.hibernate.dialect.PostgreSQLDialect
686 [main] INFO org.hibernate.transaction.TransactionFactoryFactory - Using default transaction strategy (direct JDBC transactions)
687 [main] INFO org.hibernate.transaction.TransactionManagerLookupFactory - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
687 [main] INFO org.hibernate.cfg.SettingsFactory - Automatic flush during beforeCompletion(): disabled
687 [main] INFO org.hibernate.cfg.SettingsFactory - Automatic session close at end of transaction: disabled
689 [main] INFO org.hibernate.cfg.SettingsFactory - Scrollable result sets: enabled
689 [main] DEBUG org.hibernate.cfg.SettingsFactory - Wrap result sets: disabled
689 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC3 getGeneratedKeys(): disabled
689 [main] INFO org.hibernate.cfg.SettingsFactory - Connection release mode: auto
689 [main] INFO org.hibernate.cfg.SettingsFactory - Default batch fetch size: 1
689 [main] INFO org.hibernate.cfg.SettingsFactory - Generate SQL with comments: disabled
690 [main] INFO org.hibernate.cfg.SettingsFactory - Order SQL updates by primary key: disabled
690 [main] INFO org.hibernate.cfg.SettingsFactory - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
692 [main] INFO org.hibernate.hql.ast.ASTQueryTranslatorFactory - Using ASTQueryTranslatorFactory
692 [main] INFO org.hibernate.cfg.SettingsFactory - Query language substitutions: {}
692 [main] INFO org.hibernate.cfg.SettingsFactory - JPA-QL strict compliance: disabled
692 [main] INFO org.hibernate.cfg.SettingsFactory - Second-level cache: enabled
692 [main] INFO org.hibernate.cfg.SettingsFactory - Query cache: disabled
692 [main] INFO org.hibernate.cfg.SettingsFactory - Cache provider: org.hibernate.cache.HashtableCacheProvider
693 [main] INFO org.hibernate.cfg.SettingsFactory - Optimize cache for minimal puts: disabled
693 [main] INFO org.hibernate.cfg.SettingsFactory - Structured second-level cache entries: disabled
697 [main] INFO org.hibernate.cfg.SettingsFactory - Echoing all SQL to stdout
697 [main] INFO org.hibernate.cfg.SettingsFactory - Statistics: disabled
697 [main] INFO org.hibernate.cfg.SettingsFactory - Deleted entity synthetic identifier rollback: disabled
697 [main] INFO org.hibernate.cfg.SettingsFactory - Default entity-mode: pojo
732 [main] INFO org.hibernate.impl.SessionFactoryImpl - building session factory
733 [main] DEBUG org.hibernate.impl.SessionFactoryImpl - Session factory constructed with filter configurations : {}
733 [main] DEBUG org.hibernate.impl.SessionFactoryImpl - instantiating session factory with properties: {java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, hibernate.connection.password=postgres, hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider, sun.boot.library.path=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries, java.vm.version=1.5.0_13-119, awt.nativeDoubleBuffering=true, hibernate.connection.username=postgres, gopherProxySet=false, java.vm.vendor=Apple Inc., java.vendor.url=http://www.apple.com/, path.separator=:, java.vm.name=Java HotSpot(TM) Client VM, file.encoding.pkg=sun.io, user.country=US, sun.java.launcher=SUN_STANDARD, sun.os.patch.level=unknown, java.vm.specification.name=Java Virtual Machine Specification, user.dir=/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk, java.runtime.version=1.5.0_13-b05-237, java.awt.graphicsenv=apple.awt.CGraphicsEnvironment, java.endorsed.dirs=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed, os.arch=i386, hibernate.connection.autocommit=true, java.io.tmpdir=/tmp, line.separator=
, java.vm.specification.vendor=Sun Microsystems Inc., os.name=Mac OS X, sun.jnu.encoding=MacRoman, java.library.path=.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java, java.specification.name=Java Platform API Specification, java.class.version=49.0, hibernate.connection.pool_size=1, sun.management.compiler=HotSpot Client Compiler, os.version=10.5.2, hibernate.connection.shutdown=true, http.nonProxyHosts=local|*.local|169.254/16|*.169.254/16, user.home=/Users/benn, user.timezone=, java.awt.printerjob=apple.awt.CPrinterJob, java.specification.version=1.5, file.encoding=MacRoman, hibernate.connection.driver_class=org.postgresql.Driver, user.name=benn, java.class.path=/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/bin:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/junit/junit-4.4.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/log4j/log4j-1.2.14.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/jakarta-commons/commons-logging.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/acegi/acegi-security-1.0.4.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/hibernate/hibernate3.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/commonsIO/commons-io-1.3.2.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/struts/struts.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/jakarta-commons/commons-lang.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/j2ee/activation.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/j2ee/connector.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/j2ee/jsp-api.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/j2ee/jstl.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/j2ee/mail.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/postgres/postgresql-8.1-407.jdbc3.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/acegi/ehcache-1.2.4.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/j2ee/ejb.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/j2ee/jaxrpc.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/j2ee/jms.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/j2ee/jta.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/j2ee/rowset.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/jstl/jstl.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/jstl/standard.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/jakarta-commons/commons-beanutils.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/jakarta-commons/commons-collections.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/jakarta-commons/commons-dbcp.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/jakarta-commons/commons-digester.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/jakarta-commons/commons-fileupload.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/jakarta-commons/commons-io.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/jakarta-commons/commons-validator.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/dom4j/dom4j-1.6.1.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/dom4j/jaxen-1.1-beta-7.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/antlr/antlr-2.7.6.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/cglib/cglib-nodep-2.1_3.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/displaytag/displaytag-1.1.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/hibernate/dom4j-1.6.1.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/hibernate/freemarker.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/hibernate/hibernate-tools.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/itext/itext-2.0.5.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/poi/poi-3.0-rc4-20070503.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/quartz/quartz-1.6.0.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/struts-menu/struts-menu-2.4.2.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/j2ee/servlet-api.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/hsqldb/hsqldb.jar:/Users/benn/devel/checkouts/svn_co/EndoTrack/EndoTrack/trunk/lib/spring/spring-framework-2.0.3/dist/spring.jar, hibernate.bytecode.use_reflection_optimizer=false, hibernate.show_sql=true, java.vm.specification.version=1.0, sun.arch.data.model=32, java.home=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home, hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect, hibernate.connection.url=jdbc:postgresql://localhost:5432/endotrack, java.specification.vendor=Sun Microsystems Inc., user.language=en, awt.toolkit=apple.awt.CToolkit, java.vm.info=mixed mode, sharing, java.version=1.5.0_13, java.ext.dirs=/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext, sun.boot.class.path=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar, java.vendor=Apple Inc., hibernate.jdbc.batch_size=0, file.separator=/, java.vendor.url.bug=http://bugreport.apple.com/, sun.cpu.endian=little, sun.io.unicode.encoding=UnicodeLittle, mrj.version=1040.1.5.0_13-237, socksNonProxyHosts=local|*.local|169.254/16|*.169.254/16, ftp.nonProxyHosts=local|*.local|169.254/16|*.169.254/16, sun.cpu.isalist=}
937 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Static SQL for entity: de.mpicbg.db.endotrack.model.WorkItem
938 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Version select: select VERSION from PROJECT_COMPONENT where ID =?
938 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Snapshot select: select workitem_.ID, workitem_1_.VERSION as VERSION9_, workitem_1_.NAME as NAME9_, workitem_1_.DESCRIPTION as DESCRIPT4_9_, workitem_1_.CODE as CODE9_, workitem_1_.TYPE as TYPE9_, workitem_.END_DATE as END2_14_, workitem_.START_DATE as START3_14_, workitem_.LEAD_ORGANISATION as LEAD4_14_ from WORKITEM workitem_ inner join PROJECT_COMPONENT workitem_1_ on workitem_.ID=workitem_1_.ID where workitem_.ID=?
938 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Insert 0: insert into PROJECT_COMPONENT (VERSION, NAME, DESCRIPTION, CODE, TYPE, ID) values (?, ?, ?, ?, ?, ?)
938 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Update 0: update PROJECT_COMPONENT set VERSION=?, NAME=?, DESCRIPTION=?, CODE=?, TYPE=? where ID=? and VERSION=?
938 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Delete 0: delete from PROJECT_COMPONENT where ID=? and VERSION=?
938 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Insert 1: insert into WORKITEM (END_DATE, START_DATE, LEAD_ORGANISATION, ID) values (?, ?, ?, ?)
938 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Update 1: update WORKITEM set END_DATE=?, START_DATE=?, LEAD_ORGANISATION=? where ID=?
938 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Delete 1: delete from WORKITEM where ID=?
942 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Static SQL for entity: de.mpicbg.db.endotrack.model.Person
942 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Version select: select VERSION from DBUSER where ID =?
942 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Snapshot select: select person_.ID, person_1_.VERSION as VERSION2_, person_1_.NAME as NAME2_, person_1_.FIRST_NAME as FIRST4_2_, person_1_.LAST_NAME as LAST5_2_, person_1_.EMAIL_ADDRESS as EMAIL6_2_, person_.organisation as organisa2_3_, person_.PASSWORD as PASSWORD3_ from PERSON person_ inner join DBUSER person_1_ on person_.ID=person_1_.ID where person_.ID=?
942 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Insert 0: insert into DBUSER (VERSION, NAME, FIRST_NAME, LAST_NAME, EMAIL_ADDRESS, ID) values (?, ?, ?, ?, ?, ?)
942 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Update 0: update DBUSER set VERSION=?, NAME=?, FIRST_NAME=?, LAST_NAME=?, EMAIL_ADDRESS=? where ID=? and VERSION=?
943 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Delete 0: delete from DBUSER where ID=? and VERSION=?
943 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Insert 1: insert into PERSON (organisation, PASSWORD, ID) values (?, ?, ?)
943 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Update 1: update PERSON set organisation=?, PASSWORD=? where ID=?
944 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Delete 1: delete from PERSON where ID=?
947 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Static SQL for entity: de.mpicbg.db.endotrack.model.SimpleOrganisation
947 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Version select: select VERSION from ORGANISATION where ID =?
947 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Snapshot select: select simpleorga_.ID, simpleorga_1_.VERSION as VERSION7_, simpleorga_1_.NAME as NAME7_, simpleorga_1_.DESCRIPTION as DESCRIPT4_7_, simpleorga_1_.URL as URL7_, simpleorga_1_.COUNTRY as COUNTRY7_, simpleorga_1_.CODE as CODE7_, simpleorga_1_.SHORT_NAME as SHORT8_7_ from SIMPLEORGANISATION simpleorga_ inner join ORGANISATION simpleorga_1_ on simpleorga_.ID=simpleorga_1_.ID where simpleorga_.ID=?
947 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Insert 0: insert into ORGANISATION (VERSION, NAME, DESCRIPTION, URL, COUNTRY, CODE, SHORT_NAME, ID) values (?, ?, ?, ?, ?, ?, ?, ?)
947 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Update 0: update ORGANISATION set VERSION=?, NAME=?, DESCRIPTION=?, URL=?, COUNTRY=?, CODE=?, SHORT_NAME=? where ID=? and VERSION=?
947 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Delete 0: delete from ORGANISATION where ID=? and VERSION=?
947 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Insert 1: insert into SIMPLEORGANISATION (ID) values (?)
947 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Update 1: null
947 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Delete 1: delete from SIMPLEORGANISATION where ID=?
960 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Static SQL for entity: de.mpicbg.db.endotrack.model.ProjectComponent
960 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Version select: select VERSION from PROJECT_COMPONENT where ID =?
960 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Snapshot select: select projectcom_.ID, projectcom_.VERSION as VERSION9_, projectcom_.NAME as NAME9_, projectcom_.DESCRIPTION as DESCRIPT4_9_, projectcom_.CODE as CODE9_, projectcom_.TYPE as TYPE9_ from PROJECT_COMPONENT projectcom_ where projectcom_.ID=?
960 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Insert 0: insert into PROJECT_COMPONENT (VERSION, NAME, DESCRIPTION, CODE, TYPE, ID) values (?, ?, ?, ?, ?, ?)
961 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Update 0: update PROJECT_COMPONENT set VERSION=?, NAME=?, DESCRIPTION=?, CODE=?, TYPE=? where ID=? and VERSION=?
961 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Delete 0: delete from PROJECT_COMPONENT where ID=? and VERSION=?
1006 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Static SQL for entity: de.mpicbg.db.endotrack.model.Organisation
1006 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Version select: select VERSION from ORGANISATION where ID =?
1006 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Snapshot select: select organisati_.ID, organisati_.VERSION as VERSION7_, organisati_.NAME as NAME7_, organisati_.DESCRIPTION as DESCRIPT4_7_, organisati_.URL as URL7_, organisati_.COUNTRY as COUNTRY7_, organisati_.CODE as CODE7_, organisati_.SHORT_NAME as SHORT8_7_ from ORGANISATION organisati_ where organisati_.ID=?
1006 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Insert 0: insert into ORGANISATION (VERSION, NAME, DESCRIPTION, URL, COUNTRY, CODE, SHORT_NAME, ID) values (?, ?, ?, ?, ?, ?, ?, ?)
1006 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Update 0: update ORGANISATION set VERSION=?, NAME=?, DESCRIPTION=?, URL=?, COUNTRY=?, CODE=?, SHORT_NAME=? where ID=? and VERSION=?
1006 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Delete 0: delete from ORGANISATION where ID=? and VERSION=?
1009 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Static SQL for entity: de.mpicbg.db.endotrack.model.SimpleDelivery
1009 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Version select: select VERSION from DELIVERYITEM where ID =?
1009 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Snapshot select: select simpledeli_.ID, simpledeli_1_.VERSION as VERSION4_, simpledeli_1_.NAME as NAME4_, simpledeli_1_.DESCRIPTION as DESCRIPT4_4_, simpledeli_1_.PROJECT_COMPONENT as PROJECT5_4_ from SIMPLEDELIVERY simpledeli_ inner join DELIVERYITEM simpledeli_1_ on simpledeli_.ID=simpledeli_1_.ID where simpledeli_.ID=?
1009 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Insert 0: insert into DELIVERYITEM (VERSION, NAME, DESCRIPTION, PROJECT_COMPONENT, ID) values (?, ?, ?, ?, ?)
1009 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Update 0: update DELIVERYITEM set VERSION=?, NAME=?, DESCRIPTION=?, PROJECT_COMPONENT=? where ID=? and VERSION=?
1009 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Delete 0: delete from DELIVERYITEM where ID=? and VERSION=?
1009 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Insert 1: insert into SIMPLEDELIVERY (ID) values (?)
1009 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Update 1: null
1009 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Delete 1: delete from SIMPLEDELIVERY where ID=?
1011 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Static SQL for entity: de.mpicbg.db.common.model.DbUser
1011 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Version select: select VERSION from DBUSER where ID =?
1011 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Snapshot select: select dbuser_.ID, dbuser_.VERSION as VERSION2_, dbuser_.NAME as NAME2_, dbuser_.FIRST_NAME as FIRST4_2_, dbuser_.LAST_NAME as LAST5_2_, dbuser_.EMAIL_ADDRESS as EMAIL6_2_ from DBUSER dbuser_ where dbuser_.ID=?
1012 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Insert 0: insert into DBUSER (VERSION, NAME, FIRST_NAME, LAST_NAME, EMAIL_ADDRESS, ID) values (?, ?, ?, ?, ?, ?)
1012 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Update 0: update DBUSER set VERSION=?, NAME=?, FIRST_NAME=?, LAST_NAME=?, EMAIL_ADDRESS=? where ID=? and VERSION=?
1012 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Delete 0: delete from DBUSER where ID=? and VERSION=?
1022 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Static SQL for entity: de.mpicbg.db.common.model.Motd
1022 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Version select: select VERSION from MOTD where ID =?
1022 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Snapshot select: select motd_.ID, motd_.VERSION as VERSION6_, motd_.TITLE as TITLE6_, motd_.CONTENT as CONTENT6_, motd_.START_DATE as START5_6_, motd_.END_DATE as END6_6_, motd_.QUOTE as QUOTE6_, motd_.QUOTE_AUTHOR as QUOTE8_6_, motd_.LAST_CHANGED_BY as LAST9_6_ from MOTD motd_ where motd_.ID=?
1022 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Insert 0: insert into MOTD (VERSION, TITLE, CONTENT, START_DATE, END_DATE, QUOTE, QUOTE_AUTHOR, LAST_CHANGED_BY, ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?)
1022 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Update 0: update MOTD set VERSION=?, TITLE=?, CONTENT=?, START_DATE=?, END_DATE=?, QUOTE=?, QUOTE_AUTHOR=?, LAST_CHANGED_BY=? where ID=? and VERSION=?
1022 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Delete 0: delete from MOTD where ID=? and VERSION=?
1033 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Static SQL for entity: de.mpicbg.db.endotrack.model.ContentItem
1033 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Version select: select VERSION from CONTENTITEM where ID =?
1033 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Snapshot select: select contentite_.ID, contentite_.VERSION as VERSION0_, contentite_.NAME as NAME0_, contentite_.AUTHOR as AUTHOR0_, contentite_.DESCRIPTION as DESCRIPT5_0_, contentite_.DATA as DATA0_, contentite_.DELIVERY_ID as DELIVERY7_0_ from CONTENTITEM contentite_ where contentite_.ID=?
1033 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Insert 0: insert into CONTENTITEM (VERSION, NAME, AUTHOR, DESCRIPTION, DATA, DELIVERY_ID, ID) values (?, ?, ?, ?, ?, ?, ?)
1033 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Update 0: update CONTENTITEM set VERSION=?, NAME=?, AUTHOR=?, DESCRIPTION=?, DATA=?, DELIVERY_ID=? where ID=? and VERSION=?
1033 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Delete 0: delete from CONTENTITEM where ID=? and VERSION=?
1045 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Static SQL for entity: de.mpicbg.db.endotrack.model.Delivery
1045 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Version select: select VERSION from DELIVERYITEM where ID =?
1045 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Snapshot select: select delivery_.ID, delivery_.VERSION as VERSION4_, delivery_.NAME as NAME4_, delivery_.DESCRIPTION as DESCRIPT4_4_, delivery_.PROJECT_COMPONENT as PROJECT5_4_ from DELIVERYITEM delivery_ where delivery_.ID=?
1045 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Insert 0: insert into DELIVERYITEM (VERSION, NAME, DESCRIPTION, PROJECT_COMPONENT, ID) values (?, ?, ?, ?, ?)
1045 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Update 0: update DELIVERYITEM set VERSION=?, NAME=?, DESCRIPTION=?, PROJECT_COMPONENT=? where ID=? and VERSION=?
1045 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Delete 0: delete from DELIVERYITEM where ID=? and VERSION=?
1048 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Static SQL for entity: de.mpicbg.db.endotrack.model.SimpleContentItem
1048 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Version select: select VERSION from CONTENTITEM where ID =?
1048 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Snapshot select: select simplecont_.ID, simplecont_1_.VERSION as VERSION0_, simplecont_1_.NAME as NAME0_, simplecont_1_.AUTHOR as AUTHOR0_, simplecont_1_.DESCRIPTION as DESCRIPT5_0_, simplecont_1_.DATA as DATA0_, simplecont_1_.DELIVERY_ID as DELIVERY7_0_ from SIMPLECONTENTITEM simplecont_ inner join CONTENTITEM simplecont_1_ on simplecont_.ID=simplecont_1_.ID where simplecont_.ID=?
1048 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Insert 0: insert into CONTENTITEM (VERSION, NAME, AUTHOR, DESCRIPTION, DATA, DELIVERY_ID, ID) values (?, ?, ?, ?, ?, ?, ?)
1048 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Update 0: update CONTENTITEM set VERSION=?, NAME=?, AUTHOR=?, DESCRIPTION=?, DATA=?, DELIVERY_ID=? where ID=? and VERSION=?
1049 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Delete 0: delete from CONTENTITEM where ID=? and VERSION=?
1049 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Insert 1: insert into SIMPLECONTENTITEM (ID) values (?)
1049 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Update 1: null
1049 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Delete 1: delete from SIMPLECONTENTITEM where ID=?
1058 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Static SQL for entity: de.mpicbg.db.endotrack.model.SimpleWorkItem
1058 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Version select: select VERSION from PROJECT_COMPONENT where ID =?
1058 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Snapshot select: select simplework_.ID, simplework_2_.VERSION as VERSION9_, simplework_2_.NAME as NAME9_, simplework_2_.DESCRIPTION as DESCRIPT4_9_, simplework_2_.CODE as CODE9_, simplework_2_.TYPE as TYPE9_, simplework_1_.END_DATE as END2_14_, simplework_1_.START_DATE as START3_14_, simplework_1_.LEAD_ORGANISATION as LEAD4_14_ from SIMPLEWORKITEM simplework_ inner join WORKITEM simplework_1_ on simplework_.ID=simplework_1_.ID inner join PROJECT_COMPONENT simplework_2_ on simplework_.ID=simplework_2_.ID where simplework_.ID=?
1058 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Insert 0: insert into PROJECT_COMPONENT (VERSION, NAME, DESCRIPTION, CODE, TYPE, ID) values (?, ?, ?, ?, ?, ?)
1059 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Update 0: update PROJECT_COMPONENT set VERSION=?, NAME=?, DESCRIPTION=?, CODE=?, TYPE=? where ID=? and VERSION=?
1059 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Delete 0: delete from PROJECT_COMPONENT where ID=? and VERSION=?
1059 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Insert 1: insert into WORKITEM (END_DATE, START_DATE, LEAD_ORGANISATION, ID) values (?, ?, ?, ?)
1059 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Update 1: update WORKITEM set END_DATE=?, START_DATE=?, LEAD_ORGANISATION=? where ID=?
1059 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Delete 1: delete from WORKITEM where ID=?
1059 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Insert 2: insert into SIMPLEWORKITEM (ID) values (?)
1059 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Update 2: null
1059 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Delete 2: delete from SIMPLEWORKITEM where ID=?
1070 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - Static SQL for collection: de.mpicbg.db.endotrack.model.ProjectComponent.parentComponents
1070 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - Row insert: insert into PARENT_COMPONENT (CHILD_ID, PARENT_ID) values (?, ?)
1070 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - Row update: update PARENT_COMPONENT set PARENT_ID=? where CHILD_ID=? and PARENT_ID=?
1070 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - Row delete: delete from PARENT_COMPONENT where CHILD_ID=? and PARENT_ID=?
1070 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - One-shot delete: delete from PARENT_COMPONENT where CHILD_ID=?
1070 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - Static SQL for collection: de.mpicbg.db.endotrack.model.ProjectComponent.childComponents
1070 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - Row insert: insert into CHILD_COMPONENT (PARENT_ID, CHILD_ID) values (?, ?)
1070 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - Row update: update CHILD_COMPONENT set CHILD_ID=? where PARENT_ID=? and CHILD_ID=?
1070 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - Row delete: delete from CHILD_COMPONENT where PARENT_ID=? and CHILD_ID=?
1071 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - One-shot delete: delete from CHILD_COMPONENT where PARENT_ID=?
1071 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - Static SQL for collection: de.mpicbg.db.endotrack.model.WorkItem.secondaryOrganisations
1071 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - Row insert: insert into secondaryOrganisations (WORKITEM_ID, ORGANISATION_ID) values (?, ?)
1072 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - Row update: update secondaryOrganisations set ORGANISATION_ID=? where WORKITEM_ID=? and ORGANISATION_ID=?
1072 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - Row delete: delete from secondaryOrganisations where WORKITEM_ID=? and ORGANISATION_ID=?
1072 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - One-shot delete: delete from secondaryOrganisations where WORKITEM_ID=?
1072 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - Static SQL for collection: de.mpicbg.db.endotrack.model.ProjectComponent.allowableParentTypes
1072 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - Row insert: insert into allowableParentTypes (TYPE_ID, elt) values (?, ?)
1072 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - Row update: update allowableParentTypes set elt=? where TYPE_ID=? and elt=?
1072 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - Row delete: delete from allowableParentTypes where TYPE_ID=? and elt=?
1072 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - One-shot delete: delete from allowableParentTypes where TYPE_ID=?
1074 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - Static SQL for collection: de.mpicbg.db.endotrack.model.Delivery.contentItems
1074 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - Row insert: update CONTENTITEM set DELIVERY_ID=? where ID=?
1074 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - Row delete: update CONTENTITEM set DELIVERY_ID=null where DELIVERY_ID=? and ID=?
1074 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - One-shot delete: update CONTENTITEM set DELIVERY_ID=null where DELIVERY_ID=?
1074 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - Static SQL for collection: de.mpicbg.db.endotrack.model.ProjectComponent.allowableChildTypes
1074 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - Row insert: insert into allowableChildTypes (TYPE_ID, elt) values (?, ?)
1074 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - Row update: update allowableChildTypes set elt=? where TYPE_ID=? and elt=?
1074 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - Row delete: delete from allowableChildTypes where TYPE_ID=? and elt=?
1074 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - One-shot delete: delete from allowableChildTypes where TYPE_ID=?
1094 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity de.mpicbg.db.endotrack.model.Person: select person0_.ID as ID2_0_, person0_1_.VERSION as VERSION2_0_, person0_1_.NAME as NAME2_0_, person0_1_.FIRST_NAME as FIRST4_2_0_, person0_1_.LAST_NAME as LAST5_2_0_, person0_1_.EMAIL_ADDRESS as EMAIL6_2_0_, person0_.organisation as organisa2_3_0_, person0_.PASSWORD as PASSWORD3_0_ from PERSON person0_ inner join DBUSER person0_1_ on person0_.ID=person0_1_.ID where person0_.ID=?
1094 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity de.mpicbg.db.endotrack.model.Person: select person0_.ID as ID2_0_, person0_1_.VERSION as VERSION2_0_, person0_1_.NAME as NAME2_0_, person0_1_.FIRST_NAME as FIRST4_2_0_, person0_1_.LAST_NAME as LAST5_2_0_, person0_1_.EMAIL_ADDRESS as EMAIL6_2_0_, person0_.organisation as organisa2_3_0_, person0_.PASSWORD as PASSWORD3_0_ from PERSON person0_ inner join DBUSER person0_1_ on person0_.ID=person0_1_.ID where person0_.ID=?
1095 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity de.mpicbg.db.endotrack.model.Person: select person0_.ID as ID2_0_, person0_1_.VERSION as VERSION2_0_, person0_1_.NAME as NAME2_0_, person0_1_.FIRST_NAME as FIRST4_2_0_, person0_1_.LAST_NAME as LAST5_2_0_, person0_1_.EMAIL_ADDRESS as EMAIL6_2_0_, person0_.organisation as organisa2_3_0_, person0_.PASSWORD as PASSWORD3_0_ from PERSON person0_ inner join DBUSER person0_1_ on person0_.ID=person0_1_.ID where person0_.ID=? for update
1095 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity de.mpicbg.db.endotrack.model.Person: select person0_.ID as ID2_0_, person0_1_.VERSION as VERSION2_0_, person0_1_.NAME as NAME2_0_, person0_1_.FIRST_NAME as FIRST4_2_0_, person0_1_.LAST_NAME as LAST5_2_0_, person0_1_.EMAIL_ADDRESS as EMAIL6_2_0_, person0_.organisation as organisa2_3_0_, person0_.PASSWORD as PASSWORD3_0_ from PERSON person0_ inner join DBUSER person0_1_ on person0_.ID=person0_1_.ID where person0_.ID=? for update
1095 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity de.mpicbg.db.endotrack.model.Person: select person0_.ID as ID2_0_, person0_1_.VERSION as VERSION2_0_, person0_1_.NAME as NAME2_0_, person0_1_.FIRST_NAME as FIRST4_2_0_, person0_1_.LAST_NAME as LAST5_2_0_, person0_1_.EMAIL_ADDRESS as EMAIL6_2_0_, person0_.organisation as organisa2_3_0_, person0_.PASSWORD as PASSWORD3_0_ from PERSON person0_ inner join DBUSER person0_1_ on person0_.ID=person0_1_.ID where person0_.ID=? for update
1101 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for action ACTION_MERGE on entity de.mpicbg.db.endotrack.model.Person: select person0_.ID as ID2_0_, person0_1_.VERSION as VERSION2_0_, person0_1_.NAME as NAME2_0_, person0_1_.FIRST_NAME as FIRST4_2_0_, person0_1_.LAST_NAME as LAST5_2_0_, person0_1_.EMAIL_ADDRESS as EMAIL6_2_0_, person0_.organisation as organisa2_3_0_, person0_.PASSWORD as PASSWORD3_0_ from PERSON person0_ inner join DBUSER person0_1_ on person0_.ID=person0_1_.ID where person0_.ID=?
1101 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for action ACTION_REFRESH on entity de.mpicbg.db.endotrack.model.Person: select person0_.ID as ID2_0_, person0_1_.VERSION as VERSION2_0_, person0_1_.NAME as NAME2_0_, person0_1_.FIRST_NAME as FIRST4_2_0_, person0_1_.LAST_NAME as LAST5_2_0_, person0_1_.EMAIL_ADDRESS as EMAIL6_2_0_, person0_.organisation as organisa2_3_0_, person0_.PASSWORD as PASSWORD3_0_ from PERSON person0_ inner join DBUSER person0_1_ on person0_.ID=person0_1_.ID where person0_.ID=?
1102 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity de.mpicbg.db.endotrack.model.WorkItem: select workitem0_.ID as ID9_0_, workitem0_1_.VERSION as VERSION9_0_, workitem0_1_.NAME as NAME9_0_, workitem0_1_.DESCRIPTION as DESCRIPT4_9_0_, workitem0_1_.CODE as CODE9_0_, workitem0_1_.TYPE as TYPE9_0_, workitem0_.END_DATE as END2_14_0_, workitem0_.START_DATE as START3_14_0_, workitem0_.LEAD_ORGANISATION as LEAD4_14_0_, case when workitem0_2_.ID is not null then 2 when workitem0_.ID is not null then 1 end as clazz_0_ from WORKITEM workitem0_ inner join PROJECT_COMPONENT workitem0_1_ on workitem0_.ID=workitem0_1_.ID left outer join SIMPLEWORKITEM workitem0_2_ on workitem0_.ID=workitem0_2_.ID where workitem0_.ID=?
1102 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity de.mpicbg.db.endotrack.model.WorkItem: select workitem0_.ID as ID9_0_, workitem0_1_.VERSION as VERSION9_0_, workitem0_1_.NAME as NAME9_0_, workitem0_1_.DESCRIPTION as DESCRIPT4_9_0_, workitem0_1_.CODE as CODE9_0_, workitem0_1_.TYPE as TYPE9_0_, workitem0_.END_DATE as END2_14_0_, workitem0_.START_DATE as START3_14_0_, workitem0_.LEAD_ORGANISATION as LEAD4_14_0_, case when workitem0_2_.ID is not null then 2 when workitem0_.ID is not null then 1 end as clazz_0_ from WORKITEM workitem0_ inner join PROJECT_COMPONENT workitem0_1_ on workitem0_.ID=workitem0_1_.ID left outer join SIMPLEWORKITEM workitem0_2_ on workitem0_.ID=workitem0_2_.ID where workitem0_.ID=?
1103 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for action ACTION_MERGE on entity de.mpicbg.db.endotrack.model.WorkItem: select workitem0_.ID as ID9_0_, workitem0_1_.VERSION as VERSION9_0_, workitem0_1_.NAME as NAME9_0_, workitem0_1_.DESCRIPTION as DESCRIPT4_9_0_, workitem0_1_.CODE as CODE9_0_, workitem0_1_.TYPE as TYPE9_0_, workitem0_.END_DATE as END2_14_0_, workitem0_.START_DATE as START3_14_0_, workitem0_.LEAD_ORGANISATION as LEAD4_14_0_, case when workitem0_2_.ID is not null then 2 when workitem0_.ID is not null then 1 end as clazz_0_ from WORKITEM workitem0_ inner join PROJECT_COMPONENT workitem0_1_ on workitem0_.ID=workitem0_1_.ID left outer join SIMPLEWORKITEM workitem0_2_ on workitem0_.ID=workitem0_2_.ID where workitem0_.ID=?
1104 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for action ACTION_REFRESH on entity de.mpicbg.db.endotrack.model.WorkItem: select workitem0_.ID as ID9_0_, workitem0_1_.VERSION as VERSION9_0_, workitem0_1_.NAME as NAME9_0_, workitem0_1_.DESCRIPTION as DESCRIPT4_9_0_, workitem0_1_.CODE as CODE9_0_, workitem0_1_.TYPE as TYPE9_0_, workitem0_.END_DATE as END2_14_0_, workitem0_.START_DATE as START3_14_0_, workitem0_.LEAD_ORGANISATION as LEAD4_14_0_, case when workitem0_2_.ID is not null then 2 when workitem0_.ID is not null then 1 end as clazz_0_ from WORKITEM workitem0_ inner join PROJECT_COMPONENT workitem0_1_ on workitem0_.ID=workitem0_1_.ID left outer join SIMPLEWORKITEM workitem0_2_ on workitem0_.ID=workitem0_2_.ID where workitem0_.ID=?
1104 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity de.mpicbg.db.endotrack.model.SimpleOrganisation: select simpleorga0_.ID as ID7_0_, simpleorga0_1_.VERSION as VERSION7_0_, simpleorga0_1_.NAME as NAME7_0_, simpleorga0_1_.DESCRIPTION as DESCRIPT4_7_0_, simpleorga0_1_.URL as URL7_0_, simpleorga0_1_.COUNTRY as COUNTRY7_0_, simpleorga0_1_.CODE as CODE7_0_, simpleorga0_1_.SHORT_NAME as SHORT8_7_0_ from SIMPLEORGANISATION simpleorga0_ inner join ORGANISATION simpleorga0_1_ on simpleorga0_.ID=simpleorga0_1_.ID where simpleorga0_.ID=?
1104 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity de.mpicbg.db.endotrack.model.SimpleOrganisation: select simpleorga0_.ID as ID7_0_, simpleorga0_1_.VERSION as VERSION7_0_, simpleorga0_1_.NAME as NAME7_0_, simpleorga0_1_.DESCRIPTION as DESCRIPT4_7_0_, simpleorga0_1_.URL as URL7_0_, simpleorga0_1_.COUNTRY as COUNTRY7_0_, simpleorga0_1_.CODE as CODE7_0_, simpleorga0_1_.SHORT_NAME as SHORT8_7_0_ from SIMPLEORGANISATION simpleorga0_ inner join ORGANISATION simpleorga0_1_ on simpleorga0_.ID=simpleorga0_1_.ID where simpleorga0_.ID=?
1104 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity de.mpicbg.db.endotrack.model.SimpleOrganisation: select simpleorga0_.ID as ID7_0_, simpleorga0_1_.VERSION as VERSION7_0_, simpleorga0_1_.NAME as NAME7_0_, simpleorga0_1_.DESCRIPTION as DESCRIPT4_7_0_, simpleorga0_1_.URL as URL7_0_, simpleorga0_1_.COUNTRY as COUNTRY7_0_, simpleorga0_1_.CODE as CODE7_0_, simpleorga0_1_.SHORT_NAME as SHORT8_7_0_ from SIMPLEORGANISATION simpleorga0_ inner join ORGANISATION simpleorga0_1_ on simpleorga0_.ID=simpleorga0_1_.ID where simpleorga0_.ID=? for update
1104 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity de.mpicbg.db.endotrack.model.SimpleOrganisation: select simpleorga0_.ID as ID7_0_, simpleorga0_1_.VERSION as VERSION7_0_, simpleorga0_1_.NAME as NAME7_0_, simpleorga0_1_.DESCRIPTION as DESCRIPT4_7_0_, simpleorga0_1_.URL as URL7_0_, simpleorga0_1_.COUNTRY as COUNTRY7_0_, simpleorga0_1_.CODE as CODE7_0_, simpleorga0_1_.SHORT_NAME as SHORT8_7_0_ from SIMPLEORGANISATION simpleorga0_ inner join ORGANISATION simpleorga0_1_ on simpleorga0_.ID=simpleorga0_1_.ID where simpleorga0_.ID=? for update
1104 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity de.mpicbg.db.endotrack.model.SimpleOrganisation: select simpleorga0_.ID as ID7_0_, simpleorga0_1_.VERSION as VERSION7_0_, simpleorga0_1_.NAME as NAME7_0_, simpleorga0_1_.DESCRIPTION as DESCRIPT4_7_0_, simpleorga0_1_.URL as URL7_0_, simpleorga0_1_.COUNTRY as COUNTRY7_0_, simpleorga0_1_.CODE as CODE7_0_, simpleorga0_1_.SHORT_NAME as SHORT8_7_0_ from SIMPLEORGANISATION simpleorga0_ inner join ORGANISATION simpleorga0_1_ on simpleorga0_.ID=simpleorga0_1_.ID where simpleorga0_.ID=? for update
1105 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for action ACTION_MERGE on entity de.mpicbg.db.endotrack.model.SimpleOrganisation: select simpleorga0_.ID as ID7_0_, simpleorga0_1_.VERSION as VERSION7_0_, simpleorga0_1_.NAME as NAME7_0_, simpleorga0_1_.DESCRIPTION as DESCRIPT4_7_0_, simpleorga0_1_.URL as URL7_0_, simpleorga0_1_.COUNTRY as COUNTRY7_0_, simpleorga0_1_.CODE as CODE7_0_, simpleorga0_1_.SHORT_NAME as SHORT8_7_0_ from SIMPLEORGANISATION simpleorga0_ inner join ORGANISATION simpleorga0_1_ on simpleorga0_.ID=simpleorga0_1_.ID where simpleorga0_.ID=?
1105 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for action ACTION_REFRESH on entity de.mpicbg.db.endotrack.model.SimpleOrganisation: select simpleorga0_.ID as ID7_0_, simpleorga0_1_.VERSION as VERSION7_0_, simpleorga0_1_.NAME as NAME7_0_, simpleorga0_1_.DESCRIPTION as DESCRIPT4_7_0_, simpleorga0_1_.URL as URL7_0_, simpleorga0_1_.COUNTRY as COUNTRY7_0_, simpleorga0_1_.CODE as CODE7_0_, simpleorga0_1_.SHORT_NAME as SHORT8_7_0_ from SIMPLEORGANISATION simpleorga0_ inner join ORGANISATION simpleorga0_1_ on simpleorga0_.ID=simpleorga0_1_.ID where simpleorga0_.ID=?
1105 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity de.mpicbg.db.common.model.DbUser: select dbuser0_.ID as ID2_0_, dbuser0_.VERSION as VERSION2_0_, dbuser0_.NAME as NAME2_0_, dbuser0_.FIRST_NAME as FIRST4_2_0_, dbuser0_.LAST_NAME as LAST5_2_0_, dbuser0_.EMAIL_ADDRESS as EMAIL6_2_0_, dbuser0_1_.organisation as organisa2_3_0_, dbuser0_1_.PASSWORD as PASSWORD3_0_, case when dbuser0_1_.ID is not null then 1 when dbuser0_.ID is not null then 0 end as clazz_0_ from DBUSER dbuser0_ left outer join PERSON dbuser0_1_ on dbuser0_.ID=dbuser0_1_.ID where dbuser0_.ID=?
1105 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity de.mpicbg.db.common.model.DbUser: select dbuser0_.ID as ID2_0_, dbuser0_.VERSION as VERSION2_0_, dbuser0_.NAME as NAME2_0_, dbuser0_.FIRST_NAME as FIRST4_2_0_, dbuser0_.LAST_NAME as LAST5_2_0_, dbuser0_.EMAIL_ADDRESS as EMAIL6_2_0_, dbuser0_1_.organisation as organisa2_3_0_, dbuser0_1_.PASSWORD as PASSWORD3_0_, case when dbuser0_1_.ID is not null then 1 when dbuser0_.ID is not null then 0 end as clazz_0_ from DBUSER dbuser0_ left outer join PERSON dbuser0_1_ on dbuser0_.ID=dbuser0_1_.ID where dbuser0_.ID=?
1105 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for action ACTION_MERGE on entity de.mpicbg.db.common.model.DbUser: select dbuser0_.ID as ID2_0_, dbuser0_.VERSION as VERSION2_0_, dbuser0_.NAME as NAME2_0_, dbuser0_.FIRST_NAME as FIRST4_2_0_, dbuser0_.LAST_NAME as LAST5_2_0_, dbuser0_.EMAIL_ADDRESS as EMAIL6_2_0_, dbuser0_1_.organisation as organisa2_3_0_, dbuser0_1_.PASSWORD as PASSWORD3_0_, case when dbuser0_1_.ID is not null then 1 when dbuser0_.ID is not null then 0 end as clazz_0_ from DBUSER dbuser0_ left outer join PERSON dbuser0_1_ on dbuser0_.ID=dbuser0_1_.ID where dbuser0_.ID=?
1106 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for action ACTION_REFRESH on entity de.mpicbg.db.common.model.DbUser: select dbuser0_.ID as ID2_0_, dbuser0_.VERSION as VERSION2_0_, dbuser0_.NAME as NAME2_0_, dbuser0_.FIRST_NAME as FIRST4_2_0_, dbuser0_.LAST_NAME as LAST5_2_0_, dbuser0_.EMAIL_ADDRESS as EMAIL6_2_0_, dbuser0_1_.organisation as organisa2_3_0_, dbuser0_1_.PASSWORD as PASSWORD3_0_, case when dbuser0_1_.ID is not null then 1 when dbuser0_.ID is not null then 0 end as clazz_0_ from DBUSER dbuser0_ left outer join PERSON dbuser0_1_ on dbuser0_.ID=dbuser0_1_.ID where dbuser0_.ID=?
1106 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity de.mpicbg.db.endotrack.model.SimpleDelivery: select

_________________
Cheers,

Neil


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.