B4J Question JDRC serving different databases

Peekay

Active Member
Licensed User
Longtime User
I have two different apps, each addressing different SQL Server databases on the same server machine.
The config.properties file only allows me to address one JdbcUrl, I think, or how does it know which database to address, and where do I specify it?
With regard to the SQL commands, how would I handle that for two different databases?

Thanks
PK
 

EnriqueGonzalez

Well-Known Member
Licensed User
Longtime User
hi Peekay

you can manually modify the config properties to have both databases addressed or modify the sql sentences with the database and the jdbcurl point to master. There isnt much science around it.
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0
Top