When performing a select (using a Criteria object) containing a join to a
table, if that has never been selected from before (in the Turbine app) I
get the following error:

 Exception:  java.lang.NullPointerException:
 Stack Trace follows:
 java.lang.NullPointerException:
 at
org.apache.turbine.util.db.Criteria.containsObjectColumn(Criteria.java:393)
 at org.apache.turbine.om.peer.BasePeer.doSelect(BasePeer.java:1111)

I've discovered through querying the databaseMap that the tableMap in
question does not exist.  Is it true that a tableMap is loaded into a
databaseMap only when performing a select on its table (it seems so)?  If so
is there a way to configure turbine to load all the tableMaps in when it
starts up?  Or is there another solution?

Nick


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

Reply via email to