Hi @all,
I am pretty new in this Project, but anyhow I would like to Contribute,
or at least to inform other this BUG:
File: Database.java
Package: org.apache.torque.engine.database.model
Version: Database.java,v 1.16 2002/09/15 03:16:56 jmcnally
Where: doFinalInitialization() method
// local column references
Iterator localColumnNames =
currFK.getLocalColumns().iterator();
while (localColumnNames.hasNext())
{
String localColumnName =
(String)localColumnNames.next();
Column local = currTable
.getColumn(localColumnName);
// give notice of a schema inconsistency.
// note we do not prevent the npe as there is nothing
// that we can do, if it is to occur.
if ( local == null )
{
System.out.println("ERROR!! Attempt to define
foreign"
+ " key with nonexistent column, " +
localColumnName + ", in table, " +
currTable.getName() + "!" );
}
else
{
//check for foreign pk's
if (local.isPrimaryKey())
{
currTable.setContainsForeignPK(true);
}
}
}
---
I have not found an info, as well not in jakarta.apache.org, how to
obtain write/suggest or any other type of access into CVS.
If anybody could help me ??
Thanks Tomas
--
To unsubscribe, e-mail: <mailto:turbine-torque-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-torque-dev-help@;jakarta.apache.org>
- Re: BUG & fixes in Database.java Tomas Dusek
- Re: BUG & fixes in Database.java John McNally
- Re: BUG & fixes in Database.java Tomas Dusek
