• 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

Hibernate

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

Duvida do Leitor: hashCode() + Set<> + contains() = Problema de comparação

April 3, 2017 by Mauda Leave a Comment

Olá Pessoal, tudo bom?

Hoje o post será sobre uma duvida que um leitor me fez a respeito de um código de teste de uma classe do sistema de BilhetesAereos

[Read more…] about Duvida do Leitor: hashCode() + Set<> + contains() = Problema de comparação

Filed Under: Collection, Hibernate, Java, JPA Tagged With: equals, hashCode, HashMap, HashSet, Hibernate, JPA, persistent, Set

  • « Previous Page
  • Page 1
  • Page 2
  • Page 3
  • Page 4
  • Page 5
  • 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 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 Teste UML Versionamento Voucher

Recentes…

  • CDI – Criando o Interceptor BeanValidationMethod – Bean Validation 3.0
  • CDI – Criando o Interceptor BeanValidationAttribute – Bean Validation 3.0
  • Criando um projeto Maven + Bean Validation versão 3.0 na IDE Eclipse
  • Atualização da versão Hibernate – Modificação de como obter a SessionFactory
  • Atualização da versão Hibernate – Interface org.hibernate.Query foi descontinuada

Archives

Advertisements

Copyright © 2025 · Genesis Framework · WordPress · Log in