2009-04-07 7 views

Répondre

2

Bien, problème résolu en utilisant @Embeddable!

@Embeddable 
public class UsertId implements Serializable{ 
    int master_id; 
    int id; 
    //.....setter &getter 
} 

//and in the bean, the type for Id should be UsertId 
@Id 
UsertId id; 
+1

Heureux de pouvoir vous aider. – skaffman

Questions connexes