1. Create joins in Hibernate for persistables which do not have each other as component stackoverflow.comI have persistent entities (example class X and class Y) The class X has a field "questionID". I have a detached criteria created on class X. Now I want to "join" this detached ... |
2. How can I map a component in joined class? stackoverflow.comI have the following Oracle Database Model: and I need map it to this Java Class Model: I tried to map this as ... |
3. |
4. outer-join in for a map of components forum.hibernate.orgHibernate version: 2.1.6 Mapping documents: Amenity.xml Name and version of the database you are using: postgresql The generated SQL (show_sql=true): true Debug level Hibernate log excerpt: debug Hello, Thanks in advance for your help, i have the following mapping: on the same table i have a parent child relationship and a component mapping in a map indexed by a string code ... |
5. Explicit join with component mapping forum.hibernate.orgException in thread "main" java.lang.NullPointerException at org.hibernate.hql.ast.HqlSqlWalker.createFromJoinElement(HqlSqlWalker.java:317) at org.hibernate.hql.antlr.HqlSqlBaseWalker.joinElement(HqlSqlBaseWalker.java:3268) at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3060) at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:2938) at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:688) at org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:544) at org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:281) at org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:229) at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:218) at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:158) at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:109) ... |
6. Would like to |