diff --git a/bean/src/main/java/io/github/mmm/entity/bean/sql/SqlFormatter.java b/bean/src/main/java/io/github/mmm/entity/bean/sql/SqlFormatter.java index 042b958..4c1f7b0 100644 --- a/bean/src/main/java/io/github/mmm/entity/bean/sql/SqlFormatter.java +++ b/bean/src/main/java/io/github/mmm/entity/bean/sql/SqlFormatter.java @@ -254,6 +254,7 @@ protected void onAlias(String alias, Clause clause) { } } + @SuppressWarnings("unchecked") @Override public void onInto(Into into) { @@ -261,7 +262,7 @@ public void onInto(Into into) { write(into.getEntityName()); if (into instanceof InsertInto) { InsertInto insertInto = (InsertInto) into; - InsertValues values = insertInto.values(PropertyAssignment.EMPTY_ARRAY); + InsertValues values = insertInto.values((PropertyAssignment[]) PropertyAssignment.EMPTY_ARRAY); String s = "("; int i = 0; for (PropertyAssignment assignment : values.getAssignments()) {