db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pagu...@fastwebnet.it
Subject Re: Problems with jdbc target
Date Mon, 20 Oct 2003 13:32:26 GMT
i have made a mistake on file properties.

using the torque gen (i use the 3.1 version) i have configurated the build.properties
with this value

torque.project = myproject
torque.database = oracle

torque.database.createUrl = jdbc:oracle:thin:@myhostdb:1521:mysid
torque.database.buildUrl = jdbc:oracle:thin:@myhostdb:1521:mysid
torque.database.url = jdbc:oracle:thin:@myhostdb:1521:mysid
torque.database.driver = oracle.jdbc.driver.OracleDriver
torque.database.user = user
torque.database.password = pwd
torque.database.schema = SCHEMA
torque.database.host = myhostdb

with this option the jdbc target work (on my project).

sorry for my english.

bye 
daniele

>-- Original Message --
>Reply-To: "Apache Torque Users List" <torque-user@db.apache.org>
>Date: Mon, 20 Oct 2003 07:28:48 +0200
>From: David Solbach <dedavid@gmx.de>
>To: "Apache Torque Users List" <torque-user@db.apache.org>
>Subject: Re: Problems with jdbc targuet
>
>
>What she means, is the jdbc target, not the init target. I think she's
trying to create the schema files out of an existing database, which
would be interesting for me, too. So, help her! ;)

David


> -----Original Message-----
> From: daniele [mailto:paguaro@fastwebnet.it]
> Sent: S
>nday, October 19, 2003 4:51 AM
> To: Apache Torque Users List
> Subject: Re: Problems with jdbc targuet
> 
> hi.
> use uppercase when define the schema name into Torque.properties.
> 
> daniele
> 
> 
> On Fri, 2003-10-17 at 11:51, Javier.Olci
>a@uv.es wrote:
> > Hi all!
> >
> >    I am quite new user of Torque, I managed to make the bookstore
> > example, that is in the Torque tutorial, work, but when I try to run
> > the jdbc targuet to import my database schema to the Torque XML
> > 
>chema file, I do not get any content in the file even if all the
> > messages seem to be correct.
> >    Has anybody try this feature with Oracle? Please, would you have
> >    any
> > idea why the proccess does not work properly? I enclosed you th
>
> > Torque output and the xml file that I get.
> >    I did some debugging and it seems to me that for some reason
> >    there
> > is not Metadata available.
> >
> >
> >    Thanks a lot.
> >
> > Javier Olcina
> >



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