java.jdbc

execute! (and others?) does not force sql-params to be a destructurable sequence

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

This showed up in mixed language code that passed something array-like to Clojure that failed to destructure with {{[[sql & params]]}}. The same interaction works for query because it explicitly converts its sql-params argument to a vector prior to destructuring when it tests whether it has a sql-stmt?. The other functions should do the same thing using vector / vec instead of just wrapping one case in [ ].

Activity

Hide
Sean Corfield added a comment -

In release 0.6.0-alpha2

Show
Sean Corfield added a comment - In release 0.6.0-alpha2

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: