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
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
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.
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 -