Date: 2004-02-20T20:34:15
Editor: 195.92.168.177 <>
Wiki: Xindice Wiki
Page: UpgradeTo11EmbedNotes
URL: http://wiki.apache.org/xindice/UpgradeTo11EmbedNotes
no comment
Change Log:
------------------------------------------------------------------------------
@@ -40,6 +40,7 @@
I moved the xindice-1.1b4-dev.jar file from the dist directory to the
$XINDICE_HOME/java/lib directory, and renamed it xindice.jar.
4. In my own application code I replaced the references as below:
+
{{{
// m_driver = "org.apache.xindice.client.xmldb.DatabaseImpl";
m_driver = "org.apache.xindice.client.xmldb.embed.DatabaseImpl";
@@ -53,6 +54,7 @@
DatabaseInstanceManager (whose only purpose is to shut down the
database, something I probably won't do anymore now that I'm using
embedded) is as follows:
+
{{{
database = (Database)Class.forName(m_driver).newInstance();