• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JPA: Type of ArrayList field in Entity

 
Parth Bhagat
Greenhorn
Posts: 7
Java MySQL Database Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am stuck with an issue while using Hibernate - JPA.

Issue is I am having an entry which is of type ArrayList. This ArrayList can have any type of values, but limited to some primitive ones + String + Timestamp.

My question here is what type I should use to store this kind of field in the Entity?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic