• akrherz's avatar
    OF-1229 Safeguard JDBC.executeBatch() calls on empty batch · 476ab027
    akrherz authored
    OF-955 updated the HSQL library and it introduced a JDBC requirement that
    executeBatch() calls actually have batched items to do.  It appears there
    is no API available to check for if batched statements have been added, so
    we hack in a simple sentinal to safegaurd calls to `executeBatch`.  Thankfully,
    only PubSubPersistenceManager.java uses this API.  Otherwise, an option is to
    set `allow_empty_batch` on the connection parameters.
    476ab027
Name
Last commit
Last update
..
bin Loading commit data...
conf Loading commit data...
database Loading commit data...
i18n Loading commit data...
java Loading commit data...
javadoc/jdk15 Loading commit data...
plugins Loading commit data...
resources Loading commit data...
security Loading commit data...
spank Loading commit data...
test Loading commit data...
tools/anttask/org/jivesoftware/ant Loading commit data...
web Loading commit data...