You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Jin Choi <js...@OrangeImagineering.com> on 2002/04/01 09:36:09 UTC

Re: Got a empty schema file while generate schema from jdbc

When generating a schema from JDBC using the JDBCToXMLSchema ANT task
with Oracle, it is necessary to specify the databaseSchema build
property in uppercase.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Got a empty schema file while generate schema from jdbc

Posted by Bill Schneider <bs...@vecna.com>.
The app-data element is deprecated and doesn't work in Torque 3.0.

-- Bill

----- Original Message -----
From: "Annie Zhang" <yh...@netzero.com>
To: "Turbine Users List" <tu...@jakarta.apache.org>
Sent: Monday, April 01, 2002 12:58 PM
Subject: Re: Got a empty schema file while generate schema from jdbc


> Hi Jin,
>
> It works now, thank you very much!
>
> The generated schema file contains a <app-data> tag. When generate om
using
> this schema, it report errors:
>
> [torque-om] Error [line 4, row -1]: Element type "app-data" is not
declared.
> [torque-om] Resolver: used database.dtd from
> org.apache.torque.engine.database.transform package
> [torque-om] Error [line 4, row -1]: Element type "app-data" is not
declared.
>
> BUILD SUCCESSFUL
>
> Anyway, the sql file and om files are generated.
>
> What's the matter? Thanks again.
>
> Annie
>
>
>
>
> ----- Original Message -----
> From: "Jin Choi" <js...@OrangeImagineering.com>
> To: <tu...@jakarta.apache.org>
> Sent: Sunday, March 31, 2002 11:36 PM
> Subject: Re: Got a empty schema file while generate schema from jdbc
>
>
> When generating a schema from JDBC using the JDBCToXMLSchema ANT task
> with Oracle, it is necessary to specify the databaseSchema build
> property in uppercase.
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Got a empty schema file while generate schema from jdbc

Posted by Annie Zhang <yh...@netzero.com>.
Hi Jin,

It works now, thank you very much!

The generated schema file contains a <app-data> tag. When generate om using
this schema, it report errors:

[torque-om] Error [line 4, row -1]: Element type "app-data" is not declared.
[torque-om] Resolver: used database.dtd from
org.apache.torque.engine.database.transform package
[torque-om] Error [line 4, row -1]: Element type "app-data" is not declared.

BUILD SUCCESSFUL

Anyway, the sql file and om files are generated.

What's the matter? Thanks again.

Annie




----- Original Message -----
From: "Jin Choi" <js...@OrangeImagineering.com>
To: <tu...@jakarta.apache.org>
Sent: Sunday, March 31, 2002 11:36 PM
Subject: Re: Got a empty schema file while generate schema from jdbc


When generating a schema from JDBC using the JDBCToXMLSchema ANT task
with Oracle, it is necessary to specify the databaseSchema build
property in uppercase.

--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>