Details
-
Type:
Enhancement
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Patch:Code
Description
clojure.java.jdbc/connection and find-connection both return a java.sql.Connection but are not type-hinted.
There is a type hint on clojure.java.jdbc.internal/connection*, but it does not carry through to the public Var.
Tagging these functions eliminates 9 reflection warnings in a project I have.
Attachments
Activity
Stuart Sierra
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Description |
{{{clojure.java.jdbc/connection}}} and {{{find-connection}}} both return a {{{java.sql.Connection}}} but are not type-hinted.
There is a type hint on {{{clojure.java.jdbc.internal/connection*}}}, but it does not carry through to the public Var. Tagging these functions eliminates 9 reflection warnings in a project I have. |
{{clojure.java.jdbc/connection}} and {{find-connection}} both return a {{java.sql.Connection}} but are not type-hinted.
There is a type hint on {{clojure.java.jdbc.internal/connection*}}, but it does not carry through to the public Var. Tagging these functions eliminates 9 reflection warnings in a project I have. |
Stuart Sierra
made changes -
| Attachment | JDBC-17-a.patch [ 10378 ] |
Stuart Sierra
made changes -
| Patch | Code |
Sean Corfield
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Completed [ 1 ] |
Patch applied. Thanx Stuart!