openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mauricio Salatino" <sala...@gmail.com>
Subject Re: Annotation for insert Data
Date Sun, 23 Dec 2007 14:34:36 GMT
Can we do it? do you think that the idea is good enough?
I wanna contribute with this...

On Dec 23, 2007 4:03 AM, Patrick Linskey <plinskey@gmail.com> wrote:
> 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
>



-- 
 - Salatino Mauricio -

Mime
View raw message