Hi all, I just tried the new ScalaGenerator and wanted to give some feedback. I only added <name>org.jooq.util.ScalaGenerator</name> to the <generator> tag in my xml file. I don't know if that suffices.
- The generator still logs "INFORMATION: Generating DAO : FoldersDao.java" although a .scala file is generated :-) - I have columns named "type" which is a reserved word in scala. I needed to replace all occurrences of type with `type` since the generator does not escape such identifiers - The ScalaGenerator still uses Java types like java.lang.Long instead of scala.Long, Java List etc.; is this intended? - Two warning from the scala compiler (i don't know if this is really a problem): [warn] /xxx/models/Public.scala:13: imported `Sequences' is permanently hidden by definition of object Sequences in package models [warn] import models.Sequences [warn] /xxx/models/Sequences.scala:11: imported `Public' is permanently hidden by definition of object Public in package models [warn] import models.Public After having replaced the reserved keywords, everything seems to be working as before although I expected/hoped for more Scala types from a ScalaGenerator ;-) Regards Julian -- You received this message because you are subscribed to the Google Groups "jOOQ User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
