Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A project to bind entity models in spring

NotificationsYou must be signed in to change notification settings

madz0/spring-binder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

With spring-binder you'd get rid of writing the boilerplate codesto map postedDTO objects toJPA entity models and save them to database inSpring Framework.It supports both x-www-form-urlencoded/multipart forms and REST requests.

Have you ever used or heard libraries likeModelMapper?There are samples to mapDTO objects to entities usingModelMapper.

Well, we do that in a more efficient and clever way. UsingModelMapper you need to firstdesrialize data toDTO object then useModelMapper to access properties and create mapping.

This is somehow inefficient because the reflection is applied two times.

WithSpringBinder, wile the object is getting deserilized, the mapping is applied.

Besides that, there are some other cool features like usingentity graph and serilize/deserilizecustomization

About

A project to bind entity models in spring

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp