Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/antora/modules/ROOT/pages/jdbc/mapping.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ class MyJdbcConfiguration extends AbstractJdbcConfiguration {

@Override
protected List<?> userConverters() {
return Arrays.asList(new BooleanToStringConverter(), new StringToBooleanConverter());
return Arrays.asList(new BooleanToStringConverter(), new StringToBooleanConverter());
}

}
Expand Down
18 changes: 9 additions & 9 deletions src/main/antora/modules/ROOT/partials/mapping.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -182,16 +182,16 @@ This works only if the parameter name information is present in the Java `.class
----
class OrderItem {

private @Id final String id;
private final int quantity;
private final double unitPrice;
private @Id final String id;
private final int quantity;
private final double unitPrice;

OrderItem(String id, int quantity, double unitPrice) {
this.id = id;
this.quantity = quantity;
this.unitPrice = unitPrice;
}
OrderItem(String id, int quantity, double unitPrice) {
this.id = id;
this.quantity = quantity;
this.unitPrice = unitPrice;
}

// getters/setters omitted
// getters/setters omitted
}
----