I have a site and a database running using Turbine. I want to lookup some data
on external database. How can Torque support multiple database connections and
pooling? Essentially I want to use Torque as a layer on top of jdbc, but I
don't want to generate relational-object mapping for the external database
unless Torque can use existing database schema (b/c I have only read access to
ext db). Is this possible? How?
I'm not an expert, but I can tell you from poking around that you CAN generate the relational OM without messing with the database. Just go to WEB-INF/build and run "ant project-om" ~ I'm pretty sure that should compile all *-schema.xml files in your WEB-INF/conf directory; and ONLY generate the OM. Of course, before you do that, you'd need to define the external database in your schemas (I believe it may need to be INSIDE the project-schema.xml, otherwise the FKs won't work)... I'll let a veteran answer the question "can I define more than one <database /> in a schema" (I can't see why not, but again, I'm a newbie myself).
Thanks
Fred
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
___________________________________ Keith Seim • http://kjsdesigns.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
