I keep having troubles accessing an Oracle Express 10g Database:
Here the servlet code:
protected void configure() {
Connection conn= ( new DataBaseConnection()).getConnection();
GridConnector c = new GridConnector(conn,DBType.Oracle);
c.dynamic_loading(100);
c.render_sql(“SELECT * FROM SYSTEM.COUNTRIES”, “ID”,“LAND, SPRACHE”);
}
The connection itself is fine, the following query returned correct data:
String sqlQuery = “select * from system.Countries”;
ResultSet rSet = stmt.executeQuery(sqlQuery);
…
Opening the 01a_sql_basic.html-Page, I get a JavaScript-Alert:
java.lang.NullPointerException
…OracleDBDataWrapper.getStatement(OracleDBDataWrapper.java:30)
…DBDataWrapper.query(DBDataWrapper.java:351)
…
Any help is highly appreciated!
LH