[JBoss-user] [Persistence & CMP/JBoss] - ValueObject, Serializable, EnitiryBean

2005-03-11 Thread dtn70437
Hi, im using the auto-increment function in an entity bean for the primary key. On https://www.coredevelopers.net/library/jboss/cmp/keys.jsp i was told to use java.lang.object as the class for the PK. Here is my xdoclet code: | /** | * @ejb.bean name="Kunde" display-name="Name for KundeBea

[JBoss-user] [Persistence & CMP/JBoss] - Re: Postgresql 7.4.x/8.0, CMP and auto-increment

2005-03-11 Thread dtn70437
Hi, thanks again. Now the Bean works. Here is the summary (XDoclet): Bean-Xdoclet-Descriptor | | /** | * @ejb.bean name="Kunde" display-name="Name for KundeBean" | * description="Description for KundeBean" jndi-name="ejb/Kunde" | * type="CMP" cmp-version="2.x" vi

[JBoss-user] [Persistence & CMP/JBoss] - Re: Postgresql 7.4.x/8.0, CMP and auto-increment

2005-03-09 Thread dtn70437
Whow, great, your solutions work great !! Thx Could you tell me also b) How to get the PK in the createMethode to return it to the client ? regards Danny View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869442#3869442 Reply to the post : http://www.jboss.

[JBoss-user] [Persistence & CMP/JBoss] - Postgresql 7.4.x/8.0, CMP and auto-increment

2005-03-08 Thread dtn70437
Hi, could somebody tell me how the use auto-increment PK's for entity-beans with jboss ? a) How to declare the entity bean with XDoclet ? b) How do i get the new PK after creating Bean ? I want to return this PK to the client .. I search in den Newsgroups/Forums ... but i missed the answer -