• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Bean validation before Submit

 
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


Just wondering what is the best way to use Bean Validation for Saving Updating and Removing data from a database, with out having MySQL doing validation on the database side.

also like to know without having a Message Box appear when there is an invalid input could you some how get a red boarder around the text area and a Error message within a J label appear and disappear once user enters in the right information
 
Bartender
Posts: 1357
39
IBM DB2 Netbeans IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As far as i know, bean validadion allows you to check if a property of a bean satisfies or not a value constraint, checking for example things like not null values, ranges of values, formats or anything else which are local values,but not relational constraints like, for example, that a given product id exists in your db.
reply
    Bookmark Topic Watch Topic
  • New Topic