[JBoss-user] [Persistence CMP/JBoss] - Re: can jboss generate a different primarykey per bean using

2004-08-29 Thread bentins
It is my understanding that I need a diferent entity-command for each class I will 
have a difference sequence so my solution was:

* @jboss.entity-command name=folder-sequence class=
  | * @jboss.entity-command-attribute name=sequence value=FOLDER_SEQ

which created the following under folder entity in my jbosscmp-jdbc.xml:

entity-command name=folder-sequence 
class=org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCOracleCreateCommand
  | attribute name=sequenceFOLDER_SEQ/attribute
  |   /entity-command

I think this is the right way to do it don't you?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3846588#3846588

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3846588


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: can jboss generate a different primarykey per bean using

2004-08-26 Thread Imhotep
Hi Shai,

Why not use Hibernate?

-Imho


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3846276#3846276

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3846276


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: can jboss generate a different primarykey per bean using

2004-08-26 Thread lafr
The entity-command oracle-sequence has a attribute named sequence which takes the name 
of the used sequence.

I my EB I have this tags for XDoclet:
 * @jboss.entity-commandname=oracle-sequence
 * @jboss.entity-command-attribute  name=sequence value=afpos_seq

This goes to jbosscmp-jdbc.xml as:
entity-command name=oracle-sequence
afpos_seq
/entity-command


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3846349#3846349

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3846349


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user