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

Differentiate form data from persisted data #47

Open

Description

@wsargent

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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions