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

com.codingapi.springboot.fast.jpa.JPAQueryConfiguration Maven / Gradle / Ivy

There is a newer version: 3.3.0.dev1
Show newest version
package com.codingapi.springboot.fast.jpa;

import jakarta.persistence.EntityManager;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


@Configuration
public class JPAQueryConfiguration {

    @Bean
    public JPAQuery dynamicQuery(EntityManager entityManager){
        return new JPAQuery(entityManager);
    }

    @Bean
    public JPAQueryContextRegister jpaQueryContextRegister(JPAQuery JPAQuery){
        return new JPAQueryContextRegister(JPAQuery);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy