• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar

Mauda

IT, Java and Music

Graduação   SCJP   Mestrado
  • Apresentação
  • Certificação Java
  • JPA
    • Exceptions
  • JSF
  • Versionamento
  • Contato

Erros

Erros JPA – org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: [package].[classe].[collection], could not initialize proxy – no Session

August 13, 2018 by Mauda Leave a Comment

Olá Pessoal, tudo bom?

Hoje iremos falar sobre um erro de Mapeamento de Entidades JPA, mais especificamente da exception failed to lazily initialize a collection of role: [package].[classe].[collection], could not initialize proxy – no Session.

[Read more…] about Erros JPA – org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: [package].[classe].[collection], could not initialize proxy – no Session

Filed Under: Erros, Hibernate, Java, JPA

Erros JPA – org.hibernate.AnnotationException: Collection has neither generic type or OneToMany.targetEntity() defined: ClasseOrigem.collection

August 7, 2017 by Mauda Leave a Comment

Olá Pessoal, tudo bom?

Hoje iremos falar sobre um erro de Mapeamento de Entidades JPA, mais especificamente da exception org.hibernate.AnnotationException: Collection has neither generic type or OneToMany.targetEntity() defined: ClasseOrigem.collection.

[Read more…] about Erros JPA – org.hibernate.AnnotationException: Collection has neither generic type or OneToMany.targetEntity() defined: ClasseOrigem.collection

Filed Under: Erros, Hibernate, Java, JPA Tagged With: Entidades, Erros, Exceptions, Hibernate, Java, JPA, Mapeamento, mappedBy

Erros JPA – org.hibernate.AnnotationException: mappedBy reference an unknown target entity property: ClasseDestino.nameMappedBy in ClasseOrigem.attribute

July 10, 2017 by Mauda Leave a Comment

Olá Pessoal, tudo bom?

Hoje iremos falar sobre um erro de Mapeamento de Entidades JPA, mais especificamente da exception org.hibernate.AnnotationException: mappedBy reference an unknown target entity property: ClasseDestino.nameMappedBy in ClasseOrigem.attribute.

[Read more…] about Erros JPA – org.hibernate.AnnotationException: mappedBy reference an unknown target entity property: ClasseDestino.nameMappedBy in ClasseOrigem.attribute

Filed Under: Erros, Hibernate, Java, JPA Tagged With: Entidades, Erros, Exceptions, Hibernate, Java, JPA, Mapeamento, mappedBy

Erros JPA – org.hibernate.AnnotationException: @OneToOne or @ManyToOne on ClasseOrigem.atributoClasseDestino references an unknown entity: ClasseDestino

May 8, 2017 by Mauda Leave a Comment

Olá Pessoal, tudo bom?

Hoje iremos falar sobre um erro de Mapeamento de Entidades JPA, mais especificamente da exception @OneToOne or @ManyToOne on ClasseOrigem.atributoClasseDestino references an unknown entity: ClasseDestino.

[Read more…] about Erros JPA – org.hibernate.AnnotationException: @OneToOne or @ManyToOne on ClasseOrigem.atributoClasseDestino references an unknown entity: ClasseDestino

Filed Under: Erros, Hibernate, Java, JPA Tagged With: @ManyToOne, @OneToOne, Entidades, Erros, Exceptions, Hibernate, Java, JPA, Mapeamento

Erros JPA – org.hibernate.HibernateException: Missing column: NomeColuna in NomeTabela

March 20, 2017 by Mauda Leave a Comment

Olá Pessoal, tudo bom?

Hoje iremos falar sobre um erro de Mapeamento de Entidades JPA, mais especificamente da exception org.hibernate.HibernateException: Missing column: NomeColuna in NomeTabela

[Read more…] about Erros JPA – org.hibernate.HibernateException: Missing column: NomeColuna in NomeTabela

Filed Under: Erros, Hibernate, Java, JPA Tagged With: Entidades, Erros, Exceptions, Hibernate, Java, JPA, Mapeamento

  • Page 1
  • Page 2
  • Page 3
  • Page 4
  • Next Page »

Primary Sidebar

Busca no Site

About Mauda

Mestre em Informática, Analista de Sistemas, Professor, SCJP e Baterista. Desde 2002 trabalhando no mundo Java e ensinando pessoas sobre desenvolvimento de sistemas.

Tags

arquitetura Bitbucket bitwise byte cdi Certificação char class Construtores Date Eclipse Entidades Erros Exceptions for-each GIT Hibernate int interceptor jasper jasper reports jaspersoft studio Java Java 8 JDBC JPA JSF JUnit jvm long Mapeamento maven Oracle Orientação a Objetos PreparedStatement Projeto Java pré incremento puzzle pós incremento short SQL String UML Versionamento Voucher

Recentes…

  • Como criar sua própria exception
  • Migrando java.util.Date para a API de data/hora do Java 8
  • Contexto e utilização de Exceptions
  • Java Collections Framework – Basico do Basico
  • Java 8 – Método removeIf() da interface java.util.Collection – #MelhoreSeuCodigo

Archives

Advertisements

Copyright © 2021 · Genesis Framework · WordPress · Log in