1. NullPointerException when I Try to retrieve information forum.hibernate.orgThis is the problem. I have two entities: Profile and User. 1 user has many profiles But 1 user also has an "active profile". An active profile is the profile this user is currently using. Table USER: USER_ID: VARCHAR(10) NAME: VARCHAR(20) EMAIL: VARCHAR(20) SERIAL_NUMBER:VARCHAR(20) PROFILE_ID: INTEGER (this is the foreign key that references the active profile) Table PROFILE: PROFILE_ID: INTEGER NAME: ... |
2. [HQL] Join with fetch gives NullPointerException forum.hibernate.orgjava.lang.NullPointerException at org.hibernate.loader.BasicLoader.isBag(BasicLoader.java:71) at org.hibernate.loader.BasicLoader.postInstantiate(BasicLoader.java:53) at org.hibernate.loader.hql.QueryLoader. |
3. nullpointerException in AbstractTuplizer while fetching data forum.hibernate.org |