db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fischer <fisc...@seitenbau.net>
Subject Re: Torque generate xml scheme and database from Java object
Date Wed, 31 Jan 2007 10:05:40 GMT
I am not sure whether I understood your plan correctly. You want to create
an xml schema from existing java data classes ? If this is the case, I am
afraid that this is not possible.
It is possible to create an xml schema from an existing database, but this
automatically created schema need manual correction.

The standard way to use Torque is to manually create a schema.xml and from
this create the database and java classes. See the tutorial
(http://db.apache.org/torque/releases/torque-3.3/tutorial/index.html) for
this strategy.

    Thomas

ThanhLe <thanhle@sangtao.net> schrieb am 31.01.2007 05:05:17:

> Dear all,
>
> My plan will be developing with Torque data object. Could you tell me
> about Torque code sample?
> I would like to generate xml scheme and database from Java data object.
> Could Torque support this?
>
> Have a nice day.
>
> -Javanesevn
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message