I realized retrieveByPK(..) never got generated by torque if SECURITY_ENTRY
table ID is not set to primaryKey.

I got it to build successfully after changing the
torque-schema/security-schema.xml file...

<table name="SECURITY_ENTRY" idMethod="native">
      <column name="ID" required="true" primaryKey="true"
autoIncrement="true"  type="BIGINT"/>
...

I suggest someone makes this change to jetspeed-1 CVS.

Aloundeth,

-----Original Message-----
From: Al. Oupraxay [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 12, 2004 4:54 PM
To: 'Jetspeed Users List'
Subject: Build Error... Jetspeed

I can't build Jetspeed from CVS?  Please help.
 
    [javac] C:\projects\jetspeed\src\java\org\apache\jetspeed\om\dbregistry
\BaseSecurityAccess.java:238: cannot resolve symbol
    [javac] symbol  : method retrieveByPK (org.apache.torque.om.SimpleKey)
    [javac] location: class
org.apache.jetspeed.om.dbregistry.SecurityEntryPeer
    [javac]                           aSecurityEntry =
SecurityEntryPeer.retriev
eByPK(SimpleKey.keyFor(this.entryId));


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

Reply via email to