[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Laizy load the Collection

2008-06-12 Thread wilfried.deguil
Hello, I'm using jBoss 4.2.2.GA and EJB3 with JPA. I have this entity public class Person { private Collection geveRoles; ... ... @ManyToMany(mapped="persons") public Collection getGeveRoles() { return geveRoles; } } and another entity : public class GeveRole { private Collection pe

[jboss-user] [EJB 3.0] - EJB3 and GenerationType.AUTO on Sqlserver 2005

2008-02-28 Thread wilfried.deguil
Hello, I'm using Jboos 4.2.0.0 GA and Sqlserver2005 and Mysql. I have an EJB3 entity with this annotations : @Entity public class Test implements Serializable { private int id; @Id @GeneratedValue(strategy=GenerationType.AUTO) public int getId(); { return id; } } When i start my server

[jboss-user] [EJB 3.0] - EJB3 an JBoss client java.io.InvalidClassException

2008-02-21 Thread wilfried.deguil
Hello, I start to develop with EJB3. I'm using JBoss 4.2.1.GA. I deploy my Entity and Session Bean on the server. I verify that my session bean at loaded with the JMX console. Code of my Session Bean : @Stateful public class SiteDetailsManagerBean implements SiteDetailsManagerRemote { @Pe