Hello, can you tell me if there is another variant to persist in a database an array of data that is not;
count = 0;
for (Empresaobraconcepto datos : empresaobraconceptoArrayList) {
session.saveOrUpdate(datos);
count++;
if (count % 10 == 0) {
session.flush();
session.clear();
}
}