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

net.cassite.daf4j.jpa.JPQLDataSource Maven / Gradle / Ivy

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