play-ebean icon indicating copy to clipboard operation
play-ebean copied to clipboard

Adding documentation for using this plugin

Open almothafar opened this issue 5 years ago • 5 comments

Previously, there is documentation in the Play Framework website https://www.playframework.com/documentation/2.6.x/JavaEbean
but when I use https://www.playframework.com/documentation/latest/JavaEbean it will redirect me to here, there is no reference and no documentation to how to use it now.

almothafar avatar Feb 17 '21 09:02 almothafar

@almothafar did you that exists this documentation markdown file? https://github.com/playframework/play-ebean/blob/master/docs/manual/working/javaGuide/main/sql/JavaEbean.md

Anyway, I agree that we must make easy to know about how to use this plugin. @SethTisue @octonato how do you feel about moving this file to README.md in root folder?

felipebonezi avatar May 13 '21 15:05 felipebonezi

README is perfect.

octonato avatar May 20 '21 15:05 octonato

No, the linked README is far from perfect. It's outdated and just wrong.

Class 'MyServerConfigStartup' must either be declared abstract or implement abstract method 'onStart(DatabaseConfig)' in 'ServerConfigStartup'
import play.db.ebean.Transactional;
Cannot resolve symbol play.db.ebean.Transactional

There is not explanation how to configure Ebeans.

mreiche avatar Nov 27 '22 13:11 mreiche

I agree.

We must improve documentation to increase adopters and even maintainers for this project.

felipebonezi avatar Nov 27 '22 22:11 felipebonezi

Also, the readme file is made for compilation bot. The code snippets are'nt included, we have to do goings and comings with file linked. Read the markdown file in the github repository is only a workaround, not a solution, sorry!

plouf142 avatar Dec 01 '22 17:12 plouf142