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
|
|