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

2. The generator generates Java code in a Scala class for Postgres enums :
   e.g. CREATE TYPE preparation_time AS ENUM ('quick', 'average', 'lengthy'); 
-> PreparationTime.scala which contains : public enum PreparationTime 
implements EnumType {


 quick("quick"),

...


I searched the user group and the online documentation but couldn't find posts 
related to this issue. Maybe there is a configuration option that I missed ?


Any insight/help would be greatly appreciated.


----

Generator settings: 

relations = true
deprecated = false
records = true
immutablePojos = true

daos = true

-- 
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.

Reply via email to