-->
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.  [ 4 posts ] 
Author Message
 Post subject: Can we override collectionPersister? Or Intercept
PostPosted: Thu Jun 23, 2005 10:18 am 
Regular
Regular

Joined: Thu Dec 02, 2004 10:42 am
Posts: 54
1. There seems no place to override a collectionPersister for collection mapping?

2. When I use Interceptor, I cannot intercept and object in a collection defined in <composite-element> under a <bag> or any other collection.
Code:
<bag name="dataPrivileges" table="SECDATA.SEC_GROUP_HAS_PRIVILEGE" lazy="true">
         <jcs-cache usage="read-write" />
         <key column ="GROUP_ID" />
         <composite-element class="Bmo.NHibernateDataAccess.Security.NHDaoGroupPrivilege, BmoNHibernateDataAccess">
            <many-to-one name="privilege" column="VARIABLE_NAME" class="Bmo.Security.Privilege, BMO_APMS_DataObjects" outer-join="false"/>
            <property name="dataRights" column="ACCESS_MODE_BINARY" />
            <property name="updateDateTime" column="UPDATED_DATE" type="DateTime" />
            <many-to-one name="updateUser" column="UPDATED_USER_ID" class="Bmo.NHibernateDataAccess.Security.NHDaoUserSecurityInfo, BmoNHibernateDataAccess" outer-join="false"/>
         </composite-element>
      </bag>


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 24, 2005 2:36 pm 
Contributor
Contributor

Joined: Wed May 11, 2005 4:59 pm
Posts: 1766
Location: Prague, Czech Republic
I'll fix it, it's just a matter of updating the XML schema.


Top
 Profile  
 
 Post subject: fix in 0.9?
PostPosted: Fri Jun 24, 2005 10:35 pm 
Regular
Regular

Joined: Thu Dec 02, 2004 10:42 am
Posts: 54
hi,Sergey,

Did you mean you are going to provide both ability to customize colleciton persister and let interceptor can handle collection changes? That will be great!

So what is the plan? 0.9 ?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 25, 2005 5:57 am 
Contributor
Contributor

Joined: Wed May 11, 2005 4:59 pm
Posts: 1766
Location: Prague, Czech Republic
I just fixed the schema to include persister attribute for collections. It's supported by the code. I didn't do anything about interceptors. The new schema will be part of 0.9.


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