Skip to content

A Cleanroom persistence.xml file parser using only the standard library

License

Notifications You must be signed in to change notification settings

kg6zvp/persistence-xml-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Persistence.xml Parser

A Cleanroom persistence.xml file parser using only the standard library

License Build Status

Examples

import java.util.List;
import javax.persistence.spi.PersistenceUnitInfo;
import eisiges.persistence_xml_parser.PersistenceXmlParser;
...
URI persistenceXmlUri = .....
List<PersistenceUnitInfo> info = new PersistenceXmlParser().parse(persistenceXmlUri);

Getting started

  1. Add persistence-xml-parser to your project

Maven:

		<dependency>
			<groupId>es.eisig</groupId>
			<artifactId>persistence-xml-parser</artifactId>
			<version>1.0.0-SNAPSHOT</version>
		</dependency>

Gradle:

repositories {
	mavenCentral()
}

dependencies {
	implementation 'es.eisig:persistence-xml-parser:1.0.0-SNAPSHOT'
}

About

A Cleanroom persistence.xml file parser using only the standard library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages