Hi Lars,
Thanks for such prompt response!
Actually, the original post had a minor error. We are using
prepareStatement(String sql, String[] columnNames)
not
prepareStatement(String sql,int autoGeneratedKeys)
Anyways, the driver doesn't support both of them.
You are right about putting the nextval expression in the INSERT statement. That works but I actually don't want to write queries by hand (We are using Hibernate for everything and would not like to deviate).
I will use a workaround for now. I hope it's supported soon.
It would be great if someone from the JDBC driver team and give some sort of estimation on the timeline.
Thanks Again!
Amit