Return-Path: Mailing-List: contact turbine-torque-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list turbine-torque-user@jakarta.apache.org Received: (qmail 22733 invoked by uid 98); 14 Jan 2003 06:34:03 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Received: (qmail 22705 invoked from network); 14 Jan 2003 06:34:01 -0000 Received: from daedalus.apache.org (HELO apache.org) (63.251.56.142) by nagoya.betaversion.org with SMTP; 14 Jan 2003 06:34:01 -0000 Received: (qmail 26827 invoked by uid 500); 14 Jan 2003 06:32:30 -0000 Received: (qmail 26820 invoked from network); 14 Jan 2003 06:32:30 -0000 Received: from bosvwl01.infy.com (HELO bosvwl01.infosys.com) (216.52.49.35) by daedalus.apache.org with SMTP; 14 Jan 2003 06:32:30 -0000 Received: from 192.168.200.81 by bosvwl01.infosys.com (InterScan E-Mail VirusWall NT); Tue, 14 Jan 2003 01:21:49 -0500 Received: from kecmsg11.ad.infosys.com ([192.168.200.69]) by indhubbhs01.ad.infosys.com with Microsoft SMTPSVC(5.0.2195.5329); Tue, 14 Jan 2003 12:01:28 +0530 Received: from kecmsg04.ad.infosys.com ([192.168.117.9]) by kecmsg11.ad.infosys.com with Microsoft SMTPSVC(5.0.2195.5329); Tue, 14 Jan 2003 12:01:28 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: java.sql.SQLException: ORA-02026: missing LINK keyword Date: Tue, 14 Jan 2003 12:01:28 +0530 Message-ID: <1BD922A62552D411B48A00D0B7472375154C3EF7@kecmsg04.ad.infosys.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: criteria-problem with or/and Thread-Index: AcK7FthYp/ZmdFCkR0ul43hMFDWkWAAeh49g From: "Vinod_Thapliyal" To: "Turbine Torque Users List" X-OriginalArrivalTime: 14 Jan 2003 06:31:28.0741 (UTC) FILETIME=[91EB7150:01C2BB96] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I am trying to define database schema and generate some tables and I am = getting the following error: Although the build is successful but the = ant is not able to properly create the create-db.sql file. create -db.sql file: -- drop database bookstore; -- create database bookstore; C:\Torque\torque-3.0> ant -f build-torque.xml create-db Buildfile: build-torque.xml create-db-check: create-db: [torque-data-model] Generating to file = C:\Torque\torque-3.0\src\sql\create-db.sql [torque-data-model] Resolver: used database.dtd from = org.apache.torque.engine.database.transform package [torque-data-model] Resolver: used database.dtd from = org.apache.torque.engine.database.transform package [echo] [echo] Executing the create-db.sql script ... [echo] [sql] Executing file: C:\Torque\torque-3.0\src\sql\create-db.sql [sql] 0 of 0 SQL statements executed successfully BUILD SUCCESSFUL Total time: 9 seconds I have checked that my build.properties and torque. properties point to = same database drivers. My build.properties is as follows: torque.project =3D bookstore torque.database.createUrl =3D jdbc:oracle:thin:@triveni:1521:galileo torque.database.buildUrl =3D jdbc:oracle:thin:@triveni:1521:galileo torque.database.url =3D jdbc:oracle:thin:@triveni:1521:galileo torque.database.driver =3D oracle.jdbc.driver.OracleDriver torque.database.user =3D turbine =09 torque.database.password =3Dturbine =20 torque.database.host =3D 127.0.0.1 my torque.properties file is as follows: log4j.rootCategory =3D DEBUG, default log4j.appender.default =3D org.apache.log4j.FileAppender log4j.appender.default.file =3D ./torque.log log4j.appender.default.layout =3D org.apache.log4j.SimpleLayout torque.database.bookstore.adapter=3Doracle torque.database.default=3Dbookstore torque.database.bookstore.driver =3D oracle.jdbc.driver.OracleDriver torque.database.bookstore.url =3D jdbc:oracle:thin:@triveni:1521:galileo torque.database.bookstore.username =3D turbine=09 torque.database.bookstore.password =3D turbine =20 torque.sameJavaName =3D false