Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dali » Collection enum
Collection enum [message #434949] Mon, 08 September 2008 21:12 Go to next message
Edward is currently offline EdwardFriend
Messages: 11
Registered: July 2009
Junior Member
How mapping enum collection with dali?

List<OrigenDeAtencion> origenDeAtencion;

OrigenDeAtencion is a enum.

Thanks!!
Re: Collection enum [message #434951 is a reply to message #434949] Wed, 10 September 2008 20:00 Go to previous message
Karen Butzke is currently offline Karen ButzkeFriend
Messages: 220
Registered: July 2009
Senior Member
Edward wrote:

> How mapping enum collection with dali?

> List<OrigenDeAtencion> origenDeAtencion;

> OrigenDeAtencion is a enum.

> Thanks!!

JPA 1.0 does not support this type of mapping, so Dali does not. Some JPA
implementations provide support for mapping collections of enums. I know
EclipseLink has a BasicCollection annotation.

Karen
Re: Collection enum [message #611142 is a reply to message #434949] Wed, 10 September 2008 20:00 Go to previous message
Karen Butzke is currently offline Karen ButzkeFriend
Messages: 220
Registered: July 2009
Senior Member
Edward wrote:

> How mapping enum collection with dali?

> List<OrigenDeAtencion> origenDeAtencion;

> OrigenDeAtencion is a enum.

> Thanks!!

JPA 1.0 does not support this type of mapping, so Dali does not. Some JPA
implementations provide support for mapping collections of enums. I know
EclipseLink has a BasicCollection annotation.

Karen
Previous Topic:Typesafe JPQL query in EclipseLink
Next Topic:@Entity gives mapped class not specified error with 2 persistence units
Goto Forum:
  


Current Time: Fri Apr 26 16:14:02 GMT 2024

Powered by FUDForum. Page generated in 0.03808 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top