Component Properties Configuration

The values that componentProperties can contain can be found in the hibernate-tools reference documents.

Also implementation would override all the implemenation elements that are part of the components element.

ParameterTypeDefault Value
implementationString
configurationfileStringsrc/main/resources/hibernate.cfg.xml
propertyfileStringsrc/main/resources/database.properties
entityresolverStringorg.xml.sax.EntityResolver
namingstrategyStringorg.hibernate.cfg.DefaultNamingStrategy
persistenceunitString
packagenameString
revengfileString
reversestrategyString
detectmanytomanybooleantrue
detectoptmisticlockbooleantrue
exportbooleantrue
updatebooleantrue
dropbooleanfalse
createbooleantrue
outputfilenameString
delimiterString;
formatbooleanfalse
jdk5booleanfalse
ejb3booleanfalse
filepatternStringfalse
templateStringfalse
exporterclassStringfalse