-->
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: Need help configuring Named Queries!!!
PostPosted: Mon Aug 04, 2008 6:22 pm 
Regular
Regular

Joined: Tue Jul 29, 2008 4:15 pm
Posts: 62
Location: Dallas, TX US
Hibernate version: hibernate-annotations 3.3.1, hibernate-commons-annotations 3.3.0.ga, hibernate-entitymanager3.3.2, hibernate-core 3.2

Name and version of the database you are using: Orcale XE 10g Release 2 (10.2)

I am using Hibernate Tools 3.2.2.Beta1 with Eclipse 3.3.2
---------------------------------------------------------------------------------------

I want to know how to do 2 things:

1. I want to add hibernate named queries to my hbm.xml files. Please understand that I am auto-generated these hbm.xml files from my reveng.xml file; I will call the hbm.xml file that was generated from the reveng.xml, "Classes.hbm.xml". Is there a way to use a second configuration file that only has the hibernate named queries defined in it. I will call this file: "NamedQueries.hbm.xml". So I would like to generated my POJOs based off of the NamedQueries.hbm.xml file and the Classes.hbm.xml file. Is this possible?

2. I want to be able to generate DAOs that only use Named Queries from Hibernate Tools. Is this possible?

Any advice is welcomed!

Thanks!

[/list]

_________________
pouncilt


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.