wood burning stoves*
The moose likes Object Relational Mapping and the fly likes JPA: Type of ArrayList field in Entity Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "JPA: Type of ArrayList field in Entity" Watch "JPA: Type of ArrayList field in Entity" New topic
Author

JPA: Type of ArrayList field in Entity

Parth Bhagat
Greenhorn

Joined: Mar 14, 2013
Posts: 7

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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JPA: Type of ArrayList field in Entity