|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.tool.hbm2x.AbstractExporter org.hibernate.tool.hbm2x.GenericExporter pt.digitalis.maven.ormgenerator.hibernate.CustomGenericExporter
public class CustomGenericExporter
Custom exporter class for Hibernate tools. TODO: Viegas: Substitute this class in the hbmtemplate task. Use: exporterclass="pt.digitalis.maven.ormgenerator.hibernate.CustomGenericExporter" Must override some code. Goal to accept the package as a parameter so to override the jdbcconfiguration packagename parameter. Thus we can refactor the build.xml so we have a single seep of the database. Will be significantly faster!
Field Summary |
---|
Fields inherited from class org.hibernate.tool.hbm2x.AbstractExporter |
---|
log, templatePaths |
Constructor Summary | |
---|---|
CustomGenericExporter()
|
Method Summary | |
---|---|
org.hibernate.cfg.Configuration |
getConfiguration()
|
protected String |
getPackageNameForFile(org.hibernate.tool.hbm2x.pojo.POJOClass element)
|
Properties |
getProperties()
|
Methods inherited from class org.hibernate.tool.hbm2x.GenericExporter |
---|
doStart, exportComponent, exportPersistentClass, exportPOJO, getClassNameForFile, getFilePattern, getTemplateName, resolveFilename, setFilePattern, setTemplateName |
Methods inherited from class org.hibernate.tool.hbm2x.AbstractExporter |
---|
cleanUpContext, getArtifactCollector, getCfg2HbmTool, getCfg2JavaTool, getFileForClassName, getName, getOutputDirectory, getTemplateHelper, getTemplatePaths, setArtifactCollector, setConfiguration, setOutputDirectory, setProperties, setTemplateHelper, setTemplatePath, setupContext, setupTemplates, start |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CustomGenericExporter()
Method Detail |
---|
protected String getPackageNameForFile(org.hibernate.tool.hbm2x.pojo.POJOClass element)
getPackageNameForFile
in class org.hibernate.tool.hbm2x.GenericExporter
GenericExporter.getPackageNameForFile(org.hibernate.tool.hbm2x.pojo.POJOClass)
public org.hibernate.cfg.Configuration getConfiguration()
getConfiguration
in class org.hibernate.tool.hbm2x.AbstractExporter
AbstractExporter.getConfiguration()
public Properties getProperties()
getProperties
in class org.hibernate.tool.hbm2x.AbstractExporter
AbstractExporter.getProperties()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |