Skip to content

Validation support to MongoTemplate [DATAMONGO-36] #975

Closed
@spring-projects-issues

Description

@spring-projects-issues

Mark Pollack opened DATAMONGO-36 and commented

Spring 3.0 supports JSR-303. If

<bean id="validator" class="org.springframework.validation.beanvalidation.LocalValidatorFactoryBean"/>
is defined, we can ask the container for the validator (is there an Aware interface?) and then perform validation within MongoTemplate methods that take a POJO for Create, update, or delete operations.


Affects: 1.0 M2

Attachments:

Referenced from: commits 5b13307

1 votes, 3 watchers

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions