You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-user@db.apache.org by David Solbach <de...@gmx.de> on 2003/10/23 08:18:13 UTC

Re: Problems with jdbc target - solved

For Oracle Databases it's the user name, and alle letters must be
uppercase.



On Wed, 22 Oct 2003 17:00:11 +0200
David_Solbach@dadebehring.com wrote:

> Hm, with what is "SCHEMA" to be replaced to get it to work?
> I got the same Problem, 155Byte empty schema file...
> 
> David
> 
> 
> 
> 
> 
> 
> 
> paguaro@fastwebnet.it
> 20.10.2003 15:32
> Bitte antworten an "Apache Torque Users List"
> 
>  
>         An:     torque-user@db.apache.org
>         Kopie: 
>         Thema:  Re: Problems with jdbc target
> 
> 
> 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" <to...@db.apache.org>
> >Date: Mon, 20 Oct 2003 07:28:48 +0200
> >From: David Solbach <de...@gmx.de>
> >To: "Apache Torque Users List" <to...@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
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
> 


-- 
--
David Solbach

public key ID: 6372ED85
http://wwwkeys.pgp.net/
--