[JBoss-user] [Persistence & CMP/JBoss] - Re: Method is not a known CMP field accessor, CMR field acce

2005-02-04 Thread agoncal
I've finally found the problem, I didn't take in account that the Order -> OrderLine relationship was bidirectional. Here is the ejb-jar.xml that works, I've just added the | order | It looks like that | OrderBean - OrderLineBean | |

[JBoss-user] [Persistence & CMP/JBoss] - Method is not a known CMP field accessor, CMR field accessor

2005-02-04 Thread agoncal
Hi, I've got a bunch of CMPs (running on JBoss 3.2.5) representing an order with orderLine. Here are the links: Order -1*-> OrderLine -11-> Item | V Customer My problem comes when I want to create an order. With existing Customer and Items, I want to create (in one go) an Order with

[JBoss-user] [Persistence & CMP/JBoss] - CMP With object attributes

2005-01-21 Thread agoncal
Hi, I've got existing POJO/DAO classes and I'm converting them into CMP Beans. Works fine. I've reached the case where I have a class Customer with an attribute Address (another class). public final class Customer extends PersistentObject { private String _id; private String _firstname

[JBoss-user] [Persistence & CMP/JBoss] - Re: Bean not found for relation

2004-05-22 Thread agoncal
Thanks, I've put all the entities in only one jar with only one deployment descriptor and it's working fine. Is the constraint "both beans have to be defined in the same dd if you have a cmr relationship between them" defined in the spec (I haven't found anything) or is this a JBoss limitation

[JBoss-user] [Persistence & CMP/JBoss] - Bean not found for relation

2004-05-19 Thread agoncal
Hi, Based on the PetStore I've got the following CMP EntityBeans Order & OrderItem -> both packaged in order-ejb.jar Category & Product & Item -> packaged in catalog-ejb.jar And OrderItem has a link to Item (both CMPs are in a different jar). Both jars are put into a .ear file and when I deploy