All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.guicedee.guicedpersistence.jpa.JPAConnectionBaseInfo Maven / Gradle / Ivy

Go to download

A complete JPA 2.1 implementation for Standalone or EE Implementation. Enables Multiple Persistence units with annotated injection support aPerfect for Guice implementations, test suites, and Guice enabled Web Applications or EAR Projects. Requires JDK 8 and up

There is a newer version: 62
Show newest version
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
	@SuppressWarnings("unchecked")
	public DataSource toPooledDatasource()
	{
		return null;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy