Jul 20, 2017 · 1 min read
Depends on what’s in the List.
If you have something like:
class User {
String userName;
List<Pet> pets;
}Then you would need another table for pets. Check out how to handle database relationships here.
If you just have List<String> maybe you could concatenate that List in one String and save that as one field in your table.
