Fixed: Just do not use a multiple primary key but an automatic ID with unique
constraints.
@Entity
@Table(uniqueConstraints = [EMAIL PROTECTED](columnNames={"system", "type",
"starttime"})})
public class Log implements Serializable {
...
@ManyToOne
@JoinColumn(name = "system")
public System getSystem() {
return system;
}
...
}
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917142#3917142
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917142
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user