
Hello, What is the name and version of the database? How did you connect to the database in Oxygen when you could see the data from the database correctly: 1. through a database connection based on a JDBC database driver and defined in Preferences -> Data Sources, (http://www.oxygenxml.com/doc/ug-oxygen/topics/preferences-data-sources.html) or 2. using a custom protocol plugin developed in Java as described in the User Manual? (http://www.oxygenxml.com/doc/ug-oxygen/tasks/howto-custom-protocol-plugin.ht...) If you already have a working connection defined in Preferences a simple way of adding the data to the DITA document is to browse the database contents in the Data Source Explorer view, open the XML file or the SQL table containing the data in Oxygen and copy and paste the data from there to the DITA document. If you connect to the database with a custom protocol plugin please give us more details about the error that you get in the Java code of your plugin (which acts as a database client) when you try to establish the connection with the database server. Regards, Sorin Roderik Dernison wrote:
Hi,
I’m trying to write a plugin to select data from a popup screen. This works – more or less - for static data. But when I try (with Spring and Hibernate) to read from a database the popup screen doesn’t show up.
The first thing I tried was to make a connection in Oxygen and my data is shown there.
How can I insert data from my database into my (Dita) document?
Kind regards
Roderik Dernison
INL