|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use JPASupport | |
|---|---|
| play.db.jpa | |
| Uses of JPASupport in play.db.jpa |
|---|
| Subclasses of JPASupport in play.db.jpa | |
|---|---|
class |
JPAModel
Deprecated. |
class |
Model
Base class for JPA model objects Automatically provide a @Id Long id field |
| Methods in play.db.jpa with type parameters of type JPASupport | ||
|---|---|---|
static
|
JPASupport.create(Class type,
String name,
Map<String,String[]> params)
|
|
static
|
JPASupport.create(String name,
Scope.Params params)
|
|
|
JPASupport.delete()
Delete the entity. |
|
static
|
JPASupport.edit(Object o,
String name,
Map<String,String[]> params)
|
|
|
JPASupport.edit(String name,
Scope.Params params)
|
|
static
|
JPASupport.findAll()
Find all entities of this type |
|
static
|
JPASupport.findBy(String query,
Object... params)
Deprecated. |
|
static
|
JPASupport.findById(Object id)
Find the entity with the corresponding id. |
|
static
|
JPASupport.findOneBy(String query,
Object... params)
Deprecated. |
|
|
JPASupport.merge()
Merge this object to obtain a managed entity (usefull when the object comes from the Cache). |
|
|
JPASupport.refresh()
Refresh the entity state. |
|
|
JPASupport.save()
store (ie insert) the entity. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||