Thanks for the answers Gwyn. Yes <database-type> is used in WLS 7 to specifies the database used as the underlying dbms. The values can be DB2 | INFORMIX | ORACLE| SQL_SERVER | SYBASE | POINTBASE.(http://edocs.bea.com/wls/docs70/ejb/EJB_reference.html#1104554)
Is there a way I can include this element into the generated descriptor via XDoclet? Ze'ev ----- Original Message ----- From: <[EMAIL PROTECTED]> To: "xdoclet-user" <[EMAIL PROTECTED]> Sent: Monday, November 11, 2002 6:55 PM Subject: Re: [Xdoclet-user] Some newbie questions > Hello Zeev, > > Monday, November 11, 2002, 2:13:57 PM, you wrote: > > Z> 1. I can't seem to find a way to generate the <database-type> entry in > Z> weblogic-cmp-rdbms.xml > > Hmm, not come across that one - Is it a WebLogic 7 item? > > Z> 2. In the ejb-jar.xml file XDoclet generated this header: > Z> <ejb-jar > > Z> <description><![CDATA[No Description.]]></description> > Z> <display-name>Generated by XDoclet</display-name> > Z> ... > Z> Is there a way to set/override these values? > > Sorry, never actually tried - mine appear same as yours! > > Z> 3. ejb-jar.xml : In the entity cmp fields XDoclet generated empty > Z> descriptions for the cmp-fields. Example: > Z> <cmp-field > > Z> <description><![CDATA[]]></description> > Z> <field-name>userId</field-name> > Z> </cmp-field> > Z> Is there a way to set this? > > Ah, that one I can help with. > > It uses the text part of the Javadoc, e.g. > /** > * The date the event occurred > * > * @ejb:persistent-field > * @weblogic:dbms-column AS_TIMESTAMP > */ > public abstract Date getDate(); > public abstract void setDate(Date d); > > should use "The date the event occurred" as the description. > > Z> 4. I have defined a find query for my CMP Entity bean using the @ejb.finder > Z> tag. XDoclets has also generated a <weblogic-query> for it in the > Z> weblogic-cmp-rdbms-jar (in addition to the one generated in ejb-jar.xml). Is > Z> this needed? (my previous version worked fine without it). > > It allows you to use WebLogic-specific extensions to EJB-QL, if you > needed to, although I don't think there's (currently?) a way to specify > different extensions to be used with different app-servers... > > Anyway, if you're using standard EJB-QL, then strictly it shouldn't/ > needn't be there, but now the query's wrapped in a CDATA block, then > it shouldn't matter/make any difference. > > -- > Best regards, > Gwyn mailto:Gwyn@;email.com > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
