Update LUDO_USER and LUDO_DB. Update Client.Location mandatory, so fix on unit test
This commit is contained in:
@@ -27,7 +27,7 @@ public class Client {
|
||||
@Column(nullable = false, unique = true)
|
||||
private String email;
|
||||
|
||||
@OneToOne
|
||||
@OneToOne(cascade = CascadeType.ALL, orphanRemoval = true, fetch = FetchType.EAGER, optional = false)
|
||||
@JoinColumn(name = "LOCATION_ID")
|
||||
private Location location;
|
||||
}
|
||||
|
||||
@@ -3,9 +3,9 @@ spring:
|
||||
name: demo1
|
||||
#Connection to DB
|
||||
datasource:
|
||||
url: jdbc:sqlserver://localhost;databasename=ludotheque;integratedSecurity=false;encrypt=false;trustServerCertificate=false
|
||||
username: sa
|
||||
password: Pa$$w0rd
|
||||
url: jdbc:sqlserver://localhost;databasename=LUDO_DB;integratedSecurity=false;encrypt=false;trustServerCertificate=false
|
||||
username: LUDO_USER
|
||||
password: LUDO_PWD
|
||||
|
||||
#Options to DB
|
||||
jpa:
|
||||
|
||||
Reference in New Issue
Block a user