Explicitly load of postgres / postigs drivers

This commit is contained in:
Fabio Sinibaldi 2021-07-26 16:27:01 +02:00
parent 37f4476ce6
commit e96d010858
1 changed files with 9 additions and 0 deletions

View File

@ -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;