Multiple Connections to database using jbuilder
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Sandeep_DSouza
Posted On:   Tuesday, December 9, 2003 10:43 AM

Hi, I am building a database application in Jbuilder connecting to a MySQL database. This is what I hAve done to connect to the database .. Database LearInv = new Database(); QueryDataSet InvoiceDataSet1 = new QueryDataSet(); Basically I have added database specified a connection .. and written a query .. it all works fine .. Now I need to query another table in the same database .. how do I go about .. do i need to add another instance of the database or use the same existing one and query the database. can someone help me with this. Thanks,    More>>

Hi,


I am building a database application in Jbuilder connecting to a MySQL database.


This is what I hAve done to connect to the database ..


Database LearInv = new Database();

QueryDataSet InvoiceDataSet1 = new QueryDataSet();


Basically I have added database specified a connection .. and written a query .. it all works fine ..


Now I need to query another table in the same database .. how do I go about .. do i need to add another instance of the database or use the same existing one and query the database.


can someone help me with this.

Thanks,

   <<Less
About | Sitemap | Contact