6bb74e7c | 09-Nov-2017 |
Damjan Jovanovic |
UNO hates null strings, and the C++ implementation of the SDBC-JDBC bridge was converting nulls to empty strings, so do the same. Fix parsing strings into UNO timestamps. Dispos
UNO hates null strings, and the C++ implementation of the SDBC-JDBC bridge was converting nulls to empty strings, so do the same. Fix parsing strings into UNO timestamps. Dispose of all undisposed statements when the JDBC connection is disposed. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1814693 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
956476d7 | 08-Nov-2017 |
Damjan Jovanovic |
Port our SDBC-JDBC bridge driver to Java. Supported interfaces, service names, implementation names, logging channels and messages, initialization arguments, and general behaviour is all pres
Port our SDBC-JDBC bridge driver to Java. Supported interfaces, service names, implementation names, logging channels and messages, initialization arguments, and general behaviour is all preserved, so it should be completely transparent to client code. Allow PropertySetAdapter.getPropertyValue() to throw WrappedTargetException, and PropertySetAdapter.setPropertyValue() to throw PropertyVetoException, IllegalArgumentException, and WrappedTargetException, as these are sometimes used to change values in a database driver, which can fail. Port helper classes from main/comphelper for logging. Port AutoRetrievingBase. Add in-memory Column, ResultSet and metadata classes. Improve handling of Any in ORowSetValue. Move PostgreSQL's database metadata result set class to dbtools, and have it only override the method it needs. It's "information_schema" in PostgreSQL - "INFORMATION_SCHEMA" doesn't exist and gives an error. Add a new UNO service com.sun.star.sdb.ParameterSubstitution as was intended by main/connectivity/source/dbtools/dbtools.component that allow substituting parameters, so it can be used from Java. Keep the database drivers in a common install package. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1814552 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|