LucidDB / adminws

Web services for connecting to and administrating LucidDB
http://www.dynamobi.com/c/products/luciddb/administration-ui/
2 stars 1 forks source link

[DWS-20] remove c3p0 #13

Closed dynamobi-build closed 12 years ago

dynamobi-build commented 12 years ago

[reporter="ksecretan", created="Wed, 2 Mar 2011 15:17:40 -0800", resolved="Sat, 5 Mar 2011 06:35:42 -0800"]

We want a single persistent connection for each user. Ideally a call to getConnection should be done async and killed if not done within 5 seconds.

dynamobi-build commented 12 years ago

[author="ksecretan", created="Sat, 5 Mar 2011 06:35:43 -0800"]

c3p0 has been eliminated.

Instead of killing a getConnection() call it just enters a busy-wait loop while it waits for the previous thread to finish up with its connection.