> Gonzalo, I gave Criteria and BasePeer a look. From what you post, it
> almost appears that Criteria.dbName is getting set to "default". From
> the Criteria CVS source, I don't see how this could be happening.
> Perhaps something that uses this value as a hash key has a problem?
This is exactly what's happening. The peer class for the table I'm
querying from has this code (slightly modified to be able to log
what's going on):
public static Vector doSelect( Criteria criteria ) throws Exception
{
String name = getMapBuilder().getDatabaseMap().getName();
Log.note("BINGO: [" + name + "]");
criteria.setDbName(name);
return doSelect (criteria,"com.bice.Cartola", null);
}
and, in fact, name is being set to default. Now, we have defined
our own MapBuilder class inheriting from TurbineMapBuilder.
All it does is to add the get*() methods and redefine the doBuild()
method to call its parent's doBuild() and then add the columns
to each table's maps. Maybe we made a mistake here?
Thanks,
--
Gonzalo A. Diethelm
[EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]