Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
public class EclipselinkMetadataSourceAdapter extends MetadataSourceAdapter {
@Override
public Map<String, Object> getPropertyOverrides(Map<String, Object> properties,
ClassLoader classLoader,
SessionLog log) {
HashMap<String, Object> result = new HashMap<>();
String ddlProperty = System.getProperty("eclipselink.ddl");
if (StringUtils.isNotBlank(ddlProperty)) {
result.put("eclipselink.ddl-generation", ddlProperty);
}
return result;
}
}
<system-properties>
<property name="eclipselink.ddl" value="create-or-extend-tables"/>
</system-properties>