Andrew Stevens writes:
> On Wed, 2003-03-12 at 21:05, Cleber Miranda Barboza wrote:
> > > > * @jboss:table-name
> > ^^^^^^^^^^^^^^^^^
> >
> > I've got this from Xdoclet site !!
> > There is a example thare that uses it. So, I think that's rigth !
>
> Unfortunately not. There's no mention of it in the jboss xtags.xml;
> judging by the jbosscmp-jdbc_xml template, there used to be such a tag
> but it's been deprecated in favour of @ejb.persistence table-name="foo"
> when various tags got consolidated. However, it looks like the samples
> didn't get updated to match :-( The old form ought to still work, for
> backward compatibility, but I'd recommend using the ejb.persistence tag
> instead.
>
> I've updated CustomerBean in CVS to use the consolidated tag.
>
Ho do I specify which data base this entity will access ?
I told that becouse @ejb.persistence doesn't have the same tags as
@jboss.persistence. For example, @jboss.persistence has
datasource="MySqlDS"
datasource-mapping="mySQL"
create-table="true"
[]'s
--
Cleber Miranda Barboza.
I'm a Computer Science student at University of S�o Paulo (USP).
email: [EMAIL PROTECTED]
home page: http://www.linux.ime.usp.br/~cleberc
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user