diff options
Diffstat (limited to 'odk/examples/DevelopersGuide/Forms/HsqlDatabase.java')
-rw-r--r-- | odk/examples/DevelopersGuide/Forms/HsqlDatabase.java | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/odk/examples/DevelopersGuide/Forms/HsqlDatabase.java b/odk/examples/DevelopersGuide/Forms/HsqlDatabase.java index 8350c9291690..311908d313dc 100644 --- a/odk/examples/DevelopersGuide/Forms/HsqlDatabase.java +++ b/odk/examples/DevelopersGuide/Forms/HsqlDatabase.java @@ -89,24 +89,6 @@ public class HsqlDatabase storable.storeAsURL( m_databaseDocumentFile, new PropertyValue[]{} ); } - /** returns a connection to the database - * - * Multiple calls to this method return the same connection. The HsqlDatabase object keeps - * the ownership of the connection, so you don't need to (and should not) dispose/close it. - * - */ - private XConnection defaultConnection() throws SQLException - { - if ( m_connection != null ) - return m_connection; - m_connection = m_databaseDocument.getDataSource().getConnection(new String(),new String()); - return m_connection; - } - - - - - /** closes the database document * * Any CloseVetoExceptions fired by third parties are ignored, and any reference to the |