| 6bb74e7c | 09-Nov-2017 |
Damjan Jovanovic <damjan@apache.org> |
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
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 <damjan@apache.org> |
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, s
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 ...
|
| a91eb973 | 19-Sep-2017 |
Damjan Jovanovic <damjan@apache.org> |
When an unknown column is passed to ColumnContainer, which it will be when a new column is created, re-read it from the database.
Strings in UNO can't be null. Ensure this is the case in Column and
When an unknown column is passed to ColumnContainer, which it will be when a new column is created, re-read it from the database.
Strings in UNO can't be null. Ensure this is the case in Column and SdbcxColumnDescriptor.
Patch by: me
git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1808960 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
| 10751405 | 19-Sep-2017 |
Damjan Jovanovic <damjan@apache.org> |
Add support for adding and deleting columns in Java's SDBCX tables, currently used by the PostgreSQL driver.
Patch by: me
git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1808824 13f
Add support for adding and deleting columns in Java's SDBCX tables, currently used by the PostgreSQL driver.
Patch by: me
git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1808824 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
| f9f0c9e8 | 18-Sep-2017 |
Damjan Jovanovic <damjan@apache.org> |
In buildName(), schema should be the empty string, instead of null.
Add some JavaDoc for it, and use getClass().getName() for getImplementationName(), which is most accurate for Java.
Patch by: me
In buildName(), schema should be the empty string, instead of null.
Add some JavaDoc for it, and use getClass().getName() for getImplementationName(), which is most accurate for Java.
Patch by: me
git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1808736 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|