db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henning P. Schmiedehausen" <...@intermeta.de>
Subject Re: A bug in org.apache.torque.engine.database.model.Database.java
Date Tue, 05 Aug 2003 07:13:35 GMT
peng_chen@freddiemac.com writes:

This has been fixed in the current CVS HEAD.

	Regards
		Henning



>--=_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.

>Peng
>--=_alternative 0080690386256D78_=--

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/

Java, perl, Solaris, Linux, xSP Consulting, Web Services 
freelance consultant -- Jakarta Turbine Development  -- hero for hire

"You are being far too rational for this discussion."  
       --- Scott Robert Ladd in <3F1874B0.6030507@coyotegulch.com>

---------------------------------------------------------------------
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