Victor Batista wrote:
>       I am trying to use the tag jboss.persistence (with
> xdoclet 1.2), but it seems to do nothing.

Do *none* of the tags have an effect (no tables created or removed, no
sequence generated, no pk-constraint, etc) or is *only* the
post-table-create tag being ignored. If that latter, does the table
already exist? If so, the post-table SQL will not be executed. From the
docs:

"Send an arbitrary SQL command to the DB after creating the table. The
SQL is only sen[t] to the DB if create-table is true and the table was
freshly created."

> CREATE SEQUENCE TEST_SEQ START WITH 1000 INCREMENT BY 1

As an aside, if you expect to be creating a lot of beans in a short time
and you don't care about gaps in your sequence of PKs and JBoss supports
it, you may want to increment by a larger number. With WebLogic you can
set the increment to 10, for example, and it will give out PK n, n+1,
..., n+9 before it has to hit the sequence again.

I've never used JBoss, so I'm afraid that's pretty much all I can say.

Peace,

--
David Harkness
Sr. Software Engineer
Sony Pictures Digital Networks
(310) 482-4756


-------------------------------------------------------
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