-->
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: Using Hibernate and not generating any SQL
PostPosted: Tue Apr 25, 2006 7:26 am 
Newbie

Joined: Thu Apr 20, 2006 12:30 pm
Posts: 7
Hi

I'm evaluating Hibernate 3.2 CR for a project where all database access must be via stored procedures. If any non-SP SQL is used to query the DB, I'm gonna be in a lot of trouble!

So, is it possible to use Hibernate and map associations to sets without any SQL being generated by Hibernate. I've tried using <loader query-ref> to load a class, but the SQL (SELECT ...) is generated anyway. Its quite likely that I'm using <loader query-ref> wrong, but I need to ask this question because if its not possible to configure / use Hibernate to only use SPs and never generate its own SQL in any circumstance, then it might not be the product for us. Which would be a crying shame.

Cheers

Patrick.


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 11, 2006 12:05 am 
Newbie

Joined: Thu Dec 15, 2005 10:59 pm
Posts: 8
Location: Trier
I've exactly the same problem. More of this, the queries generated by Hibernate are somewhat *huge* (union-mapping), so that all the memory is used up by static strings...

Any solution to this one, anyone?

Patric


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.