我想在我的表中插入一个指向名为Usuario的实体的新记录,但是如果输入她的名字,则会发生以下错误:
查询如下:
INSERT INTO BD.HISTORIAL_PADRINOS (ID, DESCRIPCION, FECHA_APADRINAMIENTO, FECHA_CANCELACION, "NIÑO_USUARIO", USUARIO)
VALUES (2, 'PP', '2019-05-23', CURRENT_DATE, 'AndreaGarcia', 'JoseGarcia')
Caused by: javax.el.PropertyNotFoundException: The class 'es.uma.informatica.sii.jsf.autenticacion.modelo.HistorialPadrinos' does not have the property 'nombre'.
at javax.el.BeanELResolver.getBeanProperty(BeanELResolver.java:731)
at javax.el.BeanELResolver.getValue(BeanELResolver.java:351)
at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
at com.sun.el.parser.AstValue.getValue(AstValue.java:140)
at com.sun.el.parser.AstValue.getValue(AstValue.java:204)
at com.sun.el.parser.AstDeferredExpression.getValue(AstDeferredExpression.java:63)
at com.sun.el.parser.AstCompositeExpression.getValue(AstCompositeExpression.java:68)
at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:226)
at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:50)
at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109)