After changing idMethod="idbroker" in project-schema.xml, and gen'd a
new project-schema.sql (with torque-3.0a5) what do you need to run?
I tried:
ant clean
ant turbine-insert-sql
ant project-insert-sql
ant project-om
ant compile
and I get the following error:
[javac]
/usr/local/tomcat-build/tdk-www_db/tdk/webapps/www_db/WEB-INF/src/java/o
rg/pxcm/www_db/om/map/RdfMapBuilder.java:95: cannot resolve symbol
[javac] symbol : variable IDBROKERTABLE
[javac] location: class org.apache.turbine.util.db.map.TableMap
[javac] tMap.setPrimaryKeyMethod(TableMap.IDBROKERTABLE);
Seems my TableMap doesn't have IDBROKERTABLE --
I am running tdk-2.1, then with the CVS of turbine-2 (gen'd jar and
replaced one in tdk)
I don't run "ant init" beause it overwrites my project-schema.sql and
corrupts it (leaves off inter column types so it fails on db create)
What file should IDBROKERTABLE be defined in? According to turbine-2
TableMap.java valid methods are:
76 protected static final String[] VALID_ID_METHODS =
77 {
78 NATIVE, AUTO_INCREMENT, SEQUENCE, ID_BROKER,
NO_ID_METHOD
79 };
Do I have my files out of sequence?
What is the pest way to set this up?
So far, I've been told because I am running PostgreSQL -- I should use
TDK-2.1, replace turbine.jar with jakarta-turbine-2 CVS version, and use
Torque-3.0a5 to gen my project-schema.sql.
Does this sound right?
-----Original Message-----
From: Chris Campbell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 6:26 PM
To: [EMAIL PROTECTED]
Subject: RE: Problem with tdk testapp (flux) with postgresql
I think that you want to drop the autoIncrement attribute of the Id
column and add a idMethod="idbroker" to the table
<table name="RDF" idMethod="idbroker">
etc...
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]