[BAEL-10897] - Fixed tomcat connection pool issue and CarRepositoryIntegrationTest
This commit is contained in:
+2
-2
@@ -1,4 +1,4 @@
|
||||
package com.baeldung.exists;
|
||||
package com.baeldung.boot.domain;
|
||||
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
||||
@@ -17,7 +17,7 @@ public class Car {
|
||||
private Integer power;
|
||||
private String model;
|
||||
|
||||
Car() {
|
||||
public Car() {
|
||||
|
||||
}
|
||||
|
||||
+3
-1
@@ -1,10 +1,12 @@
|
||||
package com.baeldung.exists;
|
||||
package com.baeldung.boot.repository;
|
||||
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.data.jpa.repository.Query;
|
||||
import org.springframework.data.repository.query.Param;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import com.baeldung.boot.domain.Car;
|
||||
|
||||
/**
|
||||
* @author paullatzelsperger
|
||||
* @since 2019-03-20
|
||||
Reference in New Issue
Block a user