Skip to content

Grails 7.1.0 not all domain classes create tables #15590

Description

@monetschemist

Expected Behavior

I have a Grails 7.1.0 application with three classes: Grouping, Person and Member. The Member class is meant to provide links between Grouping and Person instances. I should be able to create a Grouping instance, then create a Person instance, then create a Member instance that links the existing Person and Grouping instances.

Actual Behaviour

I can create the Grouping and Person instances, but when I attempt to create the Member instance, I get this exception:

2026-04-21T12:26:43.647-07:00 ERROR 84841 --- [nio-8080-exec-2] o.h.engine.jdbc.spi.SqlExceptionHelper : Table "MEMBER" not found; SQL statement:
select count(*) as y0_ from member this_ limit ? [42102-232]

Steps To Reproduce

  1. Using the repository below, from the command line, ./grailsw run-app
  2. On the web page https://localhost:8080/ click on the grouping/index link, which displays the page correctly
  3. On the web page https://localhost:8080/ click on the person/index link, which displays the page correctly
  4. On the web page https://localhost:8080/ click on the member/index link, which displays the error above

Environment Information

Ubuntu 25.10
Grails 7.1.0
Java 17.0.18-librca

Example Application

https://github.com/monetschemist/s11r_test

Version

Grails 7.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions