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:@Entity gives mapped class not specified error with 2 persistence units
Next Topic:SQL Server 200 tinyint mapping to Object
Goto Forum:
  


Current Time: Fri Dec 19 11:55:51 GMT 2014

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

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