score:0

The only way I've been able to use bean validation in my Scala project is to create a Java class with the annotations, and then use that Java class in my Scala code. If I find a better way, I'll update this answer.

Update

Apparently you can use bean validation in Scala.

Here is some discusson on using bean validation with Scala. I'm afraid it doesn't answer your question though:

http://permalink.gmane.org/gmane.comp.lang.scala.user/30628


Related Query