com.guicedee.guicedpersistence.jpa.JPAConnectionBaseInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of guiced-persistence Show documentation
Show all versions of guiced-persistence Show documentation
A complete JPA 2.1 implementation for Standalone or EE Implementation. Enables Multiple Persistence units
with full JTA Support using BTM. Perfect for Guice implementations, test suites, and Guice enabled Web Applications or EAR Projects.
Requires JDK 8
package com.guicedee.guicedpersistence.jpa;
import com.guicedee.guicedpersistence.db.ConnectionBaseInfo;
import javax.sql.DataSource;
public class JPAConnectionBaseInfo
extends ConnectionBaseInfo
{
/**
* You can fetch it directly from the entity manager using (DataSource)managerFactory.getConnectionFactory()
*
* @return Null
*/
@Override
public DataSource toPooledDatasource()
{
return null;
}
}