-->
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: object instantiation with factory instead default constructo
PostPosted: Sat Jun 09, 2007 12:15 pm 
Newbie

Joined: Sat Jun 09, 2007 11:45 am
Posts: 6
Hello!

Working with Spring and Hibernate I want Hibernate not to use the Default-Constructor when instantiating persisted classes.

Is it possible to tell hibernate to use some Factory-Method to instantiate an Object instead of the default-Constructor?

So in this Factory-Method I could call the spring-Factory.

The reason for my thinking is that objects not instantiated by spring-factory cannot use SpringAOP. http://forum.springframework.org/showthread.php?p=125286#post125286

Thank you for your help in advance.

Jockel


Top
 Profile  
 
 Post subject: Already found a solution
PostPosted: Sun Jun 10, 2007 4:31 am 
Newbie

Joined: Sat Jun 09, 2007 11:45 am
Posts: 6
you can see it here: http://forum.springframework.org/showthread.php?t=39868

Jörg


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.