
net.cassite.daf4j.jpa.JPQLDataSource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of daf4j-ds-jpa Show documentation
Show all versions of daf4j-ds-jpa Show documentation
A library provides implementation of DAF4J DataAccess using JPA
The newest version!
package net.cassite.daf4j.jpa;
import net.cassite.daf4j.ds.*;
import javax.persistence.EntityManager;
/**
* DataAccess的JPA实现.通过DataSource完成
*/
public class JPQLDataSource extends DataSource {
public JPQLDataSource(EntityManager manager) {
super(new JPQLConditionParser(),
new JPQLExpParser(),
new JPQLAndOrParser(),
new JPQLAroundParser(),
new JPQLQPParser(),
new JPQLEntityDataParser(),
new JPQLUEParser(),
new JPATxManager(manager),
manager);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy