db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Rall <...@finemaltcoding.com>
Subject Re: A bug in org.apache.torque.engine.database.model.Database.java
Date Tue, 12 Aug 2003 17:55:31 GMT
And thanks for the note, Peng.

"Henning P. Schmiedehausen" <hps@intermeta.de> writes:

> This has been fixed in the current CVS HEAD.
> 
> 
> peng_chen@freddiemac.com writes:
> 
> >--=_alternative 0080690386256D78_=
> >Content-Type: text/plain; charset="us-ascii"
> 
> >Line 464 to 470 is as follows:
> 
> >                    if (foreign == null)
> >                    {
> >                        System.out.println("ERROR!! Attempt to set 
> >foreign"
> >                                + " key to nonexistent column, "
> >                                + foreign.getName() + ", in table, "
> >                                + foreignTable.getName() + "!");
> >                    }
> 
> >If the condition is ever true, foreign.getName() would give you a 
> >NullPointerException.

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message