public abstract class AbstractRegisterExtraClasses extends java.lang.Object implements RegisterExtraClasses
| Constructor and Description |
|---|
AbstractRegisterExtraClasses() |
| Modifier and Type | Method and Description |
|---|---|
void |
addClasses(org.hibernate.cfg.Configuration conf,
DbUtil dbUtil)
This method is called during the call to
DbUtil.getSessionFactory(RegisterExtraClasses[]) |
abstract java.lang.Class<?>[] |
getClasses()
Must return an array of zero or more classes to be registered in the configuration object.
|
public void addClasses(org.hibernate.cfg.Configuration conf,
DbUtil dbUtil)
RegisterExtraClassesDbUtil.getSessionFactory(RegisterExtraClasses[])addClasses in interface RegisterExtraClassesconf - the Hibernate configuration objectdbUtil - the db utilpublic abstract java.lang.Class<?>[] getClasses()
In order to make the system independent of the database subsystem, the token "sqlServer", "postgresql" or "oracle" is added to the class package and before the class name during the process of loading the hdm.xml file into the configuration
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa