io.ebeaninternal.dbmigration.Detect Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ebean-ddlgen Show documentation
Show all versions of ebean-ddlgen Show documentation
DDL and DB Migration generation
The newest version!
package io.ebeaninternal.dbmigration;
import io.ebean.config.DatabaseConfig;
/**
* Detect existence of JAXB
*/
public class Detect {
/**
* Return true if JAXB is present.
*/
public static boolean isJAXBPresent(DatabaseConfig config) {
return config.getClassLoadConfig().isPresent("javax.xml.bind.JAXBException");
}
}