users@glassfish.java.net

Constraints not working

From: Gerald Holl <gerald_at_holl.co.at>
Date: Wed, 31 Oct 2007 15:15:30 +0100

Hi,

Different constraints are not working with the latest Glassfish release.

@Column(nullable = false, unique = true)
public String getName() {}

Neither the not null constraint nor the unique constraint is created in
the DB.

cheers,
Gerald