Perda de dados na camada de persistência

0 respostas
Marcio_Nogueira

Estou recebendo a seguinte exception:

Mar 21, 2011 3:17:39 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(2) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:39 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(3) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:39 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(4) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:39 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(5) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:39 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(6) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:39 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(7) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:39 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(8) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:39 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(9) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:39 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(10) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:39 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(11) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:39 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(12) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:39 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(13) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:39 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(14) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:39 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(15) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:39 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(16) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:39 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(17) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:39 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(18) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:39 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(19) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:39 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(20) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(21) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(22) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(23) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(24) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(25) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(26) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(27) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(28) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(29) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(30) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(31) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(32) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(33) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(34) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(35) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(36) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(37) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(38) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(39) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(40) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(41) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(42) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(43) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(44) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(45) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(46) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(47) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(48) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(49) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(50) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(52) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(59) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(60) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(61) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(62) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(63) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(64) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(65) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:40 PM org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning WARNING: Warning parsing XML: XML InputStream(66) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Mar 21, 2011 3:17:41 PM org.hibernate.cfg.AnnotationConfiguration addPackage INFO: Mapping package org.eclipse.persistence.jaxb.xmlmodel Mar 21, 2011 3:17:41 PM org.hibernate.cfg.AnnotationBinder bindClass INFO: Binding entity from annotated class: entities.Agenciabco Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Agenciabco.findAll => SELECT a FROM Agenciabco a ORDER BY a.codigo Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Agenciabco.findById => SELECT a FROM Agenciabco a WHERE a.id = :id Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Agenciabco.findByNome => SELECT a FROM Agenciabco a WHERE a.nome = :nome Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Agenciabco.findByCodigo => SELECT a FROM Agenciabco a WHERE a.codigo = :codigo Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Agenciabco.findByBanco => SELECT a FROM Agenciabco a WHERE a.situacao='1' AND a.banco.id = :idBanco ORDER BY a.codigo Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.EntityBinder bindTable INFO: Bind entity entities.Agenciabco on table agenciabco Mar 21, 2011 3:17:41 PM org.hibernate.cfg.AnnotationBinder bindClass INFO: Binding entity from annotated class: entities.Assocsetortaxa Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Assocsetortaxa.taxa => SELECT a FROM Assocsetortaxa a WHERE a.baseSetorPag.codigoSetor=:codigoSetor AND a.dataVigPag SELECT b FROM Banco b Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Banco.findById => SELECT b FROM Banco b WHERE b.id = :id Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Banco.findByNome => SELECT b FROM Banco b WHERE b.nome = :nome Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Banco.findBySituacao => SELECT b FROM Banco b WHERE b.situacao = :situacao ORDER BY b.strBanco Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Banco.findByCodigo => SELECT b FROM Banco b WHERE b.codigo in(:codigo) ORDER BY b.strBanco Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.EntityBinder bindTable INFO: Bind entity entities.Banco on table banco Mar 21, 2011 3:17:41 PM org.hibernate.cfg.AnnotationBinder bindClass INFO: Binding entity from annotated class: entities.Basesetorpag Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findAll => SELECT b FROM Basesetorpag b Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findById => SELECT b FROM Basesetorpag b WHERE b.id = :id Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findByTimestamp => SELECT b FROM Basesetorpag b WHERE b.timestamp = :timestamp Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findBySituacao => SELECT b FROM Basesetorpag b WHERE b.situacao = :situacao Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findByCodigoUf => SELECT b FROM Basesetorpag b WHERE b.codigoUf = :codigoUf Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findByCodigoSetor => SELECT b FROM Basesetorpag b WHERE b.codigoSetor = :codigoSetor Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findByDescrSetor => SELECT b FROM Basesetorpag b WHERE b.descrSetor = :descrSetor Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findByDistr => SELECT b FROM Basesetorpag b WHERE b.distr = :distr Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findByIdOperador => SELECT b FROM Basesetorpag b WHERE b.idOperador = :idOperador Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findByMunic => SELECT b FROM Basesetorpag b WHERE b.munic = :munic Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findByNumeroSetor => SELECT b FROM Basesetorpag b WHERE b.numeroSetor = :numeroSetor Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findByQtdContrSetor => SELECT b FROM Basesetorpag b WHERE b.qtdContrSetor = :qtdContrSetor Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findBySetor => SELECT b FROM Basesetorpag b WHERE b.setor = :setor Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findBySubdt => SELECT b FROM Basesetorpag b WHERE b.subdt = :subdt Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findByTipoCriacaoSetor => SELECT b FROM Basesetorpag b WHERE b.tipoCriacaoSetor = :tipoCriacaoSetor Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findBySituacaoSetor => SELECT b FROM Basesetorpag b WHERE b.situacaoSetor = :situacaoSetor Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findByUf => SELECT b FROM Basesetorpag b WHERE b.uf = :uf Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findByValorLimiteAjCustoTransp => SELECT b FROM Basesetorpag b WHERE b.valorLimiteAjCustoTransp = :valorLimiteAjCustoTransp Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findByValorPagoSetor => SELECT b FROM Basesetorpag b WHERE b.valorPagoSetor = :valorPagoSetor Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findByUnidVisit => SELECT b FROM Basesetorpag b WHERE b.unidVisit = :unidVisit Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findByPessAmos => SELECT b FROM Basesetorpag b WHERE b.pessAmos = :pessAmos Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findByPessBas => SELECT b FROM Basesetorpag b WHERE b.pessBas = :pessBas Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findByQuestAmos => SELECT b FROM Basesetorpag b WHERE b.questAmos = :questAmos Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findByQuestBas => SELECT b FROM Basesetorpag b WHERE b.questBas = :questBas Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findByUnidVisitValor => SELECT b FROM Basesetorpag b WHERE b.unidVisitValor = :unidVisitValor Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findByPessAmosValor => SELECT b FROM Basesetorpag b WHERE b.pessAmosValor = :pessAmosValor Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findByPessBasValor => SELECT b FROM Basesetorpag b WHERE b.pessBasValor = :pessBasValor Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findByQuestAmosValor => SELECT b FROM Basesetorpag b WHERE b.questAmosValor = :questAmosValor Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findByQuestBasValor => SELECT b FROM Basesetorpag b WHERE b.questBasValor = :questBasValor Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findByValorGlobal => SELECT b FROM Basesetorpag b WHERE b.valorGlobal = :valorGlobal Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findByValorProvPago => SELECT b FROM Basesetorpag b WHERE b.valorProvPago = :valorProvPago Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findByValorDescPago => SELECT b FROM Basesetorpag b WHERE b.valorDescPago = :valorDescPago Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findByAssociado => SELECT b FROM Basesetorpag b WHERE b.associado = :associado Mar 21, 2011 3:17:41 PM org.hibernate.cfg.annotations.QueryBinder bindQuery INFO: Binding Named query: Basesetorpag.findByCodsetororiginal => SELECT b FROM Basesetorpag b WHERE b.codsetororiginal = :codsetororiginal Mar 21, 2011 3:17:41 PM com.sun.faces.application.ActionListenerImpl processAction SEVERE: javax.persistence.PersistenceException: [PersistenceUnit: sapc-jpa] Unable to configure EntityManagerFactory javax.faces.el.EvaluationException: javax.persistence.PersistenceException: [PersistenceUnit: sapc-jpa] Unable to configure EntityManagerFactory at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102) at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) at javax.faces.component.UICommand.broadcast(UICommand.java:387) at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321) at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:296) at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:253) at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:466) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178) at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368) at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:498) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:394) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Caused by: javax.persistence.PersistenceException: [PersistenceUnit: sapc-jpa] Unable to configure EntityManagerFactory at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:265) at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:125) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:33) at dao.GenericDAOJPA.(GenericDAOJPA.java:33) at dao.UsuarioDAO.(UsuarioDAO.java:28) at dao.UsuarioDAO.getInstanceSync(UsuarioDAO.java:23) at dao.UsuarioDAO.getInstance(UsuarioDAO.java:18) at controle.LoginBean.doLogin(LoginBean.java:35) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.el.parser.AstValue.invoke(AstValue.java:262) at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:278) at org.apache.jasper.el.JspMethodExpression.invoke(JspMethodExpression.java:70) at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88) ... 32 more Caused by: org.hibernate.cfg.NotYetImplementedException: Pure native scalar queries are not yet supported at org.hibernate.cfg.annotations.QueryBinder.bindNativeQuery(QueryBinder.java:118) at org.hibernate.cfg.annotations.QueryBinder.bindNativeQueries(QueryBinder.java:197) at org.hibernate.cfg.AnnotationBinder.bindQueries(AnnotationBinder.java:307) at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:437) at org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:534) at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:286) at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1115) at org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:1225) at org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:159) at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:854) at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:191) at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:253) ... 48 more Mar 21, 2011 3:17:41 PM com.sun.faces.lifecycle.InvokeApplicationPhase execute WARNING: #{loginBean.doLogin}: javax.persistence.PersistenceException: [PersistenceUnit: sapc-jpa] Unable to configure EntityManagerFactory javax.faces.FacesException: #{loginBean.doLogin}: javax.persistence.PersistenceException: [PersistenceUnit: sapc-jpa] Unable to configure EntityManagerFactory at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118) at javax.faces.component.UICommand.broadcast(UICommand.java:387) at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321) at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:296) at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:253) at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:466) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178) at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368) at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:498) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:394) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Caused by: javax.faces.el.EvaluationException: javax.persistence.PersistenceException: [PersistenceUnit: sapc-jpa] Unable to configure EntityManagerFactory at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102) at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) ... 31 more Caused by: javax.persistence.PersistenceException: [PersistenceUnit: sapc-jpa] Unable to configure EntityManagerFactory at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:265) at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:125) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:33) at dao.GenericDAOJPA.(GenericDAOJPA.java:33) at dao.UsuarioDAO.(UsuarioDAO.java:28) at dao.UsuarioDAO.getInstanceSync(UsuarioDAO.java:23) at dao.UsuarioDAO.getInstance(UsuarioDAO.java:18) at controle.LoginBean.doLogin(LoginBean.java:35) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.el.parser.AstValue.invoke(AstValue.java:262) at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:278) at org.apache.jasper.el.JspMethodExpression.invoke(JspMethodExpression.java:70) at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88) ... 32 more Caused by: org.hibernate.cfg.NotYetImplementedException: Pure native scalar queries are not yet supported at org.hibernate.cfg.annotations.QueryBinder.bindNativeQuery(QueryBinder.java:118) at org.hibernate.cfg.annotations.QueryBinder.bindNativeQueries(QueryBinder.java:197) at org.hibernate.cfg.AnnotationBinder.bindQueries(AnnotationBinder.java:307) at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:437) at org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:534) at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:286) at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1115) at org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:1225) at org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:159) at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:854) at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:191) at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:253) ... 48 more Mar 21, 2011 3:17:41 PM com.sun.faces.lifecycle.Phase doPhase SEVERE: JSF1054: (Phase ID: INVOKE_APPLICATION 5, View ID: /index.jsp) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@5e159d10] Mar 21, 2011 3:17:41 PM org.ajax4jsf.webapp.BaseXMLFilter doXmlFilter SEVERE: Exception in the filter chain javax.servlet.ServletException: #{loginBean.doLogin}: javax.persistence.PersistenceException: [PersistenceUnit: sapc-jpa] Unable to configure EntityManagerFactory at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178) at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368) at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:498) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:394) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Caused by: javax.faces.FacesException: #{loginBean.doLogin}: javax.persistence.PersistenceException: [PersistenceUnit: sapc-jpa] Unable to configure EntityManagerFactory at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118) at javax.faces.component.UICommand.broadcast(UICommand.java:387) at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321) at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:296) at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:253) at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:466) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) ... 22 more Caused by: javax.faces.el.EvaluationException: javax.persistence.PersistenceException: [PersistenceUnit: sapc-jpa] Unable to configure EntityManagerFactory at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102) at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) ... 31 more Caused by: javax.persistence.PersistenceException: [PersistenceUnit: sapc-jpa] Unable to configure EntityManagerFactory at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:265) at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:125) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:33) at dao.GenericDAOJPA.(GenericDAOJPA.java:33) at dao.UsuarioDAO.(UsuarioDAO.java:28) at dao.UsuarioDAO.getInstanceSync(UsuarioDAO.java:23) at dao.UsuarioDAO.getInstance(UsuarioDAO.java:18) at controle.LoginBean.doLogin(LoginBean.java:35) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.el.parser.AstValue.invoke(AstValue.java:262) at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:278) at org.apache.jasper.el.JspMethodExpression.invoke(JspMethodExpression.java:70) at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88) ... 32 more Caused by: org.hibernate.cfg.NotYetImplementedException: Pure native scalar queries are not yet supported at org.hibernate.cfg.annotations.QueryBinder.bindNativeQuery(QueryBinder.java:118) at org.hibernate.cfg.annotations.QueryBinder.bindNativeQueries(QueryBinder.java:197) at org.hibernate.cfg.AnnotationBinder.bindQueries(AnnotationBinder.java:307) at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:437) at org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:534) at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:286) at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1115) at org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:1225) at org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:159) at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:854) at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:191) at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:253) ... 48 more Mar 21, 2011 3:17:41 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet [Faces Servlet] in context with path [/sapc-www] threw exception [#{loginBean.doLogin}: javax.persistence.PersistenceException: [PersistenceUnit: sapc-jpa] Unable to configure EntityManagerFactory] with root cause org.hibernate.cfg.NotYetImplementedException: Pure native scalar queries are not yet supported at org.hibernate.cfg.annotations.QueryBinder.bindNativeQuery(QueryBinder.java:118) at org.hibernate.cfg.annotations.QueryBinder.bindNativeQueries(QueryBinder.java:197) at org.hibernate.cfg.AnnotationBinder.bindQueries(AnnotationBinder.java:307) at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:437) at org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:534) at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:286) at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1115) at org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:1225) at org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:159) at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:854) at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:191) at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:253) at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:125) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:33) at dao.GenericDAOJPA.(GenericDAOJPA.java:33) at dao.UsuarioDAO.(UsuarioDAO.java:28) at dao.UsuarioDAO.getInstanceSync(UsuarioDAO.java:23) at dao.UsuarioDAO.getInstance(UsuarioDAO.java:18) at controle.LoginBean.doLogin(LoginBean.java:35) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.el.parser.AstValue.invoke(AstValue.java:262) at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:278) at org.apache.jasper.el.JspMethodExpression.invoke(JspMethodExpression.java:70) at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88) at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) at javax.faces.component.UICommand.broadcast(UICommand.java:387) at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321) at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:296) at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:253) at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:466) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178) at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368) at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:498) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:394) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636)

Alguém teria uma idéia do que pode estar gerando esta exception?

Criado 21 de março de 2011
Respostas 0
Participantes 1