I want to insert a set of arrays into a database(HANA) in a loop.My code is below:
public class jdemo {
public static void main(String[] args) {
Connect
You are using createStatement instead of prepareStatement. createStatement does nut support parameters!
Check https://docs.oracle.com/javase/tutorial/jdbc/basics/processingsqlstatements.html
And https://docs.oracle.com/javase/tutorial/jdbc/basics/prepared.html
for details Hope this helps
Would be nice if you provide DDL, error messages etc. next time, then its easier to analyze.