wood burning stoves 2.0*
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
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
 
Similar Threads
Data size error - urgent
@OrderBy annotation with simple types in JPA20
How to show multiple stereotypes?
entity class is a Javabean?
Error - org.hibernate.AnnotationException: No identifier specified for entity