On Mon, 2004-02-09 at 08:50, Rupp, Heiko wrote:
> did the 4.0 DTD contain it ( I don't recall if ported the
> post-table-create to 4.0 or not)?

Well, the 4.0 DTD that's been checked into the jboss module
(http://cvs.sourceforge.net/viewcvs.py/xdoclet/xdoclet/modules/jboss/src/xdoclet/modules/jboss/ejb/resources/jbosscmp-jdbc_4_0.dtd?rev=1.1&view=markup)
 doesn't contain it...

<!ELEMENT entity (ejb-name, (datasource, datasource-mapping)?,
create-table?,
         remove-table?, read-only?, read-time-out?, row-locking?,
         pk-constraint?, read-ahead?, list-cache-max?, fetch-size?, table-name?,
         cmp-field*, load-groups?, eager-load-group?, lazy-load-groups?,
         query*, unknown-pk?, entity-command?, optimistic-locking?, audit?)>

Admittedly, I believe that's the DR1 version of the DTD, but
post-table-create doesn't appear to be in DR2 either - see
http://cvs.sourceforge.net/viewcvs.py/*checkout*/jboss/jboss/src/resources/org/jboss/metadata/Attic/jbosscmp-jdbc_4_0.dtd?content-type=text%2Fplain&rev=1.2


Andrew.

> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Andrew
> > Stevens
> > Sent: Saturday, February 07, 2004 12:22 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [Xdoclet-user] jboss.persistence (again):
> > jbosscmp-jdbc_xml.xdt
> > 
> > 
> > On Sat, 2004-02-07 at 03:22, Victor Batista wrote:
> > >   I have downloaded xdoclet 1.2 sources, and looking to the file
> > > jbosscmp-jdbc_xml.xdt, I found one entry like the one below for each
> > > parameter for the jboss.persistence tag, except for the two 
> > ones which I
> > > can't get to work (post-table-create and table-name).
> > > 
> > > <XDtClass:ifHasClassTag
> > > tagName="jboss:persistence,jboss:create-table,jboss:create-table"
> > > paramName="create-table,create">
> > >          <create-table><XDtClass:classTagValue
> > > tagName="jboss:persistence,jboss:create-table,jboss:create-table"
> > > paramName="create-table,create" paramNum="0"/></create-table>
> > >       </XDtClass:ifHasClassTag>
> > > 
> > > 
> > >   Shouldn't jbosscmp-jdbc_xml.xdt have entries like the 
> > one above for
> > > post-table-create and table-name parameters?
> > >   Can any one confim this for me please?
> > 
> > Well, it's in the jbosscmp 3.2 DTD under both defaults and entity
> > elements, but the only the one under defaults appears to be in the xdt
> > template.  I suggest you raise a bug report in JIRA.
> > 
> > Interestingly, the 4.0 DTD no longer contains that element.  I wonder
> > what's replaced it?
> > 
> > 
> > Andrew.



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to