Diogo Quintela (EF) wrote:

Check xdoclet 1 and/or xdoclet 2.
They are more maintained I suppose.

Xdoclet 1
http://xdoclet.sourceforge.net/xdoclet/tags/exolab-tags.html
http://xdoclet.sourceforge.net/xdoclet/ant/xdoclet/modules/ejb/EjbDocletTask
.html

Xdoclet 2
http://xdoclet.codehaus.org/Castor+plugin

Regards
Well, but I haven't found ANY documentation of how SQL scripts of the database
schema needed for mapping should/could be generated by those doclets.

I looked on the XDoclet site and only have found that indeed Castor tags are taken
under consideration as an <ejbdoclet> subtask. But I don't need EJB's.

I also looked all the way through original JDO documentation on the codehaus site, but I haven't found any mention of how to create SQL script for a database. There is however a notice, that in the testing framework there supposed to be an oracle.sql file
somewhere in the tests. And I want to use hsqldb, not Oracle.
Also, in the src/examples/jdo there is a create.sql file for MySQL. And I want to use hsqldb in conjunction with my own classes, stored in the database with correct schema.
And how to create that schema is beyond me...

I just want to use JDO in my client application, backed by a hsqldb database.
No more, no less. So I need an mapping.xml and a database schema.
While after reading the docs I think that the mapping.xml can be generated somehow. But I'm completely unable to see any hint if a corresponding SQL database schema
could also be generated (at all).

From what I've gathered over two last days I find that my goal is virtually impossible to achieve based on the current Castor docs. Please recommend me any furher reading. A step-by-step guide would be best, as I can't really find anything like that. I don't really want to drop Castor from my project, because it looks really promising and I've already invested a lot of my time searching for the information about using it.

Regards,
Wiktor Wandachowicz

-------------------------------------------------
If you wish to unsubscribe from this list, please send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to