IdClass « Column « JPA Q&A





1. help!! :( About @IdClass: Same logical column name reference    forum.hibernate.org

import org.hibernate.SessionFactory; import org.hibernate.cfg.AnnotationConfiguration; public class TestManyToOne { public static void main(String[] args ) { AnnotationConfiguration config = new AnnotationConfiguration(); config.addAnnotatedClass(Ticket.class); config.setNamingStrategy(new com.projectEvaluation.dao.hbImp.TNamingStrategy()); SessionFactory sessionFactory = config.configure("./hibernate.cfg.xml").buildSessionFactory(); ...

2. @Column(name="...") get's ignored with use of @IdClass    forum.hibernate.org

Newbie Joined: Tue May 26, 2009 6:06 am Posts: 1 I'm really getting mad with this EJB3 stuff, because I'm trying to set up a concept for migrating EJB2.0-Entity-Beans to EJB3.0-Entities. Was testing it with OpenJPA - didn't work! Was testing it with EclipseLink - didn't work! And now I'm testing Hibernate and... Ok, here is my problem. The log messages ...