This looks helpful. Can you please open an issue in JIRA? http://opensource.atlassian.com/projects/xdoclet/secure/Dashboard.jspa
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of zousey > seyzou > Sent: Monday, April 19, 2004 8:19 AM > To: [EMAIL PROTECTED] > Subject: [Xdoclet-user] Stevens!!oc4j server primaryKey generation > > > Thanks so much for your efforts, i am greatfull,here is > something that could > maybe help, but I am no sure. > please check this link. > > http://download-west.oracle.com/docs/cd/B10464_01/web.904/b103 > 24/cmp.htm#1040091 > > ************************************************************** > ***************** > <enterprise-beans> > <entity> > <display-name>Employee</display-name> > <ejb-name>EmployeeBean</ejb-name> > <local-home>employee.EmployeeLocalHome</local-home> > <local>employee.EmployeeLocal</local> > <ejb-class>employee.EmployeeBean</ejb-class> > <persistence-type>Container</persistence-type> > <prim-key-class>java.lang.Object</prim-key-class> > <reentrant>False</reentrant> > <cmp-version>2.x</cmp-version> > <abstract-schema-name>Employee</abstract-schema-name> > <cmp-field><field-name>empNo</field-name></cmp-field> > <cmp-field><field-name>empName</field-name></cmp-field> > <cmp-field><field-name>salary</field-name></cmp-field> > </entity> > ... > </enterprise-beans> > > > ************************************************************** > ***************** > > > >From: Andrew Stevens <[EMAIL PROTECTED]> > >Reply-To: [EMAIL PROTECTED] > >To: [EMAIL PROTECTED] > >Subject: Re: [Xdoclet-user] Stevens!!! xdoclet tag for oracle > >oc4jautomaticPrimaryKey generation ? > >Date: Sun, 18 Apr 2004 18:22:56 +0100 > > > >On Sun, 2004-04-18 at 08:50, zousey seyzou wrote: > > > Thanks for your imput, I have looked into how weblogic does the > >automatic > > > primarykey generation, > > > here is . > > > >The point is, however, that none of the current developers > necessarily > >use oc4j; although I committed the module in CVS, I've never actually > >used it myself (the module came from a patch somebody submitted in > >JIRA). For all I know, oc4j may not even have a similar > facility, or it > >may have been added in a later version which the module > doesn't support > >- there's no mention of 'automatic' in the DTD we have in the module. > >Even if it does, the chances are that it is configured totally > >differently. > > > >What exactly (i.e. what XML elements) are you trying to get > XDoclet to > >produce in the orion-ejb-jar.xml descriptor? If you don't know what > >needs to go in the descriptor for automatic PK generation, > then (unless > >someone else on the list uses oc4j and can help us out) the Oracle > >support forums may be a better place to ask. Once you know what you > >need to generate in the file, we can check if there's anything in the > >template to do so, and tell you what tags to use. > > > > > >Andrew. > > > > > <XDT....> > > > > >************************************************************* > ****************** > > > <XDtClass:ifHasClassTag > tagName="weblogic:automatic-key-generation"> > > > <automatic-key-generation> > > > <generator-type><XDtClass:classTagValue > > > tagName="weblogic:automatic-key-generation" > paramName="generator-type" > > > values="ORACLE,SQL_SERVER,NAMED_SEQUENCE_TABLE"/></generator-type> > > > <XDtClass:ifHasClassTag > >tagName="weblogic:automatic-key-generation" > > > paramName="generator-name"> > > > <generator-name><XDtClass:classTagValue > > > tagName="weblogic:automatic-key-generation" > > > paramName="generator-name"/></generator-name> > > > </XDtClass:ifHasClassTag> > > > <XDtClass:ifHasClassTag > >tagName="weblogic:automatic-key-generation" > > > paramName="key-cache-size"> > > > <key-cache-size><XDtClass:classTagValue > > > tagName="weblogic:automatic-key-generation" > > > paramName="key-cache-size"/></key-cache-size> > > > </XDtClass:ifHasClassTag> > > > </automatic-key-generation> > > > </XDtClass:ifHasClassTag> > > > > > > > >************************************************************* > ****************** > > > I assumed this is purelly a xdoclet > >tag(weblogic:automatic-key-generation) > > > does the same type or an other xdoclet tag could do the > same on orcj4, > >or > > > maybe on any other server? what i am aming at is is there > in xdoclet tag > >a > > > general way of doing this ? I am desperated. > > > or could some one suggest a work- round for this problem ? > > > > > > thanks. > > > > > > > > > >From: Andrew Stevens <[EMAIL PROTECTED]> > > > >Reply-To: [EMAIL PROTECTED] > > > >To: [EMAIL PROTECTED] > > > >Subject: Re: [Xdoclet-user] xdoclet tag to use for oracle oc4j > > > >automaticPrimaryKey generation ? > > > >Date: Sat, 17 Apr 2004 23:25:37 +0100 > > > > > > > >On Sat, 2004-04-17 at 12:23, zousey seyzou wrote: > > > > > I am looking for xdoclet tag to use to generate > oracle server oc4j > > > > > automatic PrimaryKey, > > > > > any body has or knows the xdoclet tag to > automatically generate > > > >primaryKey > > > > > of the ejb's that will be deploy on oracle oc4j server ?. > > > > > I have done this on weblogic server, the tag is. > > > > > * > > > > > * @weblogic.automatic-key-generation > > > > > * generator-type="ORACLE" > > > > > * generator-name="OPENING_HOUR_SEQ" > > > > > * key-cache-size="1" > > > > > > > >What needs to be included in the oc4j descriptor to > enable this? If > >you > > > >search through the .xdt template for the appropriate > element it should > > > >be reasonably obvious from the surrounding <XDt...> > template code what > > > >the relevant tags are. Of course, that's assuming that > oc4j supports > > > >such a feature in the first place; I've never used it > myself so I don't > > > >know whether it does or not. > > > > > > > > > > > >Andrew. > > > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by: IBM Linux Tutorials > >Free Linux tutorial presented by Daniel Robbins, President and CEO of > >GenToo technologies. Learn everything from fundamentals to system > >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > >_______________________________________________ > >xdoclet-user mailing list > >[EMAIL PROTECTED] > >https://lists.sourceforge.net/lists/listinfo/xdoclet-user > > _________________________________________________________________ > F� alle de nye og sjove ikoner med MSN Messenger > http://www.msn.dk/messenger > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
