o mapeamento…
<property name="usbId" type="int">
<column name="USB_ID" precision="10" scale="0" />
<property name="eveIdParalelo" type="int">
<column name="EVE_ID_PARALELO" precision="10" scale="0" />
</property>
public int getEveIdParalelo() {
return this.eveIdParalelo;
}
public void setEveIdParalelo(int eveIdParalelo) {
this.eveIdParalelo = eveIdParalelo;
}
public int getUsbId() {
return this.usbId;
}
public void setUsbId(int usbId) {
this.usbId = usbId;
}
e a @#$% do erro!
Servlet.service() for servlet jsp threw exception
org.hibernate.PropertyAccessException: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of hibernate.TbEventos.setEveIdParalelo
at org.hibernate.tuple.PojoTuplizer.setPropertyValuesWithOptimizer(PojoTuplizer.java:203)
at org.hibernate.tuple.PojoTuplizer.setPropertyValues(PojoTuplizer.java:173)
at org.hibernate.persister.entity.BasicEntityPersister.setPropertyValues(BasicEntityPersister.java:2919)
at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:113)