On Wed, 18 Dec 2002 05:54, you wrote:
> Hello,
>
>  I have this database settings:
>
> database.name = inmo
> database = sapdb
> createDatabaseUrl = jdbc:sapdb://localhost/inmo
> buildDatabaseUrl = jdbc:sapdb://localhost/inmo
> databaseUrl = jdbc:sapdb://localhost/inmo
> databaseDriver = com.sap.dbtech.jdbc.DriverSapDB
> databaseUser = xxx
> databasePassword = xxx
> databaseHost = localhost
>
> When I do ant init I have this errors. To solve some of them I have
> to edit the .schema to change the unique identifier by index
> identifier. Have I doind something wrong? or is it a bug?

I don't know anything about SapDB, but if you look at you errors they 
are either "Missing identifier" which probably means that the SQL being 
executed is invalid or "Unknown table name" which probably means that 
the tables have not been created.  Did you manually create the tables 
in your database or are you relying on the "create-db" target to do 
this for you?

-- Rodney


> A lot of thanks,
>
> Marcial Atienzar
>
> Error:
>
> [torque-sql-exec] Executing file:
> C:\tdk\webapps\inmo\WEB-INF\src\sql\id-table-s chema.sql
> [torque-sql-exec] Failed to execute: CREATE TABLE ID_TABLE (
> ID_TABLE_ID INTEGER NOT NULL, TABLE_NAME VARCHAR (255) NOT NULL,
> NEXT_ID INTEGER, QUANTITY INTEGER, UNIQUE (TABLE_NAME) )
> [torque-sql-exec] com.sap.dbtech.jdbc.exceptions.DatabaseException:
> [-5006] (at 132): Missing identifier
> [torque-sql-exec] Failed to execute: ALTER TABLE ID_TABLE ADD PRIMARY
> KEY (ID_TA BLE_ID)
> [torque-sql-exec] com.sap.dbtech.jdbc.exceptions.DatabaseException:
> [-4004] (at 13): Unknown table name:ID_TABLE

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to