tags:

views:

396

answers:

1

trying to do an insert, i have: jdbcTemplate.update("insert into....", new Object[]{foo.getId(), foo.getName()}) foo.getId() returns a long, and getName() a String. i have "NUMBER" as the id type in Oracle, and varchar2 for the name field.

i'm getting SQLtype unknown problem. the update method has a version where i do not have to put in the SQL types, but do i have to, and if so, how?

Thanks!

A: 
Ken Gentle

related questions