After I have add in config.xml <annotations> <class name="mind.Mindsentences"> <imports> <import>org.hibernate.search.annotations.*</import> </imports> <classAnnotation><![CDATA]></classAnnotation> <customClassCode>
</customClassCode> <property name="id"> <annotation type="getter"><![CDATA]></annotation> </property> <property name="sentence"> <annotation type="getter"><![CDATA]></annotation> </property> </class> </annotations>
it appears in generated POJO class: public class Mindsentences implements Cloneable, Serializable, IPojoGenEntity, IMindsentences {
/** Serial Version UID. */ private static final long serialVersionUID = -558992674L; $classCustomCodeFields
Its have other error too:
2012-03-27 22:29:09,779 - Null reference : $classCustomCodeFields cannot be resolved.
Try changing that to: <customClassCode> <![CDATA]> </customClassCode>
Log in to post a comment.
After I have add in config.xml
<annotations>
<class name="mind.Mindsentences">
<imports>
<import>org.hibernate.search.annotations.*</import>
</imports>
<classAnnotation><![CDATA]></classAnnotation>
<customClassCode>
</customClassCode>
<property name="id">
<annotation type="getter"><![CDATA]></annotation>
</property>
<property name="sentence">
<annotation type="getter"><![CDATA]></annotation>
</property>
</class>
</annotations>
it appears in generated POJO class:
public class Mindsentences implements Cloneable, Serializable, IPojoGenEntity, IMindsentences {
/** Serial Version UID. */
private static final long serialVersionUID = -558992674L;
$classCustomCodeFields
Its have other error too:
2012-03-27 22:29:09,779 - Null reference : $classCustomCodeFields cannot be resolved.
Try changing that to:
<customClassCode>
<![CDATA]>
</customClassCode>