Hi All,

Recently I started working on a project using Apache
OJB. In the course of working on this project I
developed a code generator tool which reads in the
repository.xml and generates the Java bean stub source
as well as schema definitions for tables. OJB site
mentions that there are no tools which do "Forward
generation from repository.xml". This is what I do
except that the utility is written in Java and not
XSLT. 

I am posting the sources, you just need to compile the
classes and you can start using it straight away. The
main class is RepositoryXmlProcessor (the main
method demonstrates the usage). The DDL that gets
generated has been tested with Oracle 9i.
Customisations to the schema as well as native
database types, can be accomplished by modifying the
SQLGenerator class which handles the job of generating
the schema. 

Regards,
Tom.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to