You can also add unique constraints and composite constraints to the JPA
model for your "Warehouse" class - see:
one of many resources that can tell you how to do this.)
On Sun, May 4, 2014 at 9:57 PM, George Gastaldi <ggastald(a)redhat.com> wrote:
AFAIK this is a specific business requirement and you need to change in
the EJB after the code is generated for you.
> Em 04/05/2014, às 22:24, forge-users(a)lists.jboss.org escreveu:
> Using JBoss.Forge, how to prevent duplicate data ? I created an entity
named "warehouse" and added some records with the same description.
> Did Forge any control about ?
> Posted by forums
> Original post: https://community.jboss.org/message/872295#872295
> forge-users mailing list
forge-users mailing list
Lincoln Baxter, III
"Simpler is better."