I am developing an application in grails and I need to represent an inheritance between two entities. The problem is that when I establish the relationship:
class Documento {
static mapping = {
tablePerHierarchy false
}
class Tesis extends Documento{
}
When I generate the view of the thesis, it asks me to fill fields that belong to the Documents table and in the database I can not see the relationship between the two tables or I do not understand how that relationship is established.