Skip to content

Commit 8047a92

Browse files
committed
Minor change in SQL client template property parsing
1 parent 8bcbc74 commit 8047a92

File tree

1 file changed

+1
-2
lines changed
  • vertx-sql-client-templates/src/main/java/io/vertx/sqlclient/templates/generator

1 file changed

+1
-2
lines changed

vertx-sql-client-templates/src/main/java/io/vertx/sqlclient/templates/generator/MapperGenBase.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ protected String getMappingName(PropertyInfo prop, String annotationName) {
101101
return value;
102102
}
103103
}
104-
String name = Character.toUpperCase(prop.getName().charAt(0)) + prop.getName().substring(1);
105-
return CamelCase.INSTANCE.to(formatter, name);
104+
return LowerCamelCase.INSTANCE.to(formatter, prop.getName());
106105
}
107106
}

0 commit comments

Comments
 (0)