-
Notifications
You must be signed in to change notification settings - Fork 38
[JDBC] service spec issues #9
Comments
Comment author: Arie van Wijngaarden <[email protected]> While working with the JDBC service specification, I found the following issues:
|
Comment author: Ivan Dubrov <[email protected]> Let me add a few cents here. Here is discussion I initiated on osgi-dev mailing list a time ago: https://mail.osgi.org/pipermail/osgi-dev/2010-July/002568.html Here is the excerpt of the post (with few edits):
I think it is crucial for client to know if DataSource returned from createDataSource implements pooling or not. So, there should be either way to force implementation to return DataSource with pooling (or throw an exception) or there should be way for the client to see if returned DataSource implements pooling at all. The first case is obviously the preferred for client (so they don't need to bring their own pool implementation if they don't want to), but forces the JDBC provider to brings its own. The second variant is less useful, because it leaves two options: implement client to be flexible about pooling (use its own pool if required), which complicates code or use it's own pool unconditionally (which makes pooling aspect of this specification useless).
|
Original bug ID: BZ#94
From: Arie van Wijngaarden <[email protected]>
Reported version: R4 V4.2
The text was updated successfully, but these errors were encountered: