Earlier you said:

> Hi.
>
> I need help with following problem. I have set up database (other than
> default), and I try to use my ObjectPeer class to retrieve objects from
> it. I do this that way:
>
> Criteria = new Criteria("mydatabase");
> criteria.add(ObjectPeer.objectId,objId);
> Vector v = ObjectPeer.doSelect(criteria);
>

Now you are saying you are using the default database:

> Nope. Torque generated
> DBBroker.getInstance().getDatabaseMap(DBBroker.DEFAULT), which is
> virtually the same.

If you are placing the TableMap for "Object" into the "default" DatabaseMap,
it will not be found in the "mydatabase" DatabaseMap.

John McNally



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to