Permalink
Commits on Nov 25, 2016
  1. Merge pull request #577 from stevenschlansker/script-getstatements

    Expose Script.getStatements()
    Matthew Hall committed on GitHub Nov 25, 2016
  2. Expose Script.getStatements()

    Fixes #575
    stevenschlansker committed Nov 25, 2016
Commits on Nov 12, 2016
  1. Release notes for #558

    stevenschlansker committed Nov 12, 2016
  2. Merge pull request #558 from schalkwijk/fix-empty-list-support-for-po…

    …stgres
    
    Fix how the @BindIn annotation deals with EmptyHandling.NULL when backed by a postgresql database
    stevenschlansker committed on GitHub Nov 12, 2016
  3. Fix how the @BindIn annotation deals with EmptyHandling.NULL when bac…

    …ked by a postgresql database
    
    Support for handling empty collections through the @BindIn annotation was introduced in 823c7b7. However, this functionality does not work on postgresql databases - postgresql demands the "in (null)" syntax, and despite the fact that BindingFactory.Binder#build attempts to solve this problem (https://github.com/jdbi/jdbi/blob/master/src/main/java/org/skife/jdbi/v2/unstable/BindIn.java#L161-L164), it falls short of setting the appropriate attributes so that StringTemplate3StatementLocator#locate (https://github.com/jdbi/jdbi/blob/master/src/main/java/org/skife/jdbi/v2/sqlobject/stringtemplate/StringTemplate3StatementLocator.java#L258-L266) works appropriately. My fix is aimed squarely at injecting a placeholder null value in the query, in place of just "()".
    
    Note: I didn't change the behavior for when the input value is explicitly null, since that I believe that the user's intent is fundamentally different than when the value is an empty list.
    Samuel Lopes committed Nov 11, 2016
Commits on Nov 10, 2016
  1. BasicHandle: on close, clear ThreadLocal

    stevenschlansker committed Nov 9, 2016
Commits on Oct 27, 2016
  1. Merge pull request #544 from jdbi/class-leak

    Fix class leak: use synchronized weak hash map instead of ConcurrentH…
    arteam committed on GitHub Oct 27, 2016
  2. Fix class leak: use synchronized weak hash map instead of ConcurrentH…

    …ashMap, so class keys can be garbage-collected.
    Matthew Hall committed Oct 27, 2016
Commits on Oct 24, 2016
  1. Merge pull request #538 from icirellik/unused-imports

    Remove unused import statements.
    Matthew Hall committed on GitHub Oct 24, 2016
  2. Remove unused import statements.

    icirellik committed with Cameron Rollhieser Oct 24, 2016
Commits on Sep 27, 2016
Commits on Sep 15, 2016
Commits on Sep 14, 2016
  1. release notes for #465

    stevenschlansker committed Sep 14, 2016
  2. Merge pull request #484 from hpx7/defaultmapper-column-case

    Add case sensitivity option to DefaultMapper
    stevenschlansker committed on GitHub Sep 14, 2016
Commits on Sep 13, 2016
Commits on Sep 12, 2016
  1. Merge pull request #472 from robfletcher/master

    Type-safe version of DBIFactoryBean
    stevenschlansker committed on GitHub Sep 12, 2016
Commits on Sep 2, 2016
Commits on Aug 31, 2016
  1. Merge pull request #465 from jdbi/abstract-method-error-swallowed

    Fix AbstractMethodError being swallowed in pass-through methods.
    stevenschlansker committed on GitHub Aug 31, 2016
  2. Add the original AbstractMethodError as the exception cause so classp…

    …ath problems are easier to troubleshoot.
    Matthew Hall committed Aug 31, 2016
Commits on Aug 19, 2016
  1. Release notes #442

    stevenschlansker committed Aug 19, 2016
  2. Merge pull request #442 from jdbi/imperative-method-locate-statement-…

    …parity
    
    Allow imperative SQL object methods to locate SQL statements in the s…
    stevenschlansker committed on GitHub Aug 19, 2016
Commits on Aug 16, 2016
  1. Move sql object type / method context management on the handle to the…

    … HandleDing. That statement makes no sense out of context.
    Matthew Hall committed Aug 16, 2016
Commits on Aug 10, 2016
  1. Allow imperative SQL object methods to locate SQL statements in the s…

    …ame classpath directories as declarative methods.
    
    Add methods Handle.getSqlObjectType, Handle.getSqlObjectMethod, and Handle.setSqlObjectContext (sets both
    properties at once). These values are forwarded to the StatementContext of any Query, Update, Batch, etc
    upon creation of a SQLStatement.
    
    In v3, we may want to hoist the setting of these values to a universal Handler wrapper which gets wrapped
    around every method. In this way we set the properties once on the Handle and would not have to expose
    setters on the StatementContext.
    Matthew Hall committed Aug 10, 2016
Commits on Aug 9, 2016
  1. Merge pull request #440 from stevenschlansker/latest-basepom

    Latest basepom, make tests execute faster
    stevenschlansker committed on GitHub Aug 9, 2016