db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Vandahl ...@apache.org>
Subject Re: Another question about torque-security-impl
Date Mon, 31 Mar 2008 17:46:42 GMT
(Copying to Torque-User as this is actually a Torque question)

Andrey Larionov wrote:
> When this module compiles name of target database is unknown and
> BaseTurbineUserPeer.DATABASE_NAME is empty.
> And setDbName method sets criteria DB to "", even if it contains correct DB.
> What should i do to resolve this problem?

The database name in Torque is just a placeholder for the connection 
pool which is associated with the actual database via Torque.properties. 
So any (abstract) name will do as long as you re-use it in your Torque 
configuration. When creating the OM-classes, "default" may be a good 
choice as it allows you to map one of your connection pools as default.

Bye, Thomas.

To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org

View raw message