hibernate and other maven upgrades

This commit is contained in:
eugenp 2013-08-19 21:34:24 +03:00
parent 8b6a612e6c
commit e412b13818
23 changed files with 37 additions and 52 deletions

View File

@ -249,7 +249,7 @@
<org.springframework.security.version>3.1.4.RELEASE</org.springframework.security.version>
<!-- persistence -->
<hibernate.version>4.2.3.Final</hibernate.version>
<hibernate.version>4.2.4.Final</hibernate.version>
<mysql-connector-java.version>5.1.26</mysql-connector-java.version>
<!-- logging -->
@ -276,7 +276,7 @@
<!-- Maven plugins -->
<cargo-maven2-plugin.version>1.4.3</cargo-maven2-plugin.version>
<maven-surefire-plugin.version>2.15</maven-surefire-plugin.version>
<maven-surefire-plugin.version>2.16</maven-surefire-plugin.version>
</properties>
</project>

View File

@ -188,7 +188,7 @@
<jstl.version>1.2</jstl.version>
<!-- persistence -->
<hibernate.version>4.2.3.Final</hibernate.version>
<hibernate.version>4.2.4.Final</hibernate.version>
<mysql-connector-java.version>5.1.26</mysql-connector-java.version>
<!-- logging -->
@ -215,7 +215,7 @@
<!-- Maven plugins -->
<cargo-maven2-plugin.version>1.4.3</cargo-maven2-plugin.version>
<maven-surefire-plugin.version>2.15</maven-surefire-plugin.version>
<maven-surefire-plugin.version>2.16</maven-surefire-plugin.version>
</properties>
</project>

View File

@ -227,7 +227,7 @@
<!-- Maven plugins -->
<cargo-maven2-plugin.version>1.4.3</cargo-maven2-plugin.version>
<maven-surefire-plugin.version>2.15</maven-surefire-plugin.version>
<maven-surefire-plugin.version>2.16</maven-surefire-plugin.version>
</properties>
</project>

View File

@ -191,7 +191,7 @@
<!-- Maven plugins -->
<cargo-maven2-plugin.version>1.4.3</cargo-maven2-plugin.version>
<maven-surefire-plugin.version>2.15</maven-surefire-plugin.version>
<maven-surefire-plugin.version>2.16</maven-surefire-plugin.version>
</properties>
</project>

View File

@ -199,7 +199,7 @@
<!-- Maven plugins -->
<cargo-maven2-plugin.version>1.4.3</cargo-maven2-plugin.version>
<maven-surefire-plugin.version>2.15</maven-surefire-plugin.version>
<maven-surefire-plugin.version>2.16</maven-surefire-plugin.version>
</properties>
</project>

View File

@ -3,16 +3,11 @@ package org.baeldung.persistence.dao.impl;
import org.baeldung.persistence.dao.IChildDao;
import org.baeldung.persistence.dao.common.AbstractHibernateDao;
import org.baeldung.persistence.model.Child;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
@Repository
public class ChildDao extends AbstractHibernateDao<Child> implements IChildDao {
@Autowired
private SessionFactory sessionFactory;
public ChildDao() {
super();

View File

@ -3,16 +3,11 @@ package org.baeldung.persistence.dao.impl;
import org.baeldung.persistence.dao.IFooDao;
import org.baeldung.persistence.dao.common.AbstractHibernateDao;
import org.baeldung.persistence.model.Foo;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
@Repository
public class FooDao extends AbstractHibernateDao<Foo> implements IFooDao {
@Autowired
private SessionFactory sessionFactory;
public FooDao() {
super();

View File

@ -3,16 +3,11 @@ package org.baeldung.persistence.dao.impl;
import org.baeldung.persistence.dao.IParentDao;
import org.baeldung.persistence.dao.common.AbstractHibernateDao;
import org.baeldung.persistence.model.Parent;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
@Repository
public class ParentDao extends AbstractHibernateDao<Parent> implements IParentDao {
@Autowired
private SessionFactory sessionFactory;
public ParentDao() {
super();

View File

@ -38,7 +38,7 @@
<dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.17.1-GA</version>
<version>3.18.0-GA</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
@ -164,7 +164,7 @@
<org.springframework.security.version>3.1.4.RELEASE</org.springframework.security.version>
<!-- persistence -->
<hibernate.version>4.2.3.Final</hibernate.version>
<hibernate.version>4.2.4.Final</hibernate.version>
<mysql-connector-java.version>5.1.26</mysql-connector-java.version>
<!-- logging -->
@ -191,7 +191,7 @@
<!-- Maven plugins -->
<cargo-maven2-plugin.version>1.4.3</cargo-maven2-plugin.version>
<maven-surefire-plugin.version>2.15</maven-surefire-plugin.version>
<maven-surefire-plugin.version>2.16</maven-surefire-plugin.version>
</properties>
</project>

View File

@ -125,7 +125,7 @@
<org.springframework.security.version>3.1.4.RELEASE</org.springframework.security.version>
<!-- persistence -->
<hibernate.version>4.2.3.Final</hibernate.version>
<hibernate.version>4.2.4.Final</hibernate.version>
<mysql-connector-java.version>5.1.26</mysql-connector-java.version>
<!-- logging -->
@ -152,7 +152,7 @@
<!-- Maven plugins -->
<cargo-maven2-plugin.version>1.4.3</cargo-maven2-plugin.version>
<maven-surefire-plugin.version>2.15</maven-surefire-plugin.version>
<maven-surefire-plugin.version>2.16</maven-surefire-plugin.version>
</properties>
</project>

View File

@ -129,7 +129,7 @@
<!-- Maven plugins -->
<cargo-maven2-plugin.version>1.4.3</cargo-maven2-plugin.version>
<maven-surefire-plugin.version>2.15</maven-surefire-plugin.version>
<maven-surefire-plugin.version>2.16</maven-surefire-plugin.version>
<maven-war-plugin.version>2.4</maven-war-plugin.version>
</properties>

View File

@ -120,7 +120,7 @@
<!-- Maven plugins -->
<cargo-maven2-plugin.version>1.4.3</cargo-maven2-plugin.version>
<maven-surefire-plugin.version>2.15</maven-surefire-plugin.version>
<maven-surefire-plugin.version>2.16</maven-surefire-plugin.version>
</properties>
</project>

View File

@ -125,7 +125,7 @@
<org.springframework.security.version>3.1.4.RELEASE</org.springframework.security.version>
<!-- persistence -->
<hibernate.version>4.2.3.Final</hibernate.version>
<hibernate.version>4.2.4.Final</hibernate.version>
<mysql-connector-java.version>5.1.26</mysql-connector-java.version>
<!-- logging -->
@ -152,7 +152,7 @@
<!-- Maven plugins -->
<cargo-maven2-plugin.version>1.4.3</cargo-maven2-plugin.version>
<maven-surefire-plugin.version>2.15</maven-surefire-plugin.version>
<maven-surefire-plugin.version>2.16</maven-surefire-plugin.version>
</properties>
</project>

View File

@ -183,7 +183,7 @@
<org.springframework.security.version>3.1.4.RELEASE</org.springframework.security.version>
<!-- persistence -->
<hibernate.version>4.2.3.Final</hibernate.version>
<hibernate.version>4.2.4.Final</hibernate.version>
<mysql-connector-java.version>5.1.26</mysql-connector-java.version>
<!-- logging -->
@ -210,7 +210,7 @@
<!-- Maven plugins -->
<cargo-maven2-plugin.version>1.4.3</cargo-maven2-plugin.version>
<maven-surefire-plugin.version>2.15</maven-surefire-plugin.version>
<maven-surefire-plugin.version>2.16</maven-surefire-plugin.version>
</properties>
</project>

View File

@ -187,7 +187,7 @@
<org.springframework.security.version>3.1.4.RELEASE</org.springframework.security.version>
<!-- persistence -->
<hibernate.version>4.2.3.Final</hibernate.version>
<hibernate.version>4.2.4.Final</hibernate.version>
<mysql-connector-java.version>5.1.26</mysql-connector-java.version>
<!-- logging -->
@ -214,7 +214,7 @@
<!-- Maven plugins -->
<cargo-maven2-plugin.version>1.4.3</cargo-maven2-plugin.version>
<maven-surefire-plugin.version>2.15</maven-surefire-plugin.version>
<maven-surefire-plugin.version>2.16</maven-surefire-plugin.version>
</properties>
</project>

View File

@ -183,7 +183,7 @@
<org.springframework.security.version>3.1.4.RELEASE</org.springframework.security.version>
<!-- persistence -->
<hibernate.version>4.2.3.Final</hibernate.version>
<hibernate.version>4.2.4.Final</hibernate.version>
<mysql-connector-java.version>5.1.26</mysql-connector-java.version>
<!-- logging -->
@ -210,7 +210,7 @@
<!-- Maven plugins -->
<cargo-maven2-plugin.version>1.4.3</cargo-maven2-plugin.version>
<maven-surefire-plugin.version>2.15</maven-surefire-plugin.version>
<maven-surefire-plugin.version>2.16</maven-surefire-plugin.version>
</properties>
</project>

View File

@ -179,7 +179,7 @@
<org.springframework.security.version>3.1.4.RELEASE</org.springframework.security.version>
<!-- persistence -->
<hibernate.version>4.2.3.Final</hibernate.version>
<hibernate.version>4.2.4.Final</hibernate.version>
<mysql-connector-java.version>5.1.26</mysql-connector-java.version>
<!-- logging -->
@ -206,7 +206,7 @@
<!-- Maven plugins -->
<cargo-maven2-plugin.version>1.4.3</cargo-maven2-plugin.version>
<maven-surefire-plugin.version>2.15</maven-surefire-plugin.version>
<maven-surefire-plugin.version>2.16</maven-surefire-plugin.version>
</properties>
</project>

View File

@ -187,7 +187,7 @@
<org.springframework.security.version>3.1.4.RELEASE</org.springframework.security.version>
<!-- persistence -->
<hibernate.version>4.2.3.Final</hibernate.version>
<hibernate.version>4.2.4.Final</hibernate.version>
<mysql-connector-java.version>5.1.26</mysql-connector-java.version>
<!-- logging -->
@ -214,7 +214,7 @@
<!-- Maven plugins -->
<cargo-maven2-plugin.version>1.4.3</cargo-maven2-plugin.version>
<maven-surefire-plugin.version>2.15</maven-surefire-plugin.version>
<maven-surefire-plugin.version>2.16</maven-surefire-plugin.version>
</properties>
</project>

View File

@ -284,7 +284,7 @@
<org.springframework.security.version>3.1.4.RELEASE</org.springframework.security.version>
<!-- persistence -->
<hibernate.version>4.2.3.Final</hibernate.version>
<hibernate.version>4.2.4.Final</hibernate.version>
<mysql-connector-java.version>5.1.26</mysql-connector-java.version>
<!-- http -->
@ -312,7 +312,7 @@
<!-- Maven plugins -->
<cargo-maven2-plugin.version>1.4.3</cargo-maven2-plugin.version>
<maven-surefire-plugin.version>2.15</maven-surefire-plugin.version>
<maven-surefire-plugin.version>2.16</maven-surefire-plugin.version>
</properties>
</project>

View File

@ -239,7 +239,7 @@
<org.springframework.security.version>3.1.4.RELEASE</org.springframework.security.version>
<!-- persistence -->
<hibernate.version>4.2.3.Final</hibernate.version>
<hibernate.version>4.2.4.Final</hibernate.version>
<mysql-connector-java.version>5.1.26</mysql-connector-java.version>
<!-- logging -->
@ -266,7 +266,7 @@
<!-- Maven plugins -->
<cargo-maven2-plugin.version>1.4.3</cargo-maven2-plugin.version>
<maven-surefire-plugin.version>2.15</maven-surefire-plugin.version>
<maven-surefire-plugin.version>2.16</maven-surefire-plugin.version>
</properties>
</project>

View File

@ -272,7 +272,7 @@
<org.springframework.security.version>3.1.4.RELEASE</org.springframework.security.version>
<!-- persistence -->
<hibernate.version>4.2.3.Final</hibernate.version>
<hibernate.version>4.2.4.Final</hibernate.version>
<mysql-connector-java.version>5.1.26</mysql-connector-java.version>
<!-- http -->
@ -300,7 +300,7 @@
<!-- Maven plugins -->
<cargo-maven2-plugin.version>1.4.3</cargo-maven2-plugin.version>
<maven-surefire-plugin.version>2.15</maven-surefire-plugin.version>
<maven-surefire-plugin.version>2.16</maven-surefire-plugin.version>
</properties>
</project>

View File

@ -92,7 +92,7 @@
<dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.17.1-GA</version>
<version>3.18.0-GA</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
@ -220,7 +220,7 @@
<org.springframework.security.version>3.1.4.RELEASE</org.springframework.security.version>
<!-- persistence -->
<hibernate.version>4.2.3.Final</hibernate.version>
<hibernate.version>4.2.4.Final</hibernate.version>
<mysql-connector-java.version>5.1.26</mysql-connector-java.version>
<spring-data-jpa.version>1.3.2.RELEASE</spring-data-jpa.version>
@ -252,7 +252,7 @@
<!-- Maven plugins -->
<cargo-maven2-plugin.version>1.4.3</cargo-maven2-plugin.version>
<maven-surefire-plugin.version>2.15</maven-surefire-plugin.version>
<maven-surefire-plugin.version>2.16</maven-surefire-plugin.version>
</properties>
</project>

View File

@ -196,7 +196,7 @@
<org.springframework.security.version>3.1.4.RELEASE</org.springframework.security.version>
<!-- persistence -->
<hibernate.version>4.2.3.Final</hibernate.version>
<hibernate.version>4.2.4.Final</hibernate.version>
<mysql-connector-java.version>5.1.26</mysql-connector-java.version>
<!-- logging -->
@ -223,7 +223,7 @@
<!-- Maven plugins -->
<cargo-maven2-plugin.version>1.4.3</cargo-maven2-plugin.version>
<maven-surefire-plugin.version>2.15</maven-surefire-plugin.version>
<maven-surefire-plugin.version>2.16</maven-surefire-plugin.version>
</properties>
</project>