[jboss-user] [EJB 3.0] - Re: JBoss and PostgreSQL 8.1

fermat42 do-not-reply at jboss.com
Thu Aug 2 09:24:15 EDT 2007


Very Strange... As soon as I remove the line

@IdClass(ComponentPK.class)

and the @Id before the second part of the key everything runs fine. And the same happens with HSQL as DB: I get Exceptions if I use a composed primary key, but there is no error with a normal primary key.

The Problem is: I really need a composed primary key...

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070104#4070104

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070104



More information about the jboss-user mailing list