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 -

Reply via email to