[BAEL-10897] - Fixed spring-boot-persistence tests

This commit is contained in:
amit2103
2019-03-24 22:37:08 +05:30
parent d84dedbb95
commit 3e926d56be
20 changed files with 63 additions and 35 deletions
@@ -1,4 +1,4 @@
package com.baeldung;
package com.baeldung.boot;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@@ -1,4 +1,4 @@
package com.baeldung.domain;
package com.baeldung.boot.domain;
import static javax.persistence.GenerationType.IDENTITY;
@@ -1,4 +1,4 @@
package com.baeldung.domain;
package com.baeldung.boot.domain;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
@@ -1,4 +1,4 @@
package com.baeldung.naming;
package com.baeldung.boot.naming;
import org.hibernate.jpa.boot.spi.IntegratorProvider;
import org.springframework.boot.autoconfigure.orm.jpa.HibernatePropertiesCustomizer;
@@ -1,4 +1,4 @@
package com.baeldung.naming;
package com.baeldung.boot.naming;
import org.hibernate.boot.Metadata;
import org.hibernate.boot.model.relational.Database;
@@ -1,4 +1,4 @@
package com.baeldung.naming.entity;
package com.baeldung.boot.naming.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
@@ -1,4 +1,4 @@
package com.baeldung.naming.entity;
package com.baeldung.boot.naming.entity;
import javax.persistence.Entity;
import javax.persistence.Id;
@@ -1,6 +1,5 @@
package com.baeldung.repository;
package com.baeldung.boot.repository;
import com.baeldung.domain.User;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;
@@ -11,6 +10,8 @@ import org.springframework.data.repository.query.Param;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Repository;
import com.baeldung.boot.domain.User;
import java.util.Collection;
import java.util.List;
import java.util.Optional;