Q:

Grails scaffolding inheritance

I have some Domain classes inheriting from a  base class. However when I generate the scaffolding, the view does not contain any elements of the base class. 
The behaviour is the same regardless of table per hierarchy (default), or table per subclass.
Is this a bug or am I doing something wrong?

A:

the code below works for me with dynamic and static scaffolding:
package p
class Person {
    String toString() { name
    }
    static constraints={
        name(blank:false,unique:true)
    }
    String name
}

package p

class Vip extends Person {
    static constraints={
        money(min:1000)
    }
    int money
}

