Class JavassistEntityPojoFactory
java.lang.Object
ch.tocco.nice2.persist.core.impl.hibernate.pojo.JavassistEntityPojoFactory
Creates a subclass of
AbstractPojoEntity
based on an EntityModel
on-the-fly for use with hibernate.-
Constructor Summary
ConstructorDescriptionJavassistEntityPojoFactory
(Map<String, CustomFieldContribution> fieldContributions, Map<String, FieldGenerator> fieldGenerationContribution, boolean enableEntityClassCaching, org.slf4j.Logger log) -
Method Summary
Modifier and TypeMethodDescriptioninitializeClasses
(Collection<EntityModel> models) create an empty class for eachEntityModel
so that it can be referenced later
-
Constructor Details
-
JavassistEntityPojoFactory
public JavassistEntityPojoFactory(Map<String, CustomFieldContribution> fieldContributions, Map<String, FieldGenerator> fieldGenerationContribution, boolean enableEntityClassCaching, org.slf4j.Logger log)
-
-
Method Details
-
initializeClasses
create an empty class for eachEntityModel
so that it can be referenced later
-