Merge pull request #6643 from eugenp/BAEL-2829

BAEL-2829: Moving to spring-data-jpa-2
This commit is contained in:
Eric Martin 2019-04-01 23:36:04 -05:00 committed by GitHub
commit 6003634ad5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
package com.baeldung.domain;
package com.baeldung.entity;
import javax.persistence.Entity;
import javax.persistence.Id;

View File

@ -1,8 +1,8 @@
package com.baeldung.dao.repositories;
package com.baeldung.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import com.baeldung.domain.Employee;
import com.baeldung.entity.Employee;
public interface EmployeeRepository extends JpaRepository<Employee, Long> {

View File

@ -1,4 +1,4 @@
package com.baeldung.dao.repositories;
package com.baeldung.repository;
import static org.assertj.core.api.AssertionsForClassTypes.assertThat;
@ -8,7 +8,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest;
import org.springframework.test.context.junit4.SpringRunner;
import com.baeldung.domain.Employee;
import com.baeldung.entity.Employee;
@RunWith(SpringRunner.class)
@DataJpaTest