-->
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: gloeglm ,another question?
PostPosted: Mon Jan 12, 2004 9:24 pm 
Newbie

Joined: Mon Jan 12, 2004 6:26 am
Posts: 10
can i call the procedure in the hsql ?just like the jdbc.
example: connection.prepareCall("{call sp_zyjs_match()}");
thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 12, 2004 9:31 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
No. You can however get the underlying JDBC connection from Hibernate using session.connection() and execute your prepared statement using plain JDBC.


Top
 Profile  
 
 Post subject: thanks gloeglm again!!
PostPosted: Mon Jan 12, 2004 9:53 pm 
Newbie

Joined: Mon Jan 12, 2004 6:26 am
Posts: 10
thanks for your reply! i think that you means:
i can use the hibernate to get the db connection.then use the plsql
to call the procedure,do you think i uncerstand what you mean?

another question,as what you said.that means i can mix the hsql and
plsql in my application.do you think it 's performance is well. do you think
the hibernate is better than jdbc?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 13, 2004 12:39 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Hibernate can be better than straight JDBC on two fronts:
1) Productivity of producing a persistance layer for an application. Its excellent when you also consider the level of db vendor indepenence you get.
2) With effective caching, hibernate can execute faster. [This is subjective and depends on the application at hand].


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.