Hi,
I've been looking at Torque for helping me create new (peer & map) objects
for accessing databases. However I seem to be running into some
difficulties..... again :-(
Torque did it's job (VERY) well !! Now I'm trying to use the objects. I can
access them but I keep getting an exception in BasePeer because I think the
dbmapName is not correctly set. What is the correct procedure to access the
database? this is what I am naively trying now
CompanyPeer cP = new CompanyPeer();
Criteria crit = new Criteria();
crit.add(cP.COMPANYID, 10);
Vector Company = cP.doSelect(crit);
And this is where it's going wrong.
if (PoolBrokerService.getInstance().getDB(criteria.getDbName())
.objectDataNeedsTrans() &&
criteria.containsObjectColumn(criteria.getMapName()))
Thanx
Colin
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]
- Re: extending turbine database Rafal Krzewski
- Where did all the database.adaptor dire... Magnús ?ór Torfason
- Re: Where did all the database.adap... Jon Stevens
- Re: Where did all the database.... Daniel Rall
- Re: Where did all the datab... Jon Stevens
- Re: Where did all the datab... Daniel Rall
- Re: Where did all the datab... Jon Stevens
- Re: Where did all the datab... Christopher Elkins
- Re: Where did all the datab... Daniel Rall
- Re: Where did all the datab... Daniel Rall
- Re: Torque and database tables Colin Chalmers
- Re: Torque and database tables Leon Messerschmidt
- Re: Torque and database tables Colin Chalmers
- Turbine and SSL Colin Chalmers
- Re: Turbine and SSL John McNally
- Re: Turbine and SSL John Thorhauer
- Re: Turbine and SSL Colin Chalmers
- Re: Turbine and SSL Colin Chalmers
- Re: Turbine and SSL Colin Chalmers
- Re: Torque and database tables Colin Chalmers
- Re: extending turbine database Sean Legassick
