jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "QueryUsingJdbc" by ThomasMueller
Date Thu, 17 Jul 2008 00:04:25 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The following page has been changed by ThomasMueller:
http://wiki.apache.org/jackrabbit/QueryUsingJdbc

------------------------------------------------------------------------------
       * for any kind of report.
       */
      void initDatabase() throws Exception {
-         // 
          Class.forName("org.h2.Driver");
          Connection conn = DriverManager.getConnection("jdbc:h2:~/jcr", "sa", "sa");
          Statement stat = conn.createStatement();

Mime
View raw message