User Activity

  • Modified a comment on discussion Open Discussion on CsvJdbc - CSV file JDBC driver

    class MyTableReader implements TableReader{ private String filePath public MyTableReader(String filePathCSV){ this.filePath = filePathCSV; } ~~~ public getReader( Statement stmt, String tableName){ ...File f = new File(filePath); // NullPointerException } ~~~ public List<String> getTableNames(){ .... ~~~} } Fails with NullPointerException becuase MyTableReader tableReader; // This has filePath // Create connection below: Properties props = new Properties(); props.put("suppressHeaders", "true"); conn...

  • Modified a comment on discussion Open Discussion on CsvJdbc - CSV file JDBC driver

    class MyTableReader implements TableReader{ private String filePath public MyTableReader(String filePathCSV){ this.filePath = filePathCSV; } public getReader( Statement stmt, String tableName){ ...File f = new File(filePath); // NullPointerException } public List<String> getTableNames(){ .... } } Fails with NullPointerException becuase MyTableReader tableReader; // This has filePath // Create connection below: Properties props = new Properties(); props.put("suppressHeaders", "true"); conn = DriverManager.getConnection("jdbc:relique:csv:class:"...

  • Modified a comment on discussion Open Discussion on CsvJdbc - CSV file JDBC driver

    class MyTableReader implements TableReader{ private String filePath public MyTableReader(String filePathCSV){ this.filePath = filePathCSV; } public getReader( Statement stmt, String tableName){ ...File f = new File(filePath); // NullPointerException } public List<String> getTableNames(){ .... } } Fails with NullPointerException becuase MyTableReader tableReader; // This has filePath // Create connection below: Properties props = new Properties(); props.put("suppressHeaders", "true"); conn = DriverManager.getConnection("jdbc:relique:csv:class:"...

  • Posted a comment on discussion Open Discussion on CsvJdbc - CSV file JDBC driver

    class MyTableReader implements TableReader{ private String filePath public MyTableReader(String filePathCSV){ this.filePath = filePathCSV; } public getReader( Statement stmt, String tableName){ ...File f = new File(filePath); // NullPointerException // because } public List<String> getTableNames(){ .... } } Fails with NullPointerException becuase MyTableReader tableReader; // This has filePath // Create connection below: Properties props = new Properties(); props.put("suppressHeaders", "true"); conn...

View All

Personal Data

Username:
orbee
Joined:
2015-10-21 13:27:04

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB