-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 10 posts ] 
Author Message
 Post subject: @Valid raising NPE
PostPosted: Fri Aug 31, 2007 12:25 pm 
Beginner
Beginner

Joined: Sat Jul 29, 2006 12:29 am
Posts: 27
Hi,

I've been getting problems using @Valid (pointed in code) in deep.

These are my entity relationships:

1 Cep (PostalCode) -> 1 UnidadeFederativa (State)
1 Cep (PostalCode) -> 1 Cidade (City)
1 Cep (PostalCode) -> 1 Bairro (Neighbourhood)

1 UnidadeFederativa (State) -> N Cidades (Cities)
1 Cidade (City) -> N Bairros (Neighbourhoods)

Think my problem has a lot of the same symptons listed here:

http://opensource.atlassian.com/project ... rowse/HV-7

Thanks.

Code:
@Entity
@Table(name = "CEP")
public class Cep implements Serializable {

   @Id @GeneratedValue
    private Long id;

   @NotNull
   private String cep;
   
    @NotNull
   private String siglaPais;

    //@Valid //Causing exception when uncommented
    @OneToOne
    @JoinColumn(name="idUnidadeFederativa")
    private UnidadeFederativa unidadeFederativa = new UnidadeFederativa();

    @Valid
    @OneToOne
    @JoinColumn(name="idCidade")
    private Cidade cidade = new Cidade();

    @Valid
    @OneToOne
    @JoinColumn(name="idBairro")
    private Bairro bairro = new Bairro();



Code:
@Entity
@Table(name = "UNIDADE_FEDERATIVA")
public class UnidadeFederativa implements Serializable, Comparable<UnidadeFederativa> {

    @Id @GeneratedValue
    private Long id;

    private String siglaPais;
   
    @NotNull
    @Length(max=50)
    private String nome;
   
    private String sigla;
   
    @OneToOne(cascade = CascadeType.ALL)
    @JoinColumn(name="idCapital")   
    private Cidade capital;
   
    @Valid
    @OneToMany(cascade = CascadeType.ALL)
    @MapKey(name="nome")
    @JoinColumn(name="idUnidadeFederativa")
    @Sort(type = SortType.NATURAL)
    private Map<String, Cidade> cidades = new TreeMap<String,Cidade>();


Code:
@Entity
@Table(name = "CIDADE")
public class Cidade implements Serializable {

    @Id @GeneratedValue
    private Long id;

    @NotNull
    @Length(max=100)
    private String nome;
   
    //@Valid //Causing exception when uncommented
    @OneToMany(cascade = CascadeType.ALL)
    @MapKey(name="nome")
    @JoinColumn(name="idCidade")
    @Sort(type = SortType.NATURAL)   
    private Map<String, Bairro> bairros = new TreeMap<String, Bairro>();


Code:
@Entity
@Table(name = "BAIRRO")
public class Bairro implements Serializable {

    @Id @GeneratedValue
    private Long id;

    @NotNull
    @Length(max=50)
    private String nome;

   public Bairro() {
   }

    public Bairro(long id, String nome) {
       this.id = id;
      this.nome = nome;
   }


EntityManager Log

Code:
15:59:25,593  INFO Version:15 - Hibernate EntityManager 3.2.1.GA
15:59:25,625  INFO Version:15 - Hibernate Annotations 3.2.1.GA
15:59:25,640  INFO Environment:514 - Hibernate 3.2.4.sp1
15:59:25,656  INFO Environment:547 - hibernate.properties not found
15:59:25,656  INFO Environment:681 - Bytecode provider name : cglib
15:59:25,656  INFO Environment:598 - using JDK 1.4 java.sql.Timestamp handling



Junit Error

Code:
com.buscape.CepTest  Time elapsed: 1,188,327,566.89 sec  <<< ERROR!
java.lang.Exception: javax.persistence.PersistenceException: java.lang.NullPointerException
   at com.buscape.CepTest.inicializa(CepTest.java:84)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74)
   at org.junit.internal.runners.BeforeAndAfterRunner.runBefores(BeforeAndAfterRunner.java:50)
   at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:33)
   at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
   at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:42)
   at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
   at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:160)
   at org.apache.maven.surefire.Surefire.run(Surefire.java:81)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:241)
   at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:812)
Caused by: javax.persistence.PersistenceException: java.lang.NullPointerException
   at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:252)
   at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:120)
   at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51)
   at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:33)
   at com.buscape.CepTest.inicializa(CepTest.java:80)
   ... 18 more
Caused by: java.lang.NullPointerException
   at org.hibernate.validator.ClassValidator.<init>(ClassValidator.java:142)
   at org.hibernate.validator.ClassValidator.createChildValidator(ClassValidator.java:252)
   at org.hibernate.validator.ClassValidator.initValidator(ClassValidator.java:224)
   at org.hibernate.validator.ClassValidator.<init>(ClassValidator.java:149)
   at org.hibernate.validator.ClassValidator.createChildValidator(ClassValidator.java:252)
   at org.hibernate.validator.ClassValidator.initValidator(ClassValidator.java:224)
   at org.hibernate.validator.ClassValidator.<init>(ClassValidator.java:134)
   at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:318)
   at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1115)
   at org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:1233)
   at org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:154)
   at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:869)
   at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:183)
   at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:240)
   ... 22 more


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 31, 2007 12:52 pm 
Beginner
Beginner

Joined: Sat Jul 29, 2006 12:29 am
Posts: 27
Ok. This has happened also with JBoss 4.2.1.

hibernate-annotation's jar manifest file:

Manifest-Version: 1.0
Product: Hibernate Annotations
Specification-Title: JBoss
Created-By: 1.5.0_09-b03 (Sun Microsystems Inc.)
Specification-Version: 4.2.1.GA
Implementation-Vendor-Id: http://www.jboss.org/
Version: 3.2.1.GA
Implementation-URL: http://www.jboss.org/
Ant-Version: Apache Ant 1.6.5
Implementation-Title: JBoss [Trinity]
Specification-Vendor: JBoss (http://www.jboss.org/)
Implementation-Version: 4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=20
0707131605)
Implementation-Vendor: JBoss Inc.

Jira says that fix version is 3.0.0.GA

Shoudn't have it fixed?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 31, 2007 5:27 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Hibernate Annotations 3.2.1 has ben split into:
- Hibernate commons annotations 3.0.0
- hibernate Annotations 3.3.0
- Hibernate Validator 3.0.0
- Hibernate Search 3.0.0

so to answer your question, no. You need to upgrade

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 04, 2007 10:08 am 
Beginner
Beginner

Joined: Sat Jul 29, 2006 12:29 am
Posts: 27
Hi Emmauel,

thanks for your answer.

Eclipse has shown me the following error when I put Validator 3.0.0 in build path:

"The type org.hibernate.annotations.common.reflection.ReflectionManager cannot be resolved. It is indirectly referenced from required .class files"

Where can I find Hibernate Commons Annotations 3.0.0.

Wasn't supposed to be here?

http://www.hibernate.org/6.html

Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 04, 2007 10:19 am 
Beginner
Beginner

Joined: Sat Jul 29, 2006 12:29 am
Posts: 27
Ok.

Here.

http://anonsvn.jboss.org/repos/hibernat ... notations/


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 04, 2007 2:32 pm 
Beginner
Beginner

Joined: Sat Jul 29, 2006 12:29 am
Posts: 27
Emmanuel,

I've changed hibernate-annotation (3.2.1) jar by:

- Hibernate Commons Annotations 3.0.0
- Hibernate Annotations 3.3.0
- Hibernate Validator 3.0.0

and got an error.

Do you have any idea? Is it a bug?

Thanks

Code:
java.lang.NoSuchMethodError: org.hibernate.cfg.AnnotationConfiguration.getReflectionManager()Lorg/hibernate/reflection/ReflectionManager;
   at org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:156)
   at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:869)
   at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:183)
   at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:240)
   at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:120)
   at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51)
   at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:33)
   at com.buscape.CepTest.inicializa(CepTest.java:95)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74)
   at org.junit.internal.runners.BeforeAndAfterRunner.runBefores(BeforeAndAfterRunner.java:50)
   at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:33)
   at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
   at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:42)
   at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
   at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:160)
   at org.apache.maven.surefire.Surefire.run(Surefire.java:81)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:241)
   at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:812)


EntityManager's log:

Code:
14:59:05,546  INFO Version:15 - Hibernate EntityManager 3.2.1.GA
14:59:05,578  INFO Version:15 - Hibernate Annotations 3.3.0.GA
14:59:05,593  INFO Environment:514 - Hibernate 3.2.4.sp1
14:59:05,593  INFO Environment:547 - hibernate.properties not found
14:59:05,593  INFO Environment:681 - Bytecode provider name : cglib
14:59:05,609  INFO Environment:598 - using JDK 1.4 java.sql.Timestamp handling
14:59:05,703 DEBUG Ejb3Configuration:199 - Look up for persistence unit: empire1
14:59:05,781 DEBUG DTDEntityResolver:38 - trying to resolve system-id [http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd]
14:59:05,781 DEBUG EJB3DTDEntityResolver:49 - recognized EJB3 ORM namespace; attempting to resolve on classpath under org/hibernate/ejb
14:59:05,781 DEBUG EJB3DTDEntityResolver:58 - located [http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd] in classpath
14:59:05,859 DEBUG Ejb3Configuration:544 - Detect class: true; detect hbm: false
14:59:05,859 DEBUG JarVisitor:206 - Searching mapped entities in jar/par: file:/c:/workspace/empire/empire/CepEJB/target/test-classes
14:59:05,859 DEBUG JarVisitor:246 - Filtering: com.buscape.cep.dao.CepDAO
14:59:05,906 DEBUG JarVisitor:246 - Filtering: com.buscape.cep.dao.CepDAOBean
14:59:05,921 DEBUG JarVisitor:246 - Filtering: com.buscape.cep.dao.UnidadeFederativaDAO
14:59:05,921 DEBUG JarVisitor:246 - Filtering: com.buscape.cep.dao.UnidadeFederativaDAOBean
14:59:05,921 DEBUG JarVisitor:246 - Filtering: com.buscape.cep.facade.CepFACADE
14:59:05,937 DEBUG JarVisitor:246 - Filtering: com.buscape.cep.facade.CepFACADEBean
14:59:05,953 DEBUG JarVisitor:246 - Filtering: com.buscape.cep.model.Bairro
14:59:05,953 DEBUG JarVisitor:297 - Java element filter matched for com.buscape.cep.model.Bairro
14:59:05,953 DEBUG JarVisitor:246 - Filtering: com.buscape.cep.model.Cep
14:59:05,953 DEBUG JarVisitor:297 - Java element filter matched for com.buscape.cep.model.Cep
14:59:05,953 DEBUG JarVisitor:246 - Filtering: com.buscape.cep.model.Cidade
14:59:05,968 DEBUG JarVisitor:297 - Java element filter matched for com.buscape.cep.model.Cidade
14:59:05,968 DEBUG JarVisitor:246 - Filtering: com.buscape.cep.model.UnidadeFederativa
14:59:05,968 DEBUG JarVisitor:297 - Java element filter matched for com.buscape.cep.model.UnidadeFederativa
14:59:05,968 DEBUG JarVisitor:246 - Filtering: com.buscape.CepTest
14:59:05,984 DEBUG Ejb3Configuration:544 - Detect class: true; detect hbm: false
14:59:05,984 DEBUG JarVisitor:206 - Searching mapped entities in jar/par: file:../Agenda/target/classes
14:59:05,984 DEBUG JarVisitor:246 - Filtering: com.buscape.agenda.model.CoordenadaXY
14:59:05,984 DEBUG JarVisitor:297 - Java element filter matched for com.buscape.agenda.model.CoordenadaXY
14:59:05,984 DEBUG JarVisitor:246 - Filtering: com.buscape.agenda.model.Endereco
14:59:06,000 DEBUG JarVisitor:297 - Java element filter matched for com.buscape.agenda.model.Endereco
14:59:06,000 DEBUG JarVisitor:246 - Filtering: com.buscape.agenda.model.HorarioAtendimento
14:59:06,000 DEBUG JarVisitor:297 - Java element filter matched for com.buscape.agenda.model.HorarioAtendimento
14:59:06,000 DEBUG JarVisitor:246 - Filtering: com.buscape.agenda.model.Telefone
14:59:06,000 DEBUG JarVisitor:297 - Java element filter matched for com.buscape.agenda.model.Telefone
14:59:06,000 DEBUG Ejb3Configuration:151 - Creating Factory: empire1
14:59:06,031 DEBUG AnnotationConfiguration:244 - Execute first pass mapping processing
14:59:06,093 DEBUG AnnotationConfiguration:481 - Process hbm files
14:59:06,093 DEBUG AnnotationConfiguration:489 - Process annotated classes
14:59:06,109  INFO AnnotationBinder:398 - Binding entity from annotated class: com.buscape.cep.model.Cidade
14:59:06,125 DEBUG Ejb3Column:161 - Binding column DTYPE unique false
14:59:06,140 DEBUG EntityBinder:292 - Import with entity name=Cidade
14:59:06,156  INFO EntityBinder:420 - Bind entity com.buscape.cep.model.Cidade on table CIDADE
14:59:06,156 DEBUG AnnotationBinder:983 - Processing com.buscape.cep.model.Cidade property annotation
14:59:06,171 DEBUG AnnotationBinder:983 - Processing com.buscape.cep.model.Cidade field annotation
14:59:06,234 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.cep.model.Cidade.id
14:59:06,234 DEBUG Ejb3Column:161 - Binding column id unique false
14:59:06,234 DEBUG AnnotationBinder:1207 - id is an id
14:59:06,250 DEBUG SimpleValueBinder:220 - building SimpleValue for id
14:59:06,250 DEBUG PropertyBinder:128 - Building property id
14:59:06,250 DEBUG AnnotationBinder:1244 - Bind @Id on id
14:59:06,250 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.cep.model.Cidade.bairros
14:59:06,265 DEBUG Ejb3Column:161 - Binding column idCidade unique false
14:59:06,265 DEBUG Ejb3Column:161 - Binding column bairros unique false
14:59:06,265 DEBUG Ejb3Column:161 - Binding column null unique false
14:59:06,296 DEBUG Ejb3Column:161 - Binding column element unique false
14:59:06,296 DEBUG Ejb3Column:161 - Binding column mapkey unique false
14:59:06,296 DEBUG Ejb3Column:161 - Binding column null unique false
14:59:06,296 DEBUG Ejb3Column:161 - Binding column null unique false
14:59:06,296 DEBUG Ejb3Column:161 - Binding column null unique false
14:59:06,296 DEBUG CollectionBinder:287 - Collection role: com.buscape.cep.model.Cidade.bairros
14:59:06,296 DEBUG PropertyBinder:128 - Building property bairros
14:59:06,312 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.cep.model.Cidade.nome
14:59:06,312 DEBUG Ejb3Column:161 - Binding column nome unique false
14:59:06,312 DEBUG PropertyBinder:106 - binding property nome with lazy=false
14:59:06,312 DEBUG SimpleValueBinder:220 - building SimpleValue for nome
14:59:06,312 DEBUG PropertyBinder:128 - Building property nome
14:59:06,312  INFO AnnotationBinder:398 - Binding entity from annotated class: com.buscape.cep.model.Bairro
14:59:06,312 DEBUG Ejb3Column:161 - Binding column DTYPE unique false
14:59:06,312 DEBUG EntityBinder:292 - Import with entity name=Bairro
14:59:06,312  INFO EntityBinder:420 - Bind entity com.buscape.cep.model.Bairro on table BAIRRO
14:59:06,312 DEBUG AnnotationBinder:983 - Processing com.buscape.cep.model.Bairro property annotation
14:59:06,312 DEBUG AnnotationBinder:983 - Processing com.buscape.cep.model.Bairro field annotation
14:59:06,312 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.cep.model.Bairro.id
14:59:06,312 DEBUG Ejb3Column:161 - Binding column id unique false
14:59:06,312 DEBUG AnnotationBinder:1207 - id is an id
14:59:06,312 DEBUG SimpleValueBinder:220 - building SimpleValue for id
14:59:06,328 DEBUG PropertyBinder:128 - Building property id
14:59:06,328 DEBUG AnnotationBinder:1244 - Bind @Id on id
14:59:06,328 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.cep.model.Bairro.nome
14:59:06,328 DEBUG Ejb3Column:161 - Binding column nome unique false
14:59:06,328 DEBUG PropertyBinder:106 - binding property nome with lazy=false
14:59:06,328 DEBUG SimpleValueBinder:220 - building SimpleValue for nome
14:59:06,328 DEBUG PropertyBinder:128 - Building property nome
14:59:06,328  INFO AnnotationBinder:398 - Binding entity from annotated class: com.buscape.cep.model.Cep
14:59:06,328 DEBUG Ejb3Column:161 - Binding column DTYPE unique false
14:59:06,328 DEBUG EntityBinder:292 - Import with entity name=Cep
14:59:06,328  INFO EntityBinder:420 - Bind entity com.buscape.cep.model.Cep on table CEP
14:59:06,328 DEBUG AnnotationBinder:983 - Processing com.buscape.cep.model.Cep property annotation
14:59:06,328 DEBUG AnnotationBinder:983 - Processing com.buscape.cep.model.Cep field annotation
14:59:06,343 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.cep.model.Cep.id
14:59:06,343 DEBUG Ejb3Column:161 - Binding column id unique false
14:59:06,343 DEBUG AnnotationBinder:1207 - id is an id
14:59:06,343 DEBUG SimpleValueBinder:220 - building SimpleValue for id
14:59:06,343 DEBUG PropertyBinder:128 - Building property id
14:59:06,343 DEBUG AnnotationBinder:1244 - Bind @Id on id
14:59:06,343 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.cep.model.Cep.bairro
14:59:06,343 DEBUG Ejb3Column:161 - Binding column idBairro unique false
14:59:06,343 DEBUG Ejb3Column:161 - Binding column bairro unique false
14:59:06,343 DEBUG AnnotationBinder:1956 - Fetching bairro with JOIN
14:59:06,343 DEBUG PropertyBinder:128 - Building property bairro
14:59:06,359 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.cep.model.Cep.cep
14:59:06,359 DEBUG Ejb3Column:161 - Binding column cep unique false
14:59:06,359 DEBUG PropertyBinder:106 - binding property cep with lazy=false
14:59:06,359 DEBUG SimpleValueBinder:220 - building SimpleValue for cep
14:59:06,359 DEBUG PropertyBinder:128 - Building property cep
14:59:06,359 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.cep.model.Cep.cidade
14:59:06,359 DEBUG Ejb3Column:161 - Binding column idCidade unique false
14:59:06,359 DEBUG Ejb3Column:161 - Binding column cidade unique false
14:59:06,359 DEBUG AnnotationBinder:1956 - Fetching cidade with JOIN
14:59:06,359 DEBUG PropertyBinder:128 - Building property cidade
14:59:06,359 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.cep.model.Cep.coordenadaXY
14:59:06,359 DEBUG Ejb3Column:161 - Binding column coordenadaXY unique false
14:59:06,359 DEBUG AnnotationBinder:1705 - Binding component with path: com.buscape.cep.model.Cep.coordenadaXY
14:59:06,359 DEBUG AnnotationBinder:983 - Processing com.buscape.agenda.model.CoordenadaXY field annotation
14:59:06,359 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.agenda.model.CoordenadaXY.coordenadaX
14:59:06,359 DEBUG Ejb3Column:161 - Binding column coordenadaX unique false
14:59:06,359 DEBUG PropertyBinder:106 - binding property coordenadaX with lazy=false
14:59:06,359 DEBUG SimpleValueBinder:220 - building SimpleValue for coordenadaX
14:59:06,359 DEBUG PropertyBinder:128 - Building property coordenadaX
14:59:06,359 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.agenda.model.CoordenadaXY.coordenadaY
14:59:06,359 DEBUG Ejb3Column:161 - Binding column coordenadaY unique false
14:59:06,375 DEBUG PropertyBinder:106 - binding property coordenadaY with lazy=false
14:59:06,375 DEBUG SimpleValueBinder:220 - building SimpleValue for coordenadaY
14:59:06,375 DEBUG PropertyBinder:128 - Building property coordenadaY
14:59:06,375 DEBUG PropertyBinder:128 - Building property coordenadaXY
14:59:06,375 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.cep.model.Cep.logradouro
14:59:06,375 DEBUG Ejb3Column:161 - Binding column logradouro unique false
14:59:06,375 DEBUG PropertyBinder:106 - binding property logradouro with lazy=false
14:59:06,375 DEBUG SimpleValueBinder:220 - building SimpleValue for logradouro
14:59:06,375 DEBUG PropertyBinder:128 - Building property logradouro
14:59:06,375 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.cep.model.Cep.possuiCoordenadaXY
14:59:06,375 DEBUG Ejb3Column:161 - Binding column possuiCoordenadaXY unique false
14:59:06,375 DEBUG PropertyBinder:106 - binding property possuiCoordenadaXY with lazy=false
14:59:06,375 DEBUG SimpleValueBinder:220 - building SimpleValue for possuiCoordenadaXY
14:59:06,375 DEBUG PropertyBinder:128 - Building property possuiCoordenadaXY
14:59:06,375 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.cep.model.Cep.siglaPais
14:59:06,375 DEBUG Ejb3Column:161 - Binding column siglaPais unique false
14:59:06,375 DEBUG PropertyBinder:106 - binding property siglaPais with lazy=false
14:59:06,375 DEBUG SimpleValueBinder:220 - building SimpleValue for siglaPais
14:59:06,375 DEBUG PropertyBinder:128 - Building property siglaPais
14:59:06,375 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.cep.model.Cep.unidadeFederativa
14:59:06,375 DEBUG Ejb3Column:161 - Binding column idUnidadeFederativa unique false
14:59:06,375 DEBUG Ejb3Column:161 - Binding column unidadeFederativa unique false
14:59:06,375 DEBUG AnnotationBinder:1956 - Fetching unidadeFederativa with JOIN
14:59:06,375 DEBUG PropertyBinder:128 - Building property unidadeFederativa
14:59:06,375  INFO AnnotationBinder:398 - Binding entity from annotated class: com.buscape.cep.model.UnidadeFederativa
14:59:06,390 DEBUG Ejb3Column:161 - Binding column DTYPE unique false
14:59:06,390 DEBUG EntityBinder:292 - Import with entity name=UnidadeFederativa
14:59:06,390  INFO EntityBinder:420 - Bind entity com.buscape.cep.model.UnidadeFederativa on table UNIDADE_FEDERATIVA
14:59:06,390 DEBUG AnnotationBinder:983 - Processing com.buscape.cep.model.UnidadeFederativa property annotation
14:59:06,390 DEBUG AnnotationBinder:983 - Processing com.buscape.cep.model.UnidadeFederativa field annotation
14:59:06,390 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.cep.model.UnidadeFederativa.id
14:59:06,390 DEBUG Ejb3Column:161 - Binding column id unique false
14:59:06,390 DEBUG AnnotationBinder:1207 - id is an id
14:59:06,390 DEBUG SimpleValueBinder:220 - building SimpleValue for id
14:59:06,390 DEBUG PropertyBinder:128 - Building property id
14:59:06,390 DEBUG AnnotationBinder:1244 - Bind @Id on id
14:59:06,390 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.cep.model.UnidadeFederativa.capital
14:59:06,390 DEBUG Ejb3Column:161 - Binding column idCapital unique false
14:59:06,390 DEBUG Ejb3Column:161 - Binding column capital unique false
14:59:06,390 DEBUG AnnotationBinder:1956 - Fetching capital with JOIN
14:59:06,390 DEBUG PropertyBinder:128 - Building property capital
14:59:06,390 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.cep.model.UnidadeFederativa.cidades
14:59:06,390 DEBUG Ejb3Column:161 - Binding column idUnidadeFederativa unique false
14:59:06,390 DEBUG Ejb3Column:161 - Binding column cidades unique false
14:59:06,390 DEBUG Ejb3Column:161 - Binding column null unique false
14:59:06,390 DEBUG Ejb3Column:161 - Binding column element unique false
14:59:06,406 DEBUG Ejb3Column:161 - Binding column mapkey unique false
14:59:06,406 DEBUG Ejb3Column:161 - Binding column null unique false
14:59:06,406 DEBUG Ejb3Column:161 - Binding column null unique false
14:59:06,406 DEBUG Ejb3Column:161 - Binding column null unique false
14:59:06,406 DEBUG CollectionBinder:287 - Collection role: com.buscape.cep.model.UnidadeFederativa.cidades
14:59:06,406 DEBUG PropertyBinder:128 - Building property cidades
14:59:06,406 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.cep.model.UnidadeFederativa.nome
14:59:06,406 DEBUG Ejb3Column:161 - Binding column nome unique false
14:59:06,406 DEBUG PropertyBinder:106 - binding property nome with lazy=false
14:59:06,406 DEBUG SimpleValueBinder:220 - building SimpleValue for nome
14:59:06,406 DEBUG PropertyBinder:128 - Building property nome
14:59:06,406 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.cep.model.UnidadeFederativa.sigla
14:59:06,406 DEBUG Ejb3Column:161 - Binding column sigla unique false
14:59:06,406 DEBUG PropertyBinder:106 - binding property sigla with lazy=false
14:59:06,406 DEBUG SimpleValueBinder:220 - building SimpleValue for sigla
14:59:06,406 DEBUG PropertyBinder:128 - Building property sigla
14:59:06,406 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.cep.model.UnidadeFederativa.siglaPais
14:59:06,406 DEBUG Ejb3Column:161 - Binding column siglaPais unique false
14:59:06,406 DEBUG PropertyBinder:106 - binding property siglaPais with lazy=false
14:59:06,406 DEBUG SimpleValueBinder:220 - building SimpleValue for siglaPais
14:59:06,406 DEBUG PropertyBinder:128 - Building property siglaPais
14:59:06,406  INFO AnnotationBinder:398 - Binding entity from annotated class: com.buscape.agenda.model.Telefone
14:59:06,406 DEBUG Ejb3Column:161 - Binding column DTYPE unique false
14:59:06,406 DEBUG EntityBinder:292 - Import with entity name=Telefone
14:59:06,406  INFO EntityBinder:420 - Bind entity com.buscape.agenda.model.Telefone on table TELEFONE
14:59:06,406 DEBUG AnnotationBinder:983 - Processing com.buscape.agenda.model.Telefone property annotation
14:59:06,421 DEBUG AnnotationBinder:983 - Processing com.buscape.agenda.model.Telefone field annotation
14:59:06,421 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.agenda.model.Telefone.id
14:59:06,421 DEBUG Ejb3Column:161 - Binding column id unique false
14:59:06,421 DEBUG AnnotationBinder:1207 - id is an id
14:59:06,421 DEBUG SimpleValueBinder:220 - building SimpleValue for id
14:59:06,421 DEBUG PropertyBinder:128 - Building property id
14:59:06,421 DEBUG AnnotationBinder:1244 - Bind @Id on id
14:59:06,421 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.agenda.model.Telefone.ddd
14:59:06,421 DEBUG Ejb3Column:161 - Binding column ddd unique false
14:59:06,421 DEBUG PropertyBinder:106 - binding property ddd with lazy=false
14:59:06,421 DEBUG SimpleValueBinder:220 - building SimpleValue for ddd
14:59:06,421 DEBUG PropertyBinder:128 - Building property ddd
14:59:06,421 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.agenda.model.Telefone.finalidade
14:59:06,421 DEBUG Ejb3Column:161 - Binding column finalidade unique false
14:59:06,421 DEBUG PropertyBinder:106 - binding property finalidade with lazy=false
14:59:06,421 DEBUG SimpleValueBinder:220 - building SimpleValue for finalidade
14:59:06,421 DEBUG PropertyBinder:128 - Building property finalidade
14:59:06,421 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.agenda.model.Telefone.horarioAtendimento
14:59:06,421 DEBUG Ejb3Column:161 - Binding column horarioAtendimento unique false
14:59:06,421 DEBUG AnnotationBinder:1705 - Binding component with path: com.buscape.agenda.model.Telefone.horarioAtendimento
14:59:06,421 DEBUG AnnotationBinder:983 - Processing com.buscape.agenda.model.HorarioAtendimento field annotation
14:59:06,437 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.agenda.model.HorarioAtendimento.abertoDomingo
14:59:06,437 DEBUG Ejb3Column:161 - Binding column abertoDomingo unique false
14:59:06,437 DEBUG PropertyBinder:106 - binding property abertoDomingo with lazy=false
14:59:06,437 DEBUG SimpleValueBinder:220 - building SimpleValue for abertoDomingo
14:59:06,437 DEBUG PropertyBinder:128 - Building property abertoDomingo
14:59:06,437 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.agenda.model.HorarioAtendimento.abertoQuarta
14:59:06,437 DEBUG Ejb3Column:161 - Binding column abertoQuarta unique false
14:59:06,437 DEBUG PropertyBinder:106 - binding property abertoQuarta with lazy=false
14:59:06,437 DEBUG SimpleValueBinder:220 - building SimpleValue for abertoQuarta
14:59:06,437 DEBUG PropertyBinder:128 - Building property abertoQuarta
14:59:06,437 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.agenda.model.HorarioAtendimento.abertoQuinta
14:59:06,437 DEBUG Ejb3Column:161 - Binding column abertoQuinta unique false
14:59:06,437 DEBUG PropertyBinder:106 - binding property abertoQuinta with lazy=false
14:59:06,437 DEBUG SimpleValueBinder:220 - building SimpleValue for abertoQuinta
14:59:06,437 DEBUG PropertyBinder:128 - Building property abertoQuinta
14:59:06,437 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.agenda.model.HorarioAtendimento.abertoSabado
14:59:06,437 DEBUG Ejb3Column:161 - Binding column abertoSabado unique false
14:59:06,437 DEBUG PropertyBinder:106 - binding property abertoSabado with lazy=false
14:59:06,437 DEBUG SimpleValueBinder:220 - building SimpleValue for abertoSabado
14:59:06,437 DEBUG PropertyBinder:128 - Building property abertoSabado
14:59:06,437 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.agenda.model.HorarioAtendimento.abertoSegunda
14:59:06,437 DEBUG Ejb3Column:161 - Binding column abertoSegunda unique false
14:59:06,437 DEBUG PropertyBinder:106 - binding property abertoSegunda with lazy=false
14:59:06,437 DEBUG SimpleValueBinder:220 - building SimpleValue for abertoSegunda
14:59:06,437 DEBUG PropertyBinder:128 - Building property abertoSegunda
14:59:06,453 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.agenda.model.HorarioAtendimento.abertoSexta
14:59:06,453 DEBUG Ejb3Column:161 - Binding column abertoSexta unique false
14:59:06,453 DEBUG PropertyBinder:106 - binding property abertoSexta with lazy=false
14:59:06,453 DEBUG SimpleValueBinder:220 - building SimpleValue for abertoSexta
14:59:06,453 DEBUG PropertyBinder:128 - Building property abertoSexta
14:59:06,453 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.agenda.model.HorarioAtendimento.abertoTerca
14:59:06,453 DEBUG Ejb3Column:161 - Binding column abertoTerca unique false
14:59:06,453 DEBUG PropertyBinder:106 - binding property abertoTerca with lazy=false
14:59:06,453 DEBUG SimpleValueBinder:220 - building SimpleValue for abertoTerca
14:59:06,453 DEBUG PropertyBinder:128 - Building property abertoTerca
14:59:06,453 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.agenda.model.HorarioAtendimento.domingoHoraAbertura
14:59:06,453 DEBUG Ejb3Column:161 - Binding column domingoHoraAbertura unique false
14:59:06,453 DEBUG PropertyBinder:106 - binding property domingoHoraAbertura with lazy=false
14:59:06,453 DEBUG SimpleValueBinder:220 - building SimpleValue for domingoHoraAbertura
14:59:06,453 DEBUG PropertyBinder:128 - Building property domingoHoraAbertura
14:59:06,453 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.agenda.model.HorarioAtendimento.domingoHoraFechamento
14:59:06,453 DEBUG Ejb3Column:161 - Binding column domingoHoraFechamento unique false
14:59:06,453 DEBUG PropertyBinder:106 - binding property domingoHoraFechamento with lazy=false
14:59:06,453 DEBUG SimpleValueBinder:220 - building SimpleValue for domingoHoraFechamento
14:59:06,453 DEBUG PropertyBinder:128 - Building property domingoHoraFechamento
14:59:06,453 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.agenda.model.HorarioAtendimento.quartaHoraAbertura
14:59:06,453 DEBUG Ejb3Column:161 - Binding column quartaHoraAbertura unique false
14:59:06,453 DEBUG PropertyBinder:106 - binding property quartaHoraAbertura with lazy=false
14:59:06,453 DEBUG SimpleValueBinder:220 - building SimpleValue for quartaHoraAbertura
14:59:06,453 DEBUG PropertyBinder:128 - Building property quartaHoraAbertura
14:59:06,453 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.agenda.model.HorarioAtendimento.quartaHoraFechamento
14:59:06,468 DEBUG Ejb3Column:161 - Binding column quartaHoraFechamento unique false
14:59:06,468 DEBUG PropertyBinder:106 - binding property quartaHoraFechamento with lazy=false
14:59:06,468 DEBUG SimpleValueBinder:220 - building SimpleValue for quartaHoraFechamento
14:59:06,468 DEBUG PropertyBinder:128 - Building property quartaHoraFechamento
14:59:06,468 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.agenda.model.HorarioAtendimento.quintaHoraAbertura
14:59:06,468 DEBUG Ejb3Column:161 - Binding column quintaHoraAbertura unique false
14:59:06,468 DEBUG PropertyBinder:106 - binding property quintaHoraAbertura with lazy=false
14:59:06,468 DEBUG SimpleValueBinder:220 - building SimpleValue for quintaHoraAbertura
14:59:06,468 DEBUG PropertyBinder:128 - Building property quintaHoraAbertura
14:59:06,468 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.agenda.model.HorarioAtendimento.quintaHoraFechamento
14:59:06,468 DEBUG Ejb3Column:161 - Binding column quintaHoraFechamento unique false
14:59:06,468 DEBUG PropertyBinder:106 - binding property quintaHoraFechamento with lazy=false
14:59:06,468 DEBUG SimpleValueBinder:220 - building SimpleValue for quintaHoraFechamento
14:59:06,468 DEBUG PropertyBinder:128 - Building property quintaHoraFechamento
14:59:06,468 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.agenda.model.HorarioAtendimento.sabadoHoraAbertura
14:59:06,468 DEBUG Ejb3Column:161 - Binding column sabadoHoraAbertura unique false
14:59:06,468 DEBUG PropertyBinder:106 - binding property sabadoHoraAbertura with lazy=false
14:59:06,468 DEBUG SimpleValueBinder:220 - building SimpleValue for sabadoHoraAbertura
14:59:06,468 DEBUG PropertyBinder:128 - Building property sabadoHoraAbertura
14:59:06,468 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.agenda.model.HorarioAtendimento.sabadoHoraFechamento
14:59:06,468 DEBUG Ejb3Column:161 - Binding column sabadoHoraFechamento unique false
14:59:06,468 DEBUG PropertyBinder:106 - binding property sabadoHoraFechamento with lazy=false
14:59:06,468 DEBUG SimpleValueBinder:220 - building SimpleValue for sabadoHoraFechamento
14:59:06,468 DEBUG PropertyBinder:128 - Building property sabadoHoraFechamento
14:59:06,468 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.agenda.model.HorarioAtendimento.segundaHoraAbertura
14:59:06,468 DEBUG Ejb3Column:161 - Binding column segundaHoraAbertura unique false
14:59:06,484 DEBUG PropertyBinder:106 - binding property segundaHoraAbertura with lazy=false
14:59:06,484 DEBUG SimpleValueBinder:220 - building SimpleValue for segundaHoraAbertura
14:59:06,484 DEBUG PropertyBinder:128 - Building property segundaHoraAbertura
14:59:06,484 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.agenda.model.HorarioAtendimento.segundaHoraFechamento
14:59:06,484 DEBUG Ejb3Column:161 - Binding column segundaHoraFechamento unique false
14:59:06,484 DEBUG PropertyBinder:106 - binding property segundaHoraFechamento with lazy=false
14:59:06,484 DEBUG SimpleValueBinder:220 - building SimpleValue for segundaHoraFechamento
14:59:06,484 DEBUG PropertyBinder:128 - Building property segundaHoraFechamento
14:59:06,484 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.agenda.model.HorarioAtendimento.sextaHoraAbertura
14:59:06,484 DEBUG Ejb3Column:161 - Binding column sextaHoraAbertura unique false
14:59:06,484 DEBUG PropertyBinder:106 - binding property sextaHoraAbertura with lazy=false
14:59:06,484 DEBUG SimpleValueBinder:220 - building SimpleValue for sextaHoraAbertura
14:59:06,484 DEBUG PropertyBinder:128 - Building property sextaHoraAbertura
14:59:06,484 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.agenda.model.HorarioAtendimento.sextaHoraFechamento
14:59:06,484 DEBUG Ejb3Column:161 - Binding column sextaHoraFechamento unique false
14:59:06,484 DEBUG PropertyBinder:106 - binding property sextaHoraFechamento with lazy=false
14:59:06,484 DEBUG SimpleValueBinder:220 - building SimpleValue for sextaHoraFechamento
14:59:06,484 DEBUG PropertyBinder:128 - Building property sextaHoraFechamento
14:59:06,484 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.agenda.model.HorarioAtendimento.tercaHoraAbertura
14:59:06,484 DEBUG Ejb3Column:161 - Binding column tercaHoraAbertura unique false
14:59:06,484 DEBUG PropertyBinder:106 - binding property tercaHoraAbertura with lazy=false
14:59:06,484 DEBUG SimpleValueBinder:220 - building SimpleValue for tercaHoraAbertura
14:59:06,484 DEBUG PropertyBinder:128 - Building property tercaHoraAbertura
14:59:06,484 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.agenda.model.HorarioAtendimento.tercaHoraFechamento
14:59:06,484 DEBUG Ejb3Column:161 - Binding column tercaHoraFechamento unique false
14:59:06,484 DEBUG PropertyBinder:106 - binding property tercaHoraFechamento with lazy=false
14:59:06,484 DEBUG SimpleValueBinder:220 - building SimpleValue for tercaHoraFechamento
14:59:06,500 DEBUG PropertyBinder:128 - Building property tercaHoraFechamento
14:59:06,500 DEBUG PropertyBinder:128 - Building property horarioAtendimento
14:59:06,500 DEBUG AnnotationBinder:1086 - Processing annotations of com.buscape.agenda.model.Telefone.numero
14:59:06,500 DEBUG Ejb3Column:161 - Binding column numero unique false
14:59:06,500 DEBUG PropertyBinder:106 - binding property numero with lazy=false
14:59:06,500 DEBUG SimpleValueBinder:220 - building SimpleValue for numero
14:59:06,500 DEBUG PropertyBinder:128 - Building property numero
14:59:06,500 DEBUG AnnotationConfiguration:375 - processing manytoone fk mappings
14:59:06,578 DEBUG Configuration:1120 - processing extends queue
14:59:06,578 DEBUG Configuration:1124 - processing collection mappings
14:59:06,578 DEBUG CollectionSecondPass:41 - Second pass for collection: com.buscape.cep.model.UnidadeFederativa.cidades
14:59:06,578 DEBUG CollectionBinder:597 - Binding a OneToMany: com.buscape.cep.model.UnidadeFederativa.cidades through a foreign key
14:59:06,578  INFO CollectionBinder:627 - Mapping collection: com.buscape.cep.model.UnidadeFederativa.cidades -> CIDADE
14:59:06,578 DEBUG CollectionSecondPass:57 - Mapped collection key: idUnidadeFederativa, index: nome, one-to-many: com.buscape.cep.model.Cidade
14:59:06,578 DEBUG CollectionSecondPass:41 - Second pass for collection: com.buscape.cep.model.Cidade.bairros
14:59:06,578 DEBUG CollectionBinder:597 - Binding a OneToMany: com.buscape.cep.model.Cidade.bairros through a foreign key
14:59:06,593  INFO CollectionBinder:627 - Mapping collection: com.buscape.cep.model.Cidade.bairros -> BAIRRO
14:59:06,593 DEBUG CollectionSecondPass:57 - Mapped collection key: idCidade, index: nome, one-to-many: com.buscape.cep.model.Bairro
14:59:06,593 DEBUG Configuration:1135 - processing native query and ResultSetMapping mappings
14:59:06,593 DEBUG Configuration:1143 - processing association property references
14:59:06,593 DEBUG Configuration:1165 - processing foreign key constraints
14:59:06,593 DEBUG Configuration:1248 - resolving reference to class: com.buscape.cep.model.Cidade
14:59:06,593 DEBUG Configuration:1248 - resolving reference to class: com.buscape.cep.model.Bairro
14:59:06,593 DEBUG Configuration:1248 - resolving reference to class: com.buscape.cep.model.UnidadeFederativa
14:59:06,593 DEBUG Configuration:1248 - resolving reference to class: com.buscape.cep.model.Cidade
14:59:06,593 DEBUG Configuration:1248 - resolving reference to class: com.buscape.cep.model.UnidadeFederativa
14:59:06,593 DEBUG Configuration:1248 - resolving reference to class: com.buscape.cep.model.Cidade
14:59:06,593  INFO Version:17 - Hibernate Validator 3.0.0.GA
14:59:06,609 DEBUG ClassValidator:177 - ResourceBundle ValidatorMessages not found in Validator classloader. Delegate to org.hibernate.validator.resources.DefaultValidatorMessages
14:59:06,609 DEBUG ClassValidator:177 - ResourceBundle ValidatorMessages not found in Validator classloader. Delegate to org.hibernate.validator.resources.DefaultValidatorMessages
14:59:06,625 DEBUG ClassValidator:177 - ResourceBundle ValidatorMessages not found in Validator classloader. Delegate to org.hibernate.validator.resources.DefaultValidatorMessages
14:59:06,625 DEBUG ClassValidator:177 - ResourceBundle ValidatorMessages not found in Validator classloader. Delegate to org.hibernate.validator.resources.DefaultValidatorMessages
14:59:06,625 DEBUG ClassValidator:177 - ResourceBundle ValidatorMessages not found in Validator classloader. Delegate to org.hibernate.validator.resources.DefaultValidatorMessages
14:59:06,625 DEBUG ClassValidator:177 - ResourceBundle ValidatorMessages not found in Validator classloader. Delegate to org.hibernate.validator.resources.DefaultValidatorMessages
14:59:06,640 DEBUG ClassValidator:177 - ResourceBundle ValidatorMessages not found in Validator classloader. Delegate to org.hibernate.validator.resources.DefaultValidatorMessages
14:59:06,640 DEBUG ClassValidator:177 - ResourceBundle ValidatorMessages not found in Validator classloader. Delegate to org.hibernate.validator.resources.DefaultValidatorMessages
14:59:06,640 DEBUG ClassValidator:177 - ResourceBundle ValidatorMessages not found in Validator classloader. Delegate to org.hibernate.validator.resources.DefaultValidatorMessages
14:59:06,640 DEBUG ClassValidator:177 - ResourceBundle ValidatorMessages not found in Validator classloader. Delegate to org.hibernate.validator.resources.DefaultValidatorMessages
14:59:06,640 DEBUG ClassValidator:177 - ResourceBundle ValidatorMessages not found in Validator classloader. Delegate to org.hibernate.validator.resources.DefaultValidatorMessages


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 04, 2007 8:40 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
You have an old jar somewhere in your classpath, this is the classic issue.

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 05, 2007 9:15 am 
Beginner
Beginner

Joined: Sat Jul 29, 2006 12:29 am
Posts: 27
So, I must not trust EntityManager's log!?

It says:

14:59:05,546 INFO Version:15 - Hibernate EntityManager 3.2.1.GA
14:59:05,578 INFO Version:15 - Hibernate Annotations 3.3.0.GA
14:59:05,593 INFO Environment:514 - Hibernate 3.2.4.sp1
14:59:06,593 INFO Version:17 - Hibernate Validator 3.0.0.GA


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 05, 2007 10:18 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
14:59:05,546 INFO Version:15 - Hibernate EntityManager 3.2.1.GA

you have an old jar in your classpath :) Use EM 3.3.1, check the compatibility matrix in the download page of hibernate.org

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 05, 2007 12:06 pm 
Beginner
Beginner

Joined: Sat Jul 29, 2006 12:29 am
Posts: 27
emmanuel wrote:
14:59:05,546 INFO Version:15 - Hibernate EntityManager 3.2.1.GA

you have an old jar in your classpath :) Use EM 3.3.1, check the compatibility matrix in the download page of hibernate.org


OK :)

I've also updated hibernate3.jar (core), but it's not necessary.

Thanks Emmanuel.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 10 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.