Merge pull request #6643 from eugenp/BAEL-2829
BAEL-2829: Moving to spring-data-jpa-2
This commit is contained in:
commit
6003634ad5
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.domain;
|
||||
package com.baeldung.entity;
|
||||
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Id;
|
|
@ -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> {
|
||||
|
|
@ -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
|
Loading…
Reference in New Issue