Explicitly load of postgres / postigs drivers
This commit is contained in:
parent
37f4476ce6
commit
e96d010858
|
@ -26,6 +26,15 @@ import lombok.extern.slf4j.Slf4j;
|
|||
@Slf4j
|
||||
public class PostgisIndex {
|
||||
|
||||
static{
|
||||
try {
|
||||
Class.forName("org.postgresql.Driver");
|
||||
Class.forName("org.postgis.DriverWrapper");
|
||||
} catch (Exception var2) {
|
||||
throw new RuntimeException(var2);
|
||||
}
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Getter
|
||||
private Concessione record;
|
||||
|
|
Reference in New Issue