How to persist an Array List of type Entity in JPA ?
For example, there is an entity called "Table".
I am creating an array list ArrayList<Table> table = new ArrayList<Table>();
Trying to persist it using entityManager.persist(table);
and it did not work. Any solution for this ?