Posts Tagged ‘JSR-303’

Bean Validation Support Becomes more Powerful in Maia

Monday, October 5th, 2009

In earlier post about Bean Validation support, we focused on Java related things. In other words, we only talked about Bean Validation support in Java code. IntelliJ IDEA 9 (Maia) also has powerful Bean Validation support in XML descriptors (validation.xml and XMLs describing constraint mappings).

Let’s start from filling out validation.xml. All features like classes/packages completion are working as we’re expecting them to:

And, of course, all standard inspections like wrong class, package or file path also work here. (more…)

Bean Validation support in IntelliJ IDEA 9

Wednesday, May 20th, 2009

Initial Bean Validation support will be available in IntelliJ IDEA 9 (Maia). The first Maia EAP will include the following features:

  • Dedicated facet for Bean Validation. This will help you use different Reference Implementations (RI) of Bean Validation. By now, there is only one RI available in the Bean Validation facet, namely the Hibernate Validator 4.0.0.Beta1:
  • Bean Validation tool window with all module Constraints and Constraint Validators:
  • Several inspections of Constraint annotations with quick fixes for them; RegExp language injection into @Pattern annotation:
  • Helpful quick fix for Constraint Validators generation: