-->
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.  [ 1 post ] 
Author Message
 Post subject: AOP intercepting call to UserType or getting what calls UT
PostPosted: Sun Jul 04, 2010 2:56 pm 
Beginner
Beginner

Joined: Sun Oct 09, 2005 3:21 pm
Posts: 40
Using Hibernate 3+ with Spring 2.6+

The http://stackoverflow.com/questions/672063/creating-a-custom-hibernate-usertype-find-out-the-current-entity-table-name describes reseting the UserType parameters through the Configuration object. Works fine in special cases when passing a string to a parameter. Want to wire in a spring bean without using the load time weaver/Configuration within Spring. Can override (extend) the LocalSessionFactoryBean and access the Configuration object prior to the SessionFactory beings created by String (ie postProcessConfiguration method).

Need to jump to an earlier spot within the Hibernate build up when my UserType is actually defined to the class mappings. Thought is that I can access the UserType construction early.


/ matthew


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

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.