-->
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.  [ 3 posts ] 
Author Message
 Post subject: Implementing SessionFactoryImplementor
PostPosted: Wed Feb 04, 2004 3:01 pm 
Newbie

Joined: Fri Dec 05, 2003 11:05 am
Posts: 9
Hello,

How can I provide my implementation of SessionFactoryImplementor instead of SessionFactoryImpl , that is the default implementation?

Is there some XML which I can specify this?

Thanks,
Leonardo.

_________________
Leonardo Figueiredo Almeida


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 04, 2004 3:19 pm 
Newbie

Joined: Fri Dec 05, 2003 11:05 am
Posts: 9
The reason is because I want to create CallableStatements (instead of PreparedStatements) to use the stored procedures of my DataBase.

Leonardo.

_________________
Leonardo Figueiredo Almeida


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 04, 2004 3:46 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
No need to mess with the Session Factory. If you just want to create CallableStatements use session.connection(). Otherwise implement your own ClassPersister which uses prepared statements. This is not trivial, but can be done.


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