String[]
in MySQL, but I do not know the type of datatype
that saves String[]
, nor what method I use to store this information.
String[]
in MySQL, but I do not know the type of datatype
that saves String[]
, nor what method I use to store this information.
I assume you are using the Java and JDBC language for bank access, but it was not very well specified.
But you can do something like this: String [] array = {"java", "JDBC", "Hibernate"};
String vectorString = Arrays.toString (array); // the string will be: [java, JDBC, Hibernate]
Then save the vectorString in the database as type VARCHAR. It is an option, but I would advise you to study about ORM and object persistence.