Skip to content
This repository has been archived by the owner on Apr 23, 2019. It is now read-only.

Differentiate form data from persisted data #47

Open
wsargent opened this issue Jul 14, 2017 · 0 comments
Open

Differentiate form data from persisted data #47

wsargent opened this issue Jul 14, 2017 · 0 comments

Comments

@wsargent
Copy link
Member

This example is using the computer ebean DB model as the form data. This is not great, because it means that persistence methods are exposed to the front end template and there's inappropriate coupling between database fields and form fields.

https://github.com/playframework/play-java-ebean-example/blob/2.6.x/app/controllers/HomeController.java#L94

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants