Groovy Documentation

griffon.plugins.jpa
[Java] Class AbstractJpaProvider

java.lang.Object
  griffon.plugins.jpa.AbstractJpaProvider
All Implemented Interfaces:
JpaProvider

public abstract class AbstractJpaProvider
extends Object

Authors:
Andres Almiray


Field Summary
private static String DEFAULT

private static org.slf4j.Logger LOG

 
Constructor Summary
AbstractJpaProvider()

 
Method Summary
protected EntityManager getEntityManager(String persistenceUnit)

R withJpa(Closure closure)

R withJpa(String persistenceUnit, Closure closure)

R withJpa(CallableWithArgs callable)

R withJpa(String persistenceUnit, CallableWithArgs callable)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

DEFAULT

private static final String DEFAULT


LOG

private static final org.slf4j.Logger LOG


 
Constructor Detail

AbstractJpaProvider

AbstractJpaProvider()


 
Method Detail

getEntityManager

protected EntityManager getEntityManager(String persistenceUnit)


withJpa

public R withJpa(Closure closure)


withJpa

public R withJpa(String persistenceUnit, Closure closure)


withJpa

public R withJpa(CallableWithArgs callable)


withJpa

public R withJpa(String persistenceUnit, CallableWithArgs callable)


 

Groovy Documentation