jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • jDBI
  • JDBI-9

Expand array arguments automatically

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: Pony
  • Component/s: Core
  • Labels:
    None

Description

It would be very convenient if jdbi expanded array arguments automagically.

If a query looks like:

select * from table where id in :id

and an array with 5 elements is is bound to "id", jdbi should translate the statement into:

select * from table where id in (?,?,?,?,?)

There may be some potential issues with positional parameters that would need to be worked out, but I think this approach should work.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Brian McCallister added a comment - 25/Sep/07 5:45 PM

Most asked for feature... ever

Show
Brian McCallister added a comment - 25/Sep/07 5:45 PM Most asked for feature... ever

People

  • Assignee:
    Brian McCallister
    Reporter:
    Martin Traverso
Vote (0)
Watch (0)

Dates

  • Created:
    31/Aug/07 12:52 PM
    Updated:
    25/Sep/07 5:45 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.