Dica – Criteria Hibernate na Prática
Olá, um ótimo artigo retirado do blog camilolopes: Se você está iniciando com Hibernate um dia vai ser apresentado ao Criteria. Realmente quem usa Criteria não quer voltar ao SQL para as funções mais...
View ArticleAtualize-se – AnnotationsConfiguration Deprecated Hibernate 3.6
Versão 3.2 public class DAO { private static final SessionFactory sessionFactory = new AnnotationConfiguration().configure().buildSessionFactory(); } Versão 3.6 public class DAO { private static final...
View ArticleAuditing entities with Hibernate JPA
In a real world project you will need to audit certain database changes keeping track of the author of the change. Hibernate includes nowadays the Envers API and here I am showing you how to achieve...
View ArticleNovidades Hibernate Core 4.0 Final
The Hibernate team is pleased to announce the release of Hibernate Core 4.0.0.Final. A lot of time and effort from many people went into this release, so thank you everyone involved! The artifacts have...
View ArticleHibernateException: ‘hibernate.dialect’
Aconteceu comigo o erro: Caused by: org.hibernate.HibernateException: ‘hibernate.dialect’ must be set when no Connection available Para resolver apenas coloquei o trecho abaixo dentro da tag...
View Article