parent
5b3283e760
commit
d3db912c49
@ -1,4 +1,4 @@
|
||||
package com.example.demo;
|
||||
package com.example.contacts;
|
||||
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
||||
@ -1,8 +1,8 @@
|
||||
package com.example.demo;
|
||||
package com.example.contacts;
|
||||
|
||||
import org.springframework.data.repository.CrudRepository;
|
||||
|
||||
import com.example.demo.Person;
|
||||
import com.example.contacts.Person;
|
||||
|
||||
// This will be AUTO IMPLEMENTED by Spring into a Bean called userRepository
|
||||
// CRUD refers Create, Read, Update, Delete
|
||||
Loading…
Reference in new issue