Taack opened a new issue, #16010:
URL: https://github.com/apache/grails-core/issues/16010
### Expected Behavior
Our app should launch without exception, even if database DDL are executed.
### Actual Behaviour
An exception is thrown:
```
WARN 78010 --- [ main] o.h.t.s.i.ExceptionHandlerLoggedImpl :
GenerationTarget encountered exception accepting command : Error executing DDL "
alter table if exists application_message
alter column body set data type varchar(32600)" via JDBC [ERROR:
value too long for type character varying(32600)]
org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing
DDL "
alter table if exists application_message
alter column body set data type varchar(32600)" via JDBC [ERROR:
value too long for type character varying(32600)]
```
### Steps To Reproduce
1. Create a domain class with a mapping:
```groovy
@GrailsCompileStatic
class ApplicationMessage {
String body
static constraints = {
}
static mapping = {
body type: 'text'
}
}
```
2. Use `bootRun` task, it should fail at startup with a similar message than
above.
### Environment Information
```ksh
❯ psql -V
psql (PostgreSQL) 18.4
❯ uname -a
Linux auo-big-achyos 7.1.3-2-cachyos #1 SMP PREEMPT_DYNAMIC Wed, 08 Jul 2026
06:14:22 +0000 x86_64 GNU/Linux
❯ java -fullversion
openjdk full version "25.0.3"
```
### Example Application
_No response_
### Version
Grails 8.0.0-M3
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]