You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by travis stevens <Tr...@noaa.gov> on 2003/01/22 21:34:46 UTC
[SOURCE] Issue #TRQS127 - Table.java did not have primaryKeys with Peer.vm was looking...
You can view the issue detail at the following URL:
<http://scarab.werken.com/scarab/issues/id/TRQS127>
Type : Patch
Issue Id : TRQS127
Reported by: travis stevens
Travis.Stevens@noaa.gov - (Travis.Stevens@noaa.gov)
Details:
Platform: PC
Operating system: Redhat
Summary: Table.java did not have primaryKeys with Peer.vm was looking for.
Description: Peer.vm contains a method called getPrimaryKey. This method relies on org.apache.torque.engine.database.model.Table to have a List object called primaryKeys. However, it does not. This is causes the method to cotain only the line: return null;.
I added code to Table.java so that the member primaryKeys contains a list of all columns that are primary keys.