Re: [JBoss-user] [newbie] creating multiple beans at once

2004-02-06 Thread Stefan Schuster
Hi, if you are using XDoclet, you probably forgot the @ejb.relation target-multiple=yes parameter. (Can also be multiple=yes, depends on your setup) Stefan Hi, I ran into a strange problem (for me). I have a few CMP beans that map to a postgresql database. When I run the following code,

[JBoss-user] [newbie] creating multiple beans at once

2004-02-05 Thread Steffen Gransow
Hi, I ran into a strange problem (for me). I have a few CMP beans that map to a postgresql database. When I run the following code, only the first entry is added correctly to the table. The others do have empty values on 'fk_kv' field in database. Shortened code (without exception handling etc):