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