Thanks Patrick. Does it mean the List<String> is stored as BLOB in the
database? Is that what you mean by "only via serialization"?

What about List of user-defined types ? Does the List<MyType> supported
?

Gul


-----Original Message-----
From: Patrick Linskey [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 06, 2007 3:04 PM
To: [email protected]
Subject: Re: Persisting list of built-in Java types with openjpa ?

Currently, only vai serialization. We (BEA) are in the midst of moving
Kodo's augmented container type support to OpenJPA, though.

-Patrick

On 11/6/07, Gul Onural <[EMAIL PROTECTED]> wrote:
>
> Does OpenJPA support persisting List of built-in Java types ?
>
> For example, can I do this :
>
> @Entity
> @Table(name = "TABLE_A")
> public class MyEntity implements Serializable {
>       @Id
>       private int myId;
>       private String myName;
>       private List<String> myList;
>       private List<Integer> mySecondList; }
>
>
>
>
>


-- 
Patrick Linskey
202 669 5907

Reply via email to