You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to quick...@googlegroups.com
First and foremost, excellent package! I'm new to Java and almost gave up on concurrency. I've got the basics working and would like to add pooled DB access. I'm using BoneCPDataSource for connection pooling, but wasn't sure how to make the connection available to QuickServer. I know I have to include it in DBPoolUtil. The problem however is that I load the DB settings from an INI file (necessary) and cannot use QuickServer's XML config. Is there a way I can pass the BoneCPDataSource object to QuickServer and access it in DBPoolUtil to do getConnection()?
Akshath
unread,
Aug 19, 2014, 10:33:04 AM8/19/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to quick...@googlegroups.com
Just override you DBPoolUtil impl class to use BoneCPDataSource pooling system.
If you like to init db setting form init file then just read the ini file directly in setDatabaseConnections() method ignore the passed iterator. You may need to have a dummy entry in the xml so QS calls setDatabaseConnections methods. Rest should work as it is.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to quick...@googlegroups.com
I was poking around a bit and passed the BoneCPDataSource in as an object using setObject and then access it inside using getObject. It seems to work unless there is a reason I should not do that.