Hibernate - "false proxy no-proxy"

1 resposta
R

Pessoal… estou com o seguinte problema ao iniciar o hibernate:

17:49:29,837 DEBUG Configuration:1586 - null<-org.dom4j.tree.DefaultAttribute@a65618 [Attribute: name resource value "org/iprogramming/model/persistence/dto/Cash.hbm.xml"]
17:49:29,837  INFO Configuration:553 - Reading mappings from resource : org/iprogramming/model/persistence/dto/Cash.hbm.xml
17:49:29,852 DEBUG DTDEntityResolver:38 - trying to resolve system-id [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd]
17:49:29,852 DEBUG DTDEntityResolver:40 - recognized hibernate namespace; attempting to resolve on classpath under org/hibernate/
17:49:29,852 DEBUG DTDEntityResolver:50 - located [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd] in classpath
17:49:29,852 ERROR XMLHelper:61 - Error parsing XML: XML InputStream(13) Attribute "lazy" with value "true" must have a value from the list "false proxy no-proxy ".
17:49:29,852 ERROR XMLHelper:61 - Error parsing XML: XML InputStream(16) Attribute "lazy" with value "true" must have a value from the list "false proxy no-proxy ".

Issi acontece sempre que eu inicio o hibernate, ja tentei mapear as colecoes como lazy=false e lazy=true e ainda continua me dando o mesmo erro.
Alguem sabe como resolver ?
desde ja muito obrigado.

1 Resposta

plentz

Tente colocar lazy=“proxy” e veja se a mensagem muda.

Criado 24 de maio de 2007
Ultima resposta 27 de mai. de 2007
Respostas 1
Participantes 2