[jOOQ/jOOQ#10877] Compilation error in ScalaGenerator generated code
when table has column CLASS
This commit is contained in:
parent
62ac3886a3
commit
c7f8c8e044
@ -2330,7 +2330,7 @@ public class JavaGenerator extends AbstractGenerator {
|
||||
boolean override = generateInterfaces();
|
||||
|
||||
if (scala) {
|
||||
out.println("def %s: %s = get(%s).asInstanceOf[%s]", getter, type, index, type);
|
||||
out.println("def %s(): %s = get(%s).asInstanceOf[%s]", getter, type, index, type);
|
||||
}
|
||||
else if (kotlin) {
|
||||
String nullable = column instanceof EmbeddableDefinition ? "" : "?";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user