I'm trying to access a Text Database using spring framework JdbcTemplate class, which requires a DataSource.
I tried to create one calling new HxttDataSource(Properties), but it throws:
java.lang.Exception: subprotocol can't be null!
How can I obtain an instance of HxttDataSource?
You can use HxttDataSource or HxttConnectionPoolDataSource.
You should provide two properties at least for connection:
Properties props=new Properties();
HxttDataSource ds=new HxttDataSource(props);
With best regards,
Thank you very much, it works.