-->
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.  [ 6 posts ] 
Author Message
 Post subject: Trouble with class that needs to implement Map
PostPosted: Fri Oct 21, 2005 12:12 pm 
Newbie

Joined: Tue Oct 11, 2005 4:18 pm
Posts: 8
Location: Washington, DC
I am trying to create a mapping for a class, MyBeanMapImpl, which I need to have implement the Map interface within my application. As far as the mapping goes, thought, the fact that it implements Map doesn't seem relevant. If I don't have the class implement Map, my hibernate mapping works OK. But if I do have the class implement Map, then I get the HibernateException listed below. Is there a way that I can have my class implement Map without generating this error? I'm not sure I want to implement it as a custom collection user type. The portion of the Hibernate code where the error occurs is the following:

Code:
   public String guessEntityName(Object object) throws HibernateException {
      String entity = interceptor.getEntityName( object );
      if ( entity == null ) {
         if ( object instanceof Map ) {
            entity = (String) ( (Map) object ).get( DynamicMapInstantiator.KEY );
            if ( entity == null ) throw new HibernateException( "could not determine type of dynamic entity" );
         }
         else if ( object instanceof Element ) {
            // TODO : really need to keep a map of nodeName -> entityName, but that would mean nodeName being distinct
            entity = ( (Element) object ).getName();
         }
         else {
            entity = object.getClass().getName();
         }
      }
      return entity;
   }



Thanks,
Mark Becker


Hibernate version:
3.1 rc2

Mapping documents:
Code:
<?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 package="ees.drql.persistence">

   <class name="IMyBeanMap"
      table="test_ees_bean_map"
      discriminator-value="I">                  

        <id name="id"
            type="long">
            <generator class="native"/>
        </id>

      <discriminator
         column="discriminator"
         type="string"/>

      <subclass
         name="BeanProperty"
         discriminator-value="P">
         
         <property name="name" type="string"/>           
         <property name="value"  type="string" length="2000"/>         
         <property name="beanClass" column="class" type="class"/>
            
         <many-to-one
            name="parent"
            column="pid"
            class="IMyBeanMap"
         />         
       </subclass>
   
   
      <subclass
         name="MyBeanMapImpl"
         discriminator-value="B">                         
   
         <property name="name" type="string"/>   
         <property name="beanClass" column="class" type="class"/>

         <many-to-one
            name="parent"
            column="pid"
            class="IMyBeanMap"
         />   
      
           <map name="beanProperties"
               cascade="all-delete-orphan"
               lazy="true"                  
           >
               <key column="pid"/>
               <map-key column="name" type="string"/>
              <one-to-many class="IMyBeanMap"/>     
           </map>    
      </subclass>

    </class>   
   
</hibernate-mapping>


Code between sessionFactory.openSession() and session.close():
Code:
           Session session = sessionFactory.openSession();
            Transaction tx = session.beginTransaction();
            session.save(myBean);
            Long beanId = myBean.getId();
            tx.commit();
            session.close();


Full stack trace of any exception that occurs:

org.hibernate.HibernateException: could not determine type of dynamic entity
at org.hibernate.impl.SessionImpl.guessEntityName(SessionImpl.java:1607)
at org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1218)
at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:89)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:186)
at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:33)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:175)
at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:27)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:523)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:513)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:509)
at ees.drql.persistence.JXPathMapTest4.testJXPathWithHibernate(JXPathMapTest4.java:110)
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:324)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:421)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:305)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:186)

Name and version of the database you are using:
MySQL 4.0.18

Debug level Hibernate log excerpt:

11:50:51,129 INFO Configuration:258 - Reading mappings from file: C:\Projects\EES\bin\ees\drql\persistence\MyBeanMap.hbm.xml
11:50:51,129 DEBUG DTDEntityResolver:42 - trying to locate http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath under org/hibernate/
11:50:51,144 DEBUG DTDEntityResolver:56 - found http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath
11:50:51,160 INFO HbmBinder:266 - Mapping class: ees.drql.persistence.IMyBeanMap -> test_ees_bean_map
11:50:51,160 DEBUG HbmBinder:1179 - Mapped property: id -> id
11:50:51,160 INFO HbmBinder:773 - Mapping subclass: ees.drql.persistence.BeanProperty -> test_ees_bean_map
11:50:51,160 DEBUG HbmBinder:1179 - Mapped property: name -> name
11:50:51,160 DEBUG HbmBinder:1179 - Mapped property: value -> value
11:50:51,176 DEBUG HbmBinder:1179 - Mapped property: beanClass -> class
11:50:51,176 DEBUG HbmBinder:1179 - Mapped property: parent -> pid
11:50:51,176 INFO HbmBinder:773 - Mapping subclass: ees.drql.persistence.MyBeanMapImpl -> test_ees_bean_map
11:50:51,176 DEBUG HbmBinder:1179 - Mapped property: name -> name
11:50:51,191 DEBUG HbmBinder:1179 - Mapped property: beanClass -> class
11:50:51,191 DEBUG HbmBinder:1179 - Mapped property: parent -> pid
11:50:51,191 DEBUG HbmBinder:1179 - Mapped property: beanProperties
----------------------------
11:50:51,520 DEBUG CollectionSecondPass:33 - Second pass for collection: ees.drql.persistence.MyBeanMapImpl.beanProperties
11:50:51,520 INFO HbmBinder:2233 - Mapping collection: ees.drql.persistence.MyBeanMapImpl.beanProperties -> test_ees_bean_map
11:50:51,520 DEBUG CollectionSecondPass:49 - Mapped collection key: pid, index: name, one-to-many: ees.drql.persistence.IMyBeanMap
----------------------------
11:50:51,566 DEBUG Configuration:1100 - resolving reference to class: ees.drql.persistence.MyBeanMapImpl
11:50:51,566 DEBUG Configuration:1100 - resolving reference to class: ees.drql.persistence.IMyBeanMap
----------------------------
11:50:53,426 DEBUG ReflectHelper:220 - reflection optimizer disabled for: ees.drql.persistence.MyBeanMapImpl, BulkBeanException: Property is private (property setBeanProperties)
11:50:53,426 DEBUG AbstractEntityPersister:2446 - Static SQL for entity: ees.drql.persistence.MyBeanMapImpl
11:50:53,426 DEBUG AbstractEntityPersister:2448 - Version select: select id from test_ees_bean_map where id =?
11:50:53,426 DEBUG AbstractEntityPersister:2449 - Snapshot select: select mybeanmapi_.id, mybeanmapi_.name as name3_, mybeanmapi_.class as class3_, mybeanmapi_.pid as pid3_ from test_ees_bean_map mybeanmapi_ where mybeanmapi_.id=?
11:50:53,426 DEBUG AbstractEntityPersister:2451 - Insert 0: insert into test_ees_bean_map (name, class, pid, discriminator, id) values (?, ?, ?, 'B', ?)
11:50:53,426 DEBUG AbstractEntityPersister:2452 - Update 0: update test_ees_bean_map set name=?, class=?, pid=? where id=?
11:50:53,426 DEBUG AbstractEntityPersister:2453 - Delete 0: delete from test_ees_bean_map where id=?
11:50:53,426 DEBUG AbstractEntityPersister:2456 - Identity insert: insert into test_ees_bean_map (name, class, pid, discriminator) values (?, ?, ?, 'B')
----------------------------
11:50:53,504 DEBUG ReflectHelper:220 - reflection optimizer disabled for: ees.drql.persistence.BeanProperty, BulkBeanException: Property is private (property setName)
11:50:53,504 DEBUG AbstractEntityPersister:2446 - Static SQL for entity: ees.drql.persistence.BeanProperty
11:50:53,504 DEBUG AbstractEntityPersister:2448 - Version select: select id from test_ees_bean_map where id =?
11:50:53,504 DEBUG AbstractEntityPersister:2449 - Snapshot select: select beanproper_.id, beanproper_.name as name3_, beanproper_.value as value3_, beanproper_.class as class3_, beanproper_.pid as pid3_ from test_ees_bean_map beanproper_ where beanproper_.id=?
11:50:53,504 DEBUG AbstractEntityPersister:2451 - Insert 0: insert into test_ees_bean_map (name, value, class, pid, discriminator, id) values (?, ?, ?, ?, 'P', ?)
11:50:53,504 DEBUG AbstractEntityPersister:2452 - Update 0: update test_ees_bean_map set name=?, value=?, class=?, pid=? where id=?
11:50:53,504 DEBUG AbstractEntityPersister:2453 - Delete 0: delete from test_ees_bean_map where id=?
11:50:53,504 DEBUG AbstractEntityPersister:2456 - Identity insert: insert into test_ees_bean_map (name, value, class, pid, discriminator) values (?, ?, ?, ?, 'P')
11:50:53,535 DEBUG AbstractEntityPersister:2446 - Static SQL for entity: ees.drql.persistence.IMyBeanMap
11:50:53,535 DEBUG AbstractEntityPersister:2448 - Version select: select id from test_ees_bean_map where id =?
11:50:53,535 DEBUG AbstractEntityPersister:2449 - Snapshot select: select imybeanmap_.id from test_ees_bean_map imybeanmap_ where imybeanmap_.id=?
11:50:53,535 DEBUG AbstractEntityPersister:2451 - Insert 0: insert into test_ees_bean_map (discriminator, id) values ('I', ?)
11:50:53,535 DEBUG AbstractEntityPersister:2452 - Update 0: null
11:50:53,535 DEBUG AbstractEntityPersister:2453 - Delete 0: delete from test_ees_bean_map where id=?
11:50:53,535 DEBUG AbstractEntityPersister:2456 - Identity insert: insert into test_ees_bean_map (discriminator) values ('I')
----------------------------
11:50:54,114 DEBUG AbstractCollectionPersister:511 - Static SQL for collection: ees.drql.persistence.MyBeanMapImpl.beanProperties
11:50:54,114 DEBUG AbstractCollectionPersister:512 - Row insert: update test_ees_bean_map set pid=?, name=? where id=?
11:50:54,129 DEBUG AbstractCollectionPersister:514 - Row delete: update test_ees_bean_map set pid=null, name=null where pid=? and id=?
11:50:54,129 DEBUG AbstractCollectionPersister:515 - One-shot delete: update test_ees_bean_map set pid=null, name=null where pid=?
-------------------------
11:50:54,270 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_0_, mybeanmapi0_.name as name3_0_, mybeanmapi0_.class as class3_0_, mybeanmapi0_.pid as pid3_0_ from test_ees_bean_map mybeanmapi0_ where mybeanmapi0_.id in (?, ?, ?, ?, ?, ?, ?, ?) and mybeanmapi0_.discriminator='B'
11:50:54,270 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_0_, mybeanmapi0_.name as name3_0_, mybeanmapi0_.class as class3_0_, mybeanmapi0_.pid as pid3_0_ from test_ees_bean_map mybeanmapi0_ where mybeanmapi0_.id in (?, ?, ?, ?, ?, ?, ?) and mybeanmapi0_.discriminator='B'
11:50:54,270 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_0_, mybeanmapi0_.name as name3_0_, mybeanmapi0_.class as class3_0_, mybeanmapi0_.pid as pid3_0_ from test_ees_bean_map mybeanmapi0_ where mybeanmapi0_.id in (?, ?, ?, ?, ?, ?) and mybeanmapi0_.discriminator='B'
11:50:54,270 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_0_, mybeanmapi0_.name as name3_0_, mybeanmapi0_.class as class3_0_, mybeanmapi0_.pid as pid3_0_ from test_ees_bean_map mybeanmapi0_ where mybeanmapi0_.id in (?, ?, ?, ?, ?) and mybeanmapi0_.discriminator='B'
11:50:54,270 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_0_, mybeanmapi0_.name as name3_0_, mybeanmapi0_.class as class3_0_, mybeanmapi0_.pid as pid3_0_ from test_ees_bean_map mybeanmapi0_ where mybeanmapi0_.id in (?, ?, ?, ?) and mybeanmapi0_.discriminator='B'
11:50:54,270 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_0_, mybeanmapi0_.name as name3_0_, mybeanmapi0_.class as class3_0_, mybeanmapi0_.pid as pid3_0_ from test_ees_bean_map mybeanmapi0_ where mybeanmapi0_.id in (?, ?, ?) and mybeanmapi0_.discriminator='B'
11:50:54,270 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_0_, mybeanmapi0_.name as name3_0_, mybeanmapi0_.class as class3_0_, mybeanmapi0_.pid as pid3_0_ from test_ees_bean_map mybeanmapi0_ where mybeanmapi0_.id in (?, ?) and mybeanmapi0_.discriminator='B'
11:50:54,270 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_0_, mybeanmapi0_.name as name3_0_, mybeanmapi0_.class as class3_0_, mybeanmapi0_.pid as pid3_0_ from test_ees_bean_map mybeanmapi0_ where mybeanmapi0_.id=? and mybeanmapi0_.discriminator='B'
11:50:54,270 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_0_, mybeanmapi0_.name as name3_0_, mybeanmapi0_.class as class3_0_, mybeanmapi0_.pid as pid3_0_ from test_ees_bean_map mybeanmapi0_ where mybeanmapi0_.id in (?, ?, ?, ?, ?, ?, ?, ?) and mybeanmapi0_.discriminator='B'
11:50:54,285 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_0_, mybeanmapi0_.name as name3_0_, mybeanmapi0_.class as class3_0_, mybeanmapi0_.pid as pid3_0_ from test_ees_bean_map mybeanmapi0_ where mybeanmapi0_.id in (?, ?, ?, ?, ?, ?, ?) and mybeanmapi0_.discriminator='B'
11:50:54,285 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_0_, mybeanmapi0_.name as name3_0_, mybeanmapi0_.class as class3_0_, mybeanmapi0_.pid as pid3_0_ from test_ees_bean_map mybeanmapi0_ where mybeanmapi0_.id in (?, ?, ?, ?, ?, ?) and mybeanmapi0_.discriminator='B'
11:50:54,285 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_0_, mybeanmapi0_.name as name3_0_, mybeanmapi0_.class as class3_0_, mybeanmapi0_.pid as pid3_0_ from test_ees_bean_map mybeanmapi0_ where mybeanmapi0_.id in (?, ?, ?, ?, ?) and mybeanmapi0_.discriminator='B'
11:50:54,285 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_0_, mybeanmapi0_.name as name3_0_, mybeanmapi0_.class as class3_0_, mybeanmapi0_.pid as pid3_0_ from test_ees_bean_map mybeanmapi0_ where mybeanmapi0_.id in (?, ?, ?, ?) and mybeanmapi0_.discriminator='B'
11:50:54,285 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_0_, mybeanmapi0_.name as name3_0_, mybeanmapi0_.class as class3_0_, mybeanmapi0_.pid as pid3_0_ from test_ees_bean_map mybeanmapi0_ where mybeanmapi0_.id in (?, ?, ?) and mybeanmapi0_.discriminator='B'
11:50:54,285 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_0_, mybeanmapi0_.name as name3_0_, mybeanmapi0_.class as class3_0_, mybeanmapi0_.pid as pid3_0_ from test_ees_bean_map mybeanmapi0_ where mybeanmapi0_.id in (?, ?) and mybeanmapi0_.discriminator='B'
11:50:54,285 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_0_, mybeanmapi0_.name as name3_0_, mybeanmapi0_.class as class3_0_, mybeanmapi0_.pid as pid3_0_ from test_ees_bean_map mybeanmapi0_ where mybeanmapi0_.id=? and mybeanmapi0_.discriminator='B'
11:50:54,285 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_0_, mybeanmapi0_.name as name3_0_, mybeanmapi0_.class as class3_0_, mybeanmapi0_.pid as pid3_0_ from test_ees_bean_map mybeanmapi0_ where mybeanmapi0_.id in (?, ?, ?, ?, ?, ?, ?, ?) and mybeanmapi0_.discriminator='B' for update
11:50:54,285 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_0_, mybeanmapi0_.name as name3_0_, mybeanmapi0_.class as class3_0_, mybeanmapi0_.pid as pid3_0_ from test_ees_bean_map mybeanmapi0_ where mybeanmapi0_.id in (?, ?, ?, ?, ?, ?, ?) and mybeanmapi0_.discriminator='B' for update
11:50:54,285 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_0_, mybeanmapi0_.name as name3_0_, mybeanmapi0_.class as class3_0_, mybeanmapi0_.pid as pid3_0_ from test_ees_bean_map mybeanmapi0_ where mybeanmapi0_.id in (?, ?, ?, ?, ?, ?) and mybeanmapi0_.discriminator='B' for update
11:50:54,285 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_0_, mybeanmapi0_.name as name3_0_, mybeanmapi0_.class as class3_0_, mybeanmapi0_.pid as pid3_0_ from test_ees_bean_map mybeanmapi0_ where mybeanmapi0_.id in (?, ?, ?, ?, ?) and mybeanmapi0_.discriminator='B' for update
11:50:54,301 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_0_, mybeanmapi0_.name as name3_0_, mybeanmapi0_.class as class3_0_, mybeanmapi0_.pid as pid3_0_ from test_ees_bean_map mybeanmapi0_ where mybeanmapi0_.id in (?, ?, ?, ?) and mybeanmapi0_.discriminator='B' for update
11:50:54,301 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_0_, mybeanmapi0_.name as name3_0_, mybeanmapi0_.class as class3_0_, mybeanmapi0_.pid as pid3_0_ from test_ees_bean_map mybeanmapi0_ where mybeanmapi0_.id in (?, ?, ?) and mybeanmapi0_.discriminator='B' for update
11:50:54,301 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_0_, mybeanmapi0_.name as name3_0_, mybeanmapi0_.class as class3_0_, mybeanmapi0_.pid as pid3_0_ from test_ees_bean_map mybeanmapi0_ where mybeanmapi0_.id in (?, ?) and mybeanmapi0_.discriminator='B' for update
11:50:54,301 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_0_, mybeanmapi0_.name as name3_0_, mybeanmapi0_.class as class3_0_, mybeanmapi0_.pid as pid3_0_ from test_ees_bean_map mybeanmapi0_ where mybeanmapi0_.id=? and mybeanmapi0_.discriminator='B' for update
11:50:54,301 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_0_, mybeanmapi0_.name as name3_0_, mybeanmapi0_.class as class3_0_, mybeanmapi0_.pid as pid3_0_ from test_ees_bean_map mybeanmapi0_ where mybeanmapi0_.id in (?, ?, ?, ?, ?, ?, ?, ?) and mybeanmapi0_.discriminator='B' for update
11:50:54,301 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_0_, mybeanmapi0_.name as name3_0_, mybeanmapi0_.class as class3_0_, mybeanmapi0_.pid as pid3_0_ from test_ees_bean_map mybeanmapi0_ where mybeanmapi0_.id in (?, ?, ?, ?, ?, ?, ?) and mybeanmapi0_.discriminator='B' for update
11:50:54,301 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_0_, mybeanmapi0_.name as name3_0_, mybeanmapi0_.class as class3_0_, mybeanmapi0_.pid as pid3_0_ from test_ees_bean_map mybeanmapi0_ where mybeanmapi0_.id in (?, ?, ?, ?, ?, ?) and mybeanmapi0_.discriminator='B' for update
11:50:54,301 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_0_, mybeanmapi0_.name as name3_0_, mybeanmapi0_.class as class3_0_, mybeanmapi0_.pid as pid3_0_ from test_ees_bean_map mybeanmapi0_ where mybeanmapi0_.id in (?, ?, ?, ?, ?) and mybeanmapi0_.discriminator='B' for update
11:50:54,301 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_0_, mybeanmapi0_.name as name3_0_, mybeanmapi0_.class as class3_0_, mybeanmapi0_.pid as pid3_0_ from test_ees_bean_map mybeanmapi0_ where mybeanmapi0_.id in (?, ?, ?, ?) and mybeanmapi0_.discriminator='B' for update
11:50:54,301 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_0_, mybeanmapi0_.name as name3_0_, mybeanmapi0_.class as class3_0_, mybeanmapi0_.pid as pid3_0_ from test_ees_bean_map mybeanmapi0_ where mybeanmapi0_.id in (?, ?, ?) and mybeanmapi0_.discriminator='B' for update
11:50:54,301 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_0_, mybeanmapi0_.name as name3_0_, mybeanmapi0_.class as class3_0_, mybeanmapi0_.pid as pid3_0_ from test_ees_bean_map mybeanmapi0_ where mybeanmapi0_.id in (?, ?) and mybeanmapi0_.discriminator='B' for update
11:50:54,301 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_0_, mybeanmapi0_.name as name3_0_, mybeanmapi0_.class as class3_0_, mybeanmapi0_.pid as pid3_0_ from test_ees_bean_map mybeanmapi0_ where mybeanmapi0_.id=? and mybeanmapi0_.discriminator='B' for update
11:50:54,317 DEBUG EntityLoader:67 - Static select for action ACTION_MERGE on entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_1_, mybeanmapi0_.name as name3_1_, mybeanmapi0_.class as class3_1_, mybeanmapi0_.pid as pid3_1_, beanproper1_.pid as pid3_, beanproper1_.id as id3_, beanproper1_.name as name3_, beanproper1_.id as id3_0_, beanproper1_.name as name3_0_, beanproper1_.value as value3_0_, beanproper1_.class as class3_0_, beanproper1_.pid as pid3_0_, beanproper1_.discriminator as discrimi2_3_0_ from test_ees_bean_map mybeanmapi0_ left outer join test_ees_bean_map beanproper1_ on mybeanmapi0_.id=beanproper1_.pid where mybeanmapi0_.id=? and mybeanmapi0_.discriminator='B'
11:50:54,348 DEBUG EntityLoader:67 - Static select for action ACTION_REFRESH on entity ees.drql.persistence.MyBeanMapImpl: select mybeanmapi0_.id as id3_1_, mybeanmapi0_.name as name3_1_, mybeanmapi0_.class as class3_1_, mybeanmapi0_.pid as pid3_1_, beanproper1_.pid as pid3_, beanproper1_.id as id3_, beanproper1_.name as name3_, beanproper1_.id as id3_0_, beanproper1_.name as name3_0_, beanproper1_.value as value3_0_, beanproper1_.class as class3_0_, beanproper1_.pid as pid3_0_, beanproper1_.discriminator as discrimi2_3_0_ from test_ees_bean_map mybeanmapi0_ left outer join test_ees_bean_map beanproper1_ on mybeanmapi0_.id=beanproper1_.pid where mybeanmapi0_.id=? and mybeanmapi0_.discriminator='B'
--------------------
11:50:54,395 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id in (?, ?, ?, ?, ?, ?, ?, ?) and beanproper0_.discriminator='P'
11:50:54,395 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id in (?, ?, ?, ?, ?, ?, ?) and beanproper0_.discriminator='P'
11:50:54,395 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id in (?, ?, ?, ?, ?, ?) and beanproper0_.discriminator='P'
11:50:54,410 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id in (?, ?, ?, ?, ?) and beanproper0_.discriminator='P'
11:50:54,410 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id in (?, ?, ?, ?) and beanproper0_.discriminator='P'
11:50:54,410 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id in (?, ?, ?) and beanproper0_.discriminator='P'
11:50:54,410 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id in (?, ?) and beanproper0_.discriminator='P'
11:50:54,410 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id=? and beanproper0_.discriminator='P'
11:50:54,410 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id in (?, ?, ?, ?, ?, ?, ?, ?) and beanproper0_.discriminator='P'
11:50:54,410 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id in (?, ?, ?, ?, ?, ?, ?) and beanproper0_.discriminator='P'
11:50:54,410 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id in (?, ?, ?, ?, ?, ?) and beanproper0_.discriminator='P'
11:50:54,410 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id in (?, ?, ?, ?, ?) and beanproper0_.discriminator='P'
11:50:54,410 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id in (?, ?, ?, ?) and beanproper0_.discriminator='P'
11:50:54,410 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id in (?, ?, ?) and beanproper0_.discriminator='P'
11:50:54,410 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id in (?, ?) and beanproper0_.discriminator='P'
11:50:54,426 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id=? and beanproper0_.discriminator='P'
11:50:54,426 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id in (?, ?, ?, ?, ?, ?, ?, ?) and beanproper0_.discriminator='P' for update
11:50:54,426 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id in (?, ?, ?, ?, ?, ?, ?) and beanproper0_.discriminator='P' for update
11:50:54,426 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id in (?, ?, ?, ?, ?, ?) and beanproper0_.discriminator='P' for update
11:50:54,426 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id in (?, ?, ?, ?, ?) and beanproper0_.discriminator='P' for update
11:50:54,426 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id in (?, ?, ?, ?) and beanproper0_.discriminator='P' for update
11:50:54,426 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id in (?, ?, ?) and beanproper0_.discriminator='P' for update
11:50:54,426 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id in (?, ?) and beanproper0_.discriminator='P' for update
11:50:54,426 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id=? and beanproper0_.discriminator='P' for update
11:50:54,442 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id in (?, ?, ?, ?, ?, ?, ?, ?) and beanproper0_.discriminator='P' for update
11:50:54,442 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id in (?, ?, ?, ?, ?, ?, ?) and beanproper0_.discriminator='P' for update
11:50:54,442 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id in (?, ?, ?, ?, ?, ?) and beanproper0_.discriminator='P' for update
11:50:54,442 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id in (?, ?, ?, ?, ?) and beanproper0_.discriminator='P' for update
11:50:54,442 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id in (?, ?, ?, ?) and beanproper0_.discriminator='P' for update
11:50:54,442 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id in (?, ?, ?) and beanproper0_.discriminator='P' for update
11:50:54,442 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id in (?, ?) and beanproper0_.discriminator='P' for update
11:50:54,442 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id=? and beanproper0_.discriminator='P' for update
11:50:54,442 DEBUG EntityLoader:67 - Static select for action ACTION_MERGE on entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id=? and beanproper0_.discriminator='P'
11:50:54,442 DEBUG EntityLoader:67 - Static select for action ACTION_REFRESH on entity ees.drql.persistence.BeanProperty: select beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.id=? and beanproper0_.discriminator='P'
11:50:54,489 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_0_, imybeanmap0_.name as name3_0_, imybeanmap0_.value as value3_0_, imybeanmap0_.class as class3_0_, imybeanmap0_.pid as pid3_0_, imybeanmap0_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ where imybeanmap0_.id in (?, ?, ?, ?, ?, ?, ?, ?)
11:50:54,489 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_0_, imybeanmap0_.name as name3_0_, imybeanmap0_.value as value3_0_, imybeanmap0_.class as class3_0_, imybeanmap0_.pid as pid3_0_, imybeanmap0_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ where imybeanmap0_.id in (?, ?, ?, ?, ?, ?, ?)
11:50:54,489 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_0_, imybeanmap0_.name as name3_0_, imybeanmap0_.value as value3_0_, imybeanmap0_.class as class3_0_, imybeanmap0_.pid as pid3_0_, imybeanmap0_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ where imybeanmap0_.id in (?, ?, ?, ?, ?, ?)
11:50:54,489 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_0_, imybeanmap0_.name as name3_0_, imybeanmap0_.value as value3_0_, imybeanmap0_.class as class3_0_, imybeanmap0_.pid as pid3_0_, imybeanmap0_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ where imybeanmap0_.id in (?, ?, ?, ?, ?)
11:50:54,504 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_0_, imybeanmap0_.name as name3_0_, imybeanmap0_.value as value3_0_, imybeanmap0_.class as class3_0_, imybeanmap0_.pid as pid3_0_, imybeanmap0_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ where imybeanmap0_.id in (?, ?, ?, ?)
11:50:54,504 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_0_, imybeanmap0_.name as name3_0_, imybeanmap0_.value as value3_0_, imybeanmap0_.class as class3_0_, imybeanmap0_.pid as pid3_0_, imybeanmap0_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ where imybeanmap0_.id in (?, ?, ?)
11:50:54,504 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_0_, imybeanmap0_.name as name3_0_, imybeanmap0_.value as value3_0_, imybeanmap0_.class as class3_0_, imybeanmap0_.pid as pid3_0_, imybeanmap0_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ where imybeanmap0_.id in (?, ?)
11:50:54,504 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_0_, imybeanmap0_.name as name3_0_, imybeanmap0_.value as value3_0_, imybeanmap0_.class as class3_0_, imybeanmap0_.pid as pid3_0_, imybeanmap0_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ where imybeanmap0_.id=?
11:50:54,504 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_0_, imybeanmap0_.name as name3_0_, imybeanmap0_.value as value3_0_, imybeanmap0_.class as class3_0_, imybeanmap0_.pid as pid3_0_, imybeanmap0_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ where imybeanmap0_.id in (?, ?, ?, ?, ?, ?, ?, ?)
11:50:54,504 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_0_, imybeanmap0_.name as name3_0_, imybeanmap0_.value as value3_0_, imybeanmap0_.class as class3_0_, imybeanmap0_.pid as pid3_0_, imybeanmap0_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ where imybeanmap0_.id in (?, ?, ?, ?, ?, ?, ?)
11:50:54,504 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_0_, imybeanmap0_.name as name3_0_, imybeanmap0_.value as value3_0_, imybeanmap0_.class as class3_0_, imybeanmap0_.pid as pid3_0_, imybeanmap0_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ where imybeanmap0_.id in (?, ?, ?, ?, ?, ?)
11:50:54,504 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_0_, imybeanmap0_.name as name3_0_, imybeanmap0_.value as value3_0_, imybeanmap0_.class as class3_0_, imybeanmap0_.pid as pid3_0_, imybeanmap0_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ where imybeanmap0_.id in (?, ?, ?, ?, ?)
11:50:54,504 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_0_, imybeanmap0_.name as name3_0_, imybeanmap0_.value as value3_0_, imybeanmap0_.class as class3_0_, imybeanmap0_.pid as pid3_0_, imybeanmap0_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ where imybeanmap0_.id in (?, ?, ?, ?)
11:50:54,504 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_0_, imybeanmap0_.name as name3_0_, imybeanmap0_.value as value3_0_, imybeanmap0_.class as class3_0_, imybeanmap0_.pid as pid3_0_, imybeanmap0_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ where imybeanmap0_.id in (?, ?, ?)
11:50:54,504 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_0_, imybeanmap0_.name as name3_0_, imybeanmap0_.value as value3_0_, imybeanmap0_.class as class3_0_, imybeanmap0_.pid as pid3_0_, imybeanmap0_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ where imybeanmap0_.id in (?, ?)
11:50:54,520 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_0_, imybeanmap0_.name as name3_0_, imybeanmap0_.value as value3_0_, imybeanmap0_.class as class3_0_, imybeanmap0_.pid as pid3_0_, imybeanmap0_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ where imybeanmap0_.id=?
11:50:54,520 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_0_, imybeanmap0_.name as name3_0_, imybeanmap0_.value as value3_0_, imybeanmap0_.class as class3_0_, imybeanmap0_.pid as pid3_0_, imybeanmap0_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ where imybeanmap0_.id in (?, ?, ?, ?, ?, ?, ?, ?) for update
11:50:54,520 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_0_, imybeanmap0_.name as name3_0_, imybeanmap0_.value as value3_0_, imybeanmap0_.class as class3_0_, imybeanmap0_.pid as pid3_0_, imybeanmap0_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ where imybeanmap0_.id in (?, ?, ?, ?, ?, ?, ?) for update
11:50:54,520 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_0_, imybeanmap0_.name as name3_0_, imybeanmap0_.value as value3_0_, imybeanmap0_.class as class3_0_, imybeanmap0_.pid as pid3_0_, imybeanmap0_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ where imybeanmap0_.id in (?, ?, ?, ?, ?, ?) for update
11:50:54,520 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_0_, imybeanmap0_.name as name3_0_, imybeanmap0_.value as value3_0_, imybeanmap0_.class as class3_0_, imybeanmap0_.pid as pid3_0_, imybeanmap0_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ where imybeanmap0_.id in (?, ?, ?, ?, ?) for update
11:50:54,520 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_0_, imybeanmap0_.name as name3_0_, imybeanmap0_.value as value3_0_, imybeanmap0_.class as class3_0_, imybeanmap0_.pid as pid3_0_, imybeanmap0_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ where imybeanmap0_.id in (?, ?, ?, ?) for update
11:50:54,520 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_0_, imybeanmap0_.name as name3_0_, imybeanmap0_.value as value3_0_, imybeanmap0_.class as class3_0_, imybeanmap0_.pid as pid3_0_, imybeanmap0_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ where imybeanmap0_.id in (?, ?, ?) for update
11:50:54,520 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_0_, imybeanmap0_.name as name3_0_, imybeanmap0_.value as value3_0_, imybeanmap0_.class as class3_0_, imybeanmap0_.pid as pid3_0_, imybeanmap0_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ where imybeanmap0_.id in (?, ?) for update
11:50:54,520 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_0_, imybeanmap0_.name as name3_0_, imybeanmap0_.value as value3_0_, imybeanmap0_.class as class3_0_, imybeanmap0_.pid as pid3_0_, imybeanmap0_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ where imybeanmap0_.id=? for update
11:50:54,535 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_0_, imybeanmap0_.name as name3_0_, imybeanmap0_.value as value3_0_, imybeanmap0_.class as class3_0_, imybeanmap0_.pid as pid3_0_, imybeanmap0_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ where imybeanmap0_.id in (?, ?, ?, ?, ?, ?, ?, ?) for update
11:50:54,535 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_0_, imybeanmap0_.name as name3_0_, imybeanmap0_.value as value3_0_, imybeanmap0_.class as class3_0_, imybeanmap0_.pid as pid3_0_, imybeanmap0_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ where imybeanmap0_.id in (?, ?, ?, ?, ?, ?, ?) for update
11:50:54,535 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_0_, imybeanmap0_.name as name3_0_, imybeanmap0_.value as value3_0_, imybeanmap0_.class as class3_0_, imybeanmap0_.pid as pid3_0_, imybeanmap0_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ where imybeanmap0_.id in (?, ?, ?, ?, ?, ?) for update
11:50:54,535 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_0_, imybeanmap0_.name as name3_0_, imybeanmap0_.value as value3_0_, imybeanmap0_.class as class3_0_, imybeanmap0_.pid as pid3_0_, imybeanmap0_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ where imybeanmap0_.id in (?, ?, ?, ?, ?) for update
11:50:54,535 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_0_, imybeanmap0_.name as name3_0_, imybeanmap0_.value as value3_0_, imybeanmap0_.class as class3_0_, imybeanmap0_.pid as pid3_0_, imybeanmap0_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ where imybeanmap0_.id in (?, ?, ?, ?) for update
11:50:54,535 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_0_, imybeanmap0_.name as name3_0_, imybeanmap0_.value as value3_0_, imybeanmap0_.class as class3_0_, imybeanmap0_.pid as pid3_0_, imybeanmap0_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ where imybeanmap0_.id in (?, ?, ?) for update
11:50:54,535 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_0_, imybeanmap0_.name as name3_0_, imybeanmap0_.value as value3_0_, imybeanmap0_.class as class3_0_, imybeanmap0_.pid as pid3_0_, imybeanmap0_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ where imybeanmap0_.id in (?, ?) for update
11:50:54,535 DEBUG EntityLoader:79 - Static select for entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_0_, imybeanmap0_.name as name3_0_, imybeanmap0_.value as value3_0_, imybeanmap0_.class as class3_0_, imybeanmap0_.pid as pid3_0_, imybeanmap0_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ where imybeanmap0_.id=? for update
11:50:54,535 DEBUG EntityLoader:67 - Static select for action ACTION_MERGE on entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_1_, imybeanmap0_.name as name3_1_, imybeanmap0_.value as value3_1_, imybeanmap0_.class as class3_1_, imybeanmap0_.pid as pid3_1_, imybeanmap0_.discriminator as discrimi2_3_1_, beanproper1_.pid as pid3_, beanproper1_.id as id3_, beanproper1_.name as name3_, beanproper1_.id as id3_0_, beanproper1_.name as name3_0_, beanproper1_.value as value3_0_, beanproper1_.class as class3_0_, beanproper1_.pid as pid3_0_, beanproper1_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ left outer join test_ees_bean_map beanproper1_ on imybeanmap0_.id=beanproper1_.pid where imybeanmap0_.id=?
11:50:54,535 DEBUG EntityLoader:67 - Static select for action ACTION_REFRESH on entity ees.drql.persistence.IMyBeanMap: select imybeanmap0_.id as id3_1_, imybeanmap0_.name as name3_1_, imybeanmap0_.value as value3_1_, imybeanmap0_.class as class3_1_, imybeanmap0_.pid as pid3_1_, imybeanmap0_.discriminator as discrimi2_3_1_, beanproper1_.pid as pid3_, beanproper1_.id as id3_, beanproper1_.name as name3_, beanproper1_.id as id3_0_, beanproper1_.name as name3_0_, beanproper1_.value as value3_0_, beanproper1_.class as class3_0_, beanproper1_.pid as pid3_0_, beanproper1_.discriminator as discrimi2_3_0_ from test_ees_bean_map imybeanmap0_ left outer join test_ees_bean_map beanproper1_ on imybeanmap0_.id=beanproper1_.pid where imybeanmap0_.id=?
---------------------
11:50:55,723 DEBUG OneToManyLoader:64 - Static select for one-to-many ees.drql.persistence.MyBeanMapImpl.beanProperties: select beanproper0_.pid as pid1_, beanproper0_.id as id1_, beanproper0_.name as name1_, beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_, beanproper0_.discriminator as discrimi2_3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.pid in (?, ?, ?, ?, ?, ?, ?, ?)
11:50:55,723 DEBUG OneToManyLoader:64 - Static select for one-to-many ees.drql.persistence.MyBeanMapImpl.beanProperties: select beanproper0_.pid as pid1_, beanproper0_.id as id1_, beanproper0_.name as name1_, beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_, beanproper0_.discriminator as discrimi2_3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.pid in (?, ?, ?, ?, ?, ?, ?)
11:50:55,723 DEBUG OneToManyLoader:64 - Static select for one-to-many ees.drql.persistence.MyBeanMapImpl.beanProperties: select beanproper0_.pid as pid1_, beanproper0_.id as id1_, beanproper0_.name as name1_, beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_, beanproper0_.discriminator as discrimi2_3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.pid in (?, ?, ?, ?, ?, ?)
11:50:55,723 DEBUG OneToManyLoader:64 - Static select for one-to-many ees.drql.persistence.MyBeanMapImpl.beanProperties: select beanproper0_.pid as pid1_, beanproper0_.id as id1_, beanproper0_.name as name1_, beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_, beanproper0_.discriminator as discrimi2_3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.pid in (?, ?, ?, ?, ?)
11:50:55,723 DEBUG OneToManyLoader:64 - Static select for one-to-many ees.drql.persistence.MyBeanMapImpl.beanProperties: select beanproper0_.pid as pid1_, beanproper0_.id as id1_, beanproper0_.name as name1_, beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_, beanproper0_.discriminator as discrimi2_3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.pid in (?, ?, ?, ?)
11:50:55,723 DEBUG OneToManyLoader:64 - Static select for one-to-many ees.drql.persistence.MyBeanMapImpl.beanProperties: select beanproper0_.pid as pid1_, beanproper0_.id as id1_, beanproper0_.name as name1_, beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_, beanproper0_.discriminator as discrimi2_3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.pid in (?, ?, ?)
11:50:55,723 DEBUG OneToManyLoader:64 - Static select for one-to-many ees.drql.persistence.MyBeanMapImpl.beanProperties: select beanproper0_.pid as pid1_, beanproper0_.id as id1_, beanproper0_.name as name1_, beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_, beanproper0_.discriminator as discrimi2_3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.pid in (?, ?)
11:50:55,723 DEBUG OneToManyLoader:64 - Static select for one-to-many ees.drql.persistence.MyBeanMapImpl.beanProperties: select beanproper0_.pid as pid1_, beanproper0_.id as id1_, beanproper0_.name as name1_, beanproper0_.id as id3_0_, beanproper0_.name as name3_0_, beanproper0_.value as value3_0_, beanproper0_.class as class3_0_, beanproper0_.pid as pid3_0_, beanproper0_.discriminator as discrimi2_3_0_ from test_ees_bean_map beanproper0_ where beanproper0_.pid=?
---------------------


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 21, 2005 6:48 pm 
Expert
Expert

