Finally have the jpa object import state working

This commit is contained in:
Cyrus 2022-08-01 08:39:21 -04:00
parent 54c712d52b
commit 8dfd8a7484
3 changed files with 9 additions and 5 deletions

View File

@ -15,6 +15,7 @@ dependencies {
compile libs.commons_lang
compile libs.spring_webmvc
compile libs.spring_data // Cyrus ?
compile libs.spring_boot
compile libs.log4j2
compile libs.log4j2_web
compile libs.protobuf_java

View File

@ -1,12 +1,15 @@
package hirs.attestationca.repository;
import hirs.data.persist.Device;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
//import org.springframework.data.jpa.respository.JpaRepository;
import java.util.UUID;
/**
* Setting up for new creation for CRUD operations.
*/
@Repository
public interface DeviceRepository { // extends JpaRepository<Device, UUID> {
public interface DeviceRepository extends JpaRepository<Device, UUID> {
}

View File

@ -142,9 +142,9 @@ subprojects {
'org.springframework:spring-context:5.3.22',
'org.springframework:spring-expression:5.3.22',
'org.springframework:spring-orm:5.3.22'],
spring_boot: ['org.springframework:spring-boot-starter-web: 2.6.10',
'org.springframework:spring-boot-starter-thymeleaf: 2.6.10',
'org.springframework:spring-boot-starter-data-jpa: 2.6.10'],
spring_boot: ['org.springframework.boot:spring-boot-starter-web:2.6.10',
'org.springframework.boot:spring-boot-starter-thymeleaf:2.6.10',
'org.springframework.boot:spring-boot-starter-data-jpa:2.6.10'],
spring_data: ['org.springframework.data:spring-data-jpa:2.7.2'],
spring_msg: 'org.springframework:spring-messaging:5.3.19',
spring_plugin: 'org.springframework.plugin:spring-plugin-core:2.0.0.RELEASE',