play-java-ebean-example
play-java-ebean-example copied to clipboard
Example Play application showing Java with Ebean
Hello, Can you help me please to use only computer ebean instead of ( computer , company ) ! ``` public CompletionStage create() { Form computerForm = formFactory.form(Computer.class); Computer computer...
Why are you setting the id based on the time? In your ComputerRepository.java ``` public CompletionStage insert(Computer computer) { return supplyAsync(() -> { computer.id = System.currentTimeMillis(); // not ideal, but...
When the application is build with the dist command for productive use there is an exception during startup. The only change that has been made was adding the "play.http.secret.key" to...
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...
Cherry pick from https://github.com/playframework/play-java-ebean-example/pull/28