I have the same problem. My question is where is @IndexColumn? not in JEE API
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947140#3947140
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947140
---
I don't find @IndexColum in Java EE API.
I need to fetch eager and use List for @OneToMany.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947135#3947135
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947135
-
Sorry for posting again..
I have a problem in Composite n Overlapping PK with @EmbeddedId tags
Is there any other JBOSS specific annotations I need to use? like @Dependable..
Is there any sample code that shows Composite and Overlapping PK mapping?
I am using JBoss 4.0.4 GA.
Please have a look
Posting again as the code was not visible in the previous post
Code starts--here--
@IdClass(com.x.ejb.entity.impl.UserGroupKey.class)
@Entity
public class UserGroup {
...
@Id
@Column(name="GROUPID",
insertable=false, updatable=false)
public String getGroupId() {
return groupId
@IdClass(com.x.ejb.entity.impl.UserGroupKey.class)
@Entity
public class UserGroup {
...
@Id
@Column(name="GROUPID",
insertable=false, updatable=false)
public String getGroupId() {
return groupId;
}
...
@Id
@Column(name="USERID",
insertable=false, updatable=false)
I tried with the mentioned patch and also with the nightly build but in vain.
Please give me a solution.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940777#3940777
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=39407