Joined: Mon Jul 04, 2005 5:19 pm
Posts: 720
You have managed to trick hibernate into thinking you are in dynamic entity mode. The URL below can tell you more. Unfortunately I don't see a solution for you :(

You may find a work around if you set a map entry w/ a key of DynamicMapInstantiator.KEY and a value of correct entity name , but I don't know how far this'll get you.

http://www.hibernate.org/hib_docs/v3/re ... amicmodels


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 22, 2005 3:56 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
if you use the methods where you can specify the explicit entity name you should be fine I think.

But let us know if that does not work for you either.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 22, 2005 3:58 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
correction: just implement an Interceptor that returns the correct answer for Interceptor.getEntityName()

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 22, 2005 10:00 am 
Newbie

Joined: Tue Oct 11, 2005 4:18 pm
Posts: 8
Location: Washington, DC
Thanks to both of you for your help.

I thought about the dynamic maps approach but it seems that you need to know the names of the map keys when you create your mapping document, i.e. in the example you need to know that you will be putting values for "name" and "organization" into your map. I am trying to persist arbitrary JavaBean style objects and don't know the names of their fields in advance.

I'll check out the Interceptor approach and let you know if I can get it to work.

Thanks,
Mark


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 22, 2005 12:02 pm 
Expert
Expert

Joined: Mon Jul 04, 2005 5:19 pm
Posts: 720
you can get that information through the configuration api. take a look at this link, only change the for loop to use org.hibernate.mapping.Property.getName()

http://forum.hibernate.org/viewtopic.ph ... highlight=


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 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.