Donate Share

OVal

File Release Notes and Changelog

Release Name: 0.8

Notes:


Changes: 2006-12-10 v0.8 =============== + added JPAAnnotationsConfigurer to translate EJB3 JPA annotations into OVAL constraints @javax.persistence.Basic(optional=false) => @net.sf.oval.constraints.NotNull @javax.persistence.OneToOne(optional=false) => @net.sf.oval.constraints.NotNull @javax.persistence.ManyToOne(optional=false) => @net.sf.oval.constraints.NotNull @javax.persistence.Column(nullable=false) => @net.sf.oval.constraints.NotNull @javax.persistence.Column(length=5 ) => @net.sf.oval.constraints.Length * changed the ant script to generate a maven2 bundle jar in the dist target - AssertConstraintSet constraint was ignored when specified for getter methods' return value - NPE was thrown when validating objects against an XML based configuration that uses constraint sets - various fixes regarding XML based configuration (thanks to tahura) + added more JUnit tests for the xml configuration + net.sf.oval.configuration.POJOConfigurer and all configuration elements are now serializable + added support for ParaNamer http://paranamer.codehaus.org/ for method parameter name resolving + added a DTD for the XML configuration file * when @AssertValid is used on collections the collection's elements are now validated too by default (thanks to tahura) Refactoring: * net.sf.oval.annotations.Guarded: annotation @Constrained renamed to @Guarded * net.sf.oval.aspectj.GuardAspect: aspect ConstraintsEnforcerAspect renamed to GuardAspect * net.sf.oval.aspectj.GuardAspect2: class ConstraintsEnforcerAspect2 renamed to GuardAspect2 * net.sf.oval.Guard: class ConstraintsEnforcer renamed to Guard