openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Linskey" <plins...@gmail.com>
Subject Re: Annotation for insert Data
Date Sun, 23 Dec 2007 07:03:13 GMT
Hi,

No, there are no bootstrapping annotations for OpenJPA, either
proprietary or standard.

-Patrick

On Dec 21, 2007 6:47 PM, Mauricio Salatino <salaboy@gmail.com> wrote:
> Hi all! ..
> I'm new here.. and i have a question...
> I'm wondering if there are some annotations for insert default data in
> an Entity..
>
> i'm think in something like this:
>
> @Entity
> @Datas(){
>      @Data(Name="John"),
>      @Data(Name="George"),
> }
> public class Person{
>      private String name;
>      set.. and get...
> }
>
> I think this could be useful in the cases when we have entities with
> default data.. and we don't wanna create this data every time we
> deploy the project..
>
> Thanks..
> im waiting for response..
> PS: sorry for my english..
> --
>  - Salatino Mauricio -
>



-- 
Patrick Linskey
202 669 5907

Mime
View raw message