[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - How to map collection of entity ids

2007-05-22 Thread jamestang
Let's say Factory.java and Product.java are entity classes. There is a one-to-many unidirectional relationship from Factory to Product. | @Entity | public class Factory implements Serializable { | @Id | private Long id; | | // This is a collection of Product ids. How to m

[jboss-user] [JNDI/Naming/Network] - JBoss 4.0.4GA HA-JNDI not working with EJB3

2006-08-16 Thread jamestang
I have a very simple SLSB written in EJB3. The packaged EAR file is copied to "all/deploy" directory in two JBoss 4.0.4GA instances on two machines, n1 and n2. These two JBoss instances form a cluster within one subnet with same out-of-box configurations. The SLSB has annotation @Clustered. When

[jboss-user] [Clustering/JBoss] - JBoss 4.0.4GA HA-JNDI not working

2006-08-15 Thread jamestang
I have a very simple SLSB written in EJB3. The packaged EAR file is copied to "all/deploy" directory in two JBoss 4.0.4GA instances on two machines, n1 and n2. These two JBoss instances form a cluster within one subnet with same out-of-box configurations. The SLSB has annotation @Clustered. When