Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: HANA support for JDBC - prepareStatement(String sql, int autoGeneratedKeys)

$
0
0

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


Viewing all articles
Browse latest Browse all 9165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>