Database Explorer shows most fields filled with Null
Oxygen general issues.
-
- Posts: 81
- Joined: Sat Aug 05, 2006 10:43 pm
Database Explorer shows most fields filled with Null
Hello,
I am using oXygen 8.2.0 on Eclipse 3.2.2 with Java 1.6.0_1 in connection with the accompying JDBC-ODBC bridge on WinXP Pro/SP2 and Christian Werner's ODBC SQlite3 driver. I have installed the driver and set it up in the MS ODBC Control Panel. I get a connection and all seems to be fine.
In the documentation to the Database Perspective I found this:
I am sure, that there is contents in those other fields because I use them already programatically.
Now my question: What happens ?
Could this be due to the ODBC driver I am using or could this be a Java thing or could this be an oXygen thing ?
I am so happy about the chance to access my database while doing work in Eclipse. I am just learning to use Django and it is sometimes nicer to have a direct view onto the db. And since I use Pydev and Aptana in Eclipse, there is the oXygen views just around the corner
I am using oXygen 8.2.0 on Eclipse 3.2.2 with Java 1.6.0_1 in connection with the accompying JDBC-ODBC bridge on WinXP Pro/SP2 and Christian Werner's ODBC SQlite3 driver. I have installed the driver and set it up in the MS ODBC Control Panel. I get a connection and all seems to be fine.
In the documentation to the Database Perspective I found this:
It starts with the explorer. Most fields are displayed as '(null)'. It seems, that INT, SMALLINT UNSIGNED and DATETIME are the only fields being displayed with their values.[...]Please note that you can also open an XML schema component in the editor by double-clicking it. To view the content of a table in the Table Explorer view double-click one of its fields.
I am sure, that there is contents in those other fields because I use them already programatically.
Now my question: What happens ?
Could this be due to the ODBC driver I am using or could this be a Java thing or could this be an oXygen thing ?
I am so happy about the chance to access my database while doing work in Eclipse. I am just learning to use Django and it is sometimes nicer to have a direct view onto the db. And since I use Pydev and Aptana in Eclipse, there is the oXygen views just around the corner

Andreas
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
We need to generate a log file of accessing the ODBC source from oXygen in order to find why the table cells contain "null" instead of the values that you see by accessing the same database programatically. Please contact us to tell you how to obtain a log file.
Regards,
Sorin
We need to generate a log file of accessing the ODBC source from oXygen in order to find why the table cells contain "null" instead of the values that you see by accessing the same database programatically. Please contact us to tell you how to obtain a log file.
Regards,
Sorin
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Thank you for the received details. We reproduced the error. It is caused by the ODBC SQlite3 driver which is queried by the standard ODBC-JDBC bridge's implementation of java.sql.ResultSet.getObject(int columnIndex) which returns null for table columns which are not of type integer or date/time. For example the driver must convert a VARCHAR value of the database table to a String value when ResultSet.getObject() is called but it returns null instead of the String value. We implemented a fix which you can use until the next release of oXygen by replacing [Eclipse3.2-install-folder]/plugins/com.oxygenxml.editor_8.2.0/lib/oxygenEclipse.jar with this patched version.
Regards,
Sorin
Regards,
Sorin
-
- Posts: 81
- Joined: Sat Aug 05, 2006 10:43 pm
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service