No Description

rut 384b8c6819 deltaspike 1.7.0 test 3 years ago
api 25bd664df0 [maven-release-plugin] prepare for next development iteration 3 years ago
impl ab99c289d5 remove unused import 3 years ago
test 384b8c6819 deltaspike 1.7.0 test 3 years ago
.gitignore 2bba76d5f0 ignore idea stuff 3 years ago
pom.xml 25bd664df0 [maven-release-plugin] prepare for next development iteration 3 years ago
readme.md 7e0a5fe6be simple readme 4 years ago
release.sh 988886ed1c release 4 years ago

readme.md

cdi entitymanager

CDI Entitymanager implementation (using hibernate)

Usage

  • Insert dependency (impl)
  • Write your entites and persistence.xml
  • Create a PersistenceConfiguration

See test module for reference

Api

    <dependency>
        <artifactId>cdi-entitymanager-api</artifactId>
        <groupId>io.rudin.cdi</groupId>
        <version>1.9</version>
    </dependency>

Persistence Configuration

public interface PersistenceConfiguration
{
    String getUnitName();
    
    String getUrl();
    
    String getDriver();
    
    String getUsername();
    
    String getPassword();
}

Impl

    <dependency>
        <artifactId>cdi-entitymanager-impl</artifactId>
        <groupId>io.rudin.cdi</groupId>
        <version>1.9</version>
    </dependency>