2015-07-27 11:25 GMT+02:00 Lukas Eder <[email protected]>: > Hello Suleiman > > Thank you very much for reporting these issues. Please find comments > inline: > > 2015-07-26 15:56 GMT+02:00 <[email protected]>: > >> Hello All, >> >> I have played a bit with the Scala generator (of jOOQ 3.6.2 open source >> edition, on a postgres DB) and ran into 2 problems : >> >> 1. The protected static createField method (defined in AbstractTable) is >> not accessible from the generated tables due to what seems like a Scala >> limitation >> <http://stackoverflow.com/questions/12034017/access-java-base-classs-static-member-in-scala> >> >> e.g. class Plan(alias : String, ....) extends >> TableImpl[PlanRecord](...) { >> val ID : TableField[PlanRecord, Long] = createField("id", ...) //Not >> accessible >> > > Interesting, we've fixed this issue when we created the ScalaGenerator: > > https://github.com/jOOQ/jOOQ/commit/0a30844ab63fad8750de1608905f912564faaacd > > Are you sure you're compiling the generated code against the jOOQ 3.6.2 > core library? There should be an overloaded "AbstractField.createField" > method, static and instance... The Scala code should be calling the > instance method. >
perhaps... what Scala version are you using? -- 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.
