I've figured out the code required:
simpleGetCall.withoutProcedureColumnMetaDataAccess();
simpleGetCall.declareParameters(new SqlParameter("v_int", java.sql.Types.ARRAY));
...
Type: Posts; User: sshaikh; Keyword(s):
I've figured out the code required:
simpleGetCall.withoutProcedureColumnMetaDataAccess();
simpleGetCall.declareParameters(new SqlParameter("v_int", java.sql.Types.ARRAY));
...
The following correctly calls the function demoschema.demo() on a PostgreSQL server:
JdbcTemplate jdbcTemplate = new JdbcTemplate(dataSource);
SimpleJdbcCall simpleGetCall =...
Well I've resorted to using the DAOs constructor to hold a static reference to the bean instatiated by the Spring context. That will have to do for now!
So I've begun the whole thing with creating beans and the like, and it seems to be working pretty well. The thing I can't quite understand is how to instantiate beans on demand at runtime rather than...