[PDB-1737] Change storage_utils to dispatch on driver class Created: 2015/07/07  Updated: 2015/09/22  Resolved: 2015/08/18

Status: Closed
Project: PuppetDB
Component/s: None
Affects Version/s: None
Fix Version/s: PDB 3.1.0

Type: Task Priority: Normal
Reporter: Ryan Senior Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Blocks
blocks PDB-1738 Switch storage.clj from the deprecate... Closed
blocks PDB-1739 Upgrade query namespaces to the new j... Closed
Relates
relates to PDB-1530 Upgrade to latest clojure.java.jdbc Closed
Template:
Epic Link: Tech Debt
Story Points: 2
Sprint: PuppetDB 2015-08-12, PuppetDB 2015-08-26

 Description   

Currently determining the SQL syntax for arrays and regular expressions relies on having a database connection. The metadata on the connection is used to determine which database (HSQLDB vs. PostgreSQL). If we can remove the reliance on the connection dynamic var, upgrading java.jdbc will be easier.



 Comments   
Comment by AJ Roetker [ 2015/08/03 ]

See linked gists for possible solutions.

Comment by Rob Browning [ 2015/08/03 ]

Our goal was just to continue making progress on the clojure/java.jdbc upgrade, and PDB-1737 needs to go before PDB-1739.

Generated at Tue Oct 15 02:48:13 PDT 2019 using JIRA 7.7.1#77002-sha1:e75ca93d5574d9409c0630b81c894d9065296414.