com.yahoo.elide.spring.orm.jpa.EntityManagerProxySupplier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of elide-spring-boot-autoconfigure Show documentation
Show all versions of elide-spring-boot-autoconfigure Show documentation
Elide Spring Boot Autoconfigure
The newest version!
/*
* Copyright 2023, the original author or authors.
* Licensed under the Apache License, Version 2.0
* See LICENSE file in project root for terms.
*/
package com.yahoo.elide.spring.orm.jpa;
import com.yahoo.elide.datastores.jpa.JpaDataStore.EntityManagerSupplier;
import jakarta.persistence.EntityManager;
/**
* EntityManagerSupplier for Spring.
*/
public class EntityManagerProxySupplier implements EntityManagerSupplier {
@Override
public EntityManager get() {
return new BasicEntityManagerProxy();
}
}