association « HBM « JPA Q&A





2. HELP: Maven hbm2java association refers to an unmapped class    forum.hibernate.org

Newbie Joined: Fri May 30, 2008 9:35 am Posts: 3 I am moving from ANT to MAVEN. Overview: I am working with three modules, but for this discussion lets pretend there are only two modules (core and app) CORE has hbm.xml files located in: core/src/main/resources/hibernate/ APP has hbm.xml files located in: app/src/main/resources/hibernate/ The maven pom.xml file for CORE has the following ...

3. hbm2ddl: An association refers to an unmapped class !    forum.hibernate.org

Beginner Joined: Wed Oct 29, 2003 5:27 am Posts: 30 win2000 pro, ant 1.5.4, j2sdk 1.4.2-03 My build.xml was modified based on the Workshop Toolset Example. hbm2java works very well. But hbm2ddl met with problems. Code: F:\workshop_toolset_java>ant topdown.hbm2ddl Buildfile: build.xml topdown.hbm2ddl: [javac] Compiling 10 source files to F:\workshop_toolset_java\classes [copy] Copying 6 files to ...

4. Accessing hbm_index in many-to-many association    forum.hibernate.org

Hello, I would like to know if there is a way, a tip, to access the hbm_index value in HQL scalar query (the index() function is not available for this kind of association) ? For example, imagine a many-to-many association like this : Order <*---*> Item An Order has a List of Items. For a given Order, I want to make ...

5. where clause for associations in hbm?    forum.hibernate.org

Hi, We're putting a lot of auditing features into our db schema. What this means is that I'd like to add where clauses into our associations in the hbm. Does something like this exist? status='active' Obviously I just made up the whole "where-clause" element, but maybe there's a ...