Load information from package-info.java
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
play framework |
Fix Committed
|
Medium
|
Nicolas Leroux | ||
1.0 |
Won't Fix
|
Medium
|
Nicolas Leroux | ||
1.1 |
Fix Committed
|
Medium
|
Nicolas Leroux |
Bug Description
While using plain Hibernate you can place TypeDef at the class or package level:
http://
This is usefull to avoid mapping the custom type every time you need to use it. Per instance, I can create a package-info.java file where I place all type defs, named queries, filter defs and some other stuff. Currently, while using play, I can't figure out how to use package definitions. I try to create app/models/
A JPA error occured (Unable to build EntityManagerFa
So I try to configurate the jpa.entities like below:
jpa.entities = models
And then I get the following log message:
12:00:34,414 WARN ~ JPA -> Entity not found: models
It will be good if play automatically loads package-info files when they exists.
Changed in play: | |
status: | Confirmed → Won't Fix |
milestone: | 1.0.4 → 1.1 |
status: | Won't Fix → Fix Committed |
Is there a way to see what code revision links to this bug? I looked through the revisions but can't find it.