Fwd: Generate CREATE & DROP DDL scripts

2 views
Skip to first unread message

mechite

unread,
Jan 27, 2026, 1:33:26 PMJan 27
to eb...@googlegroups.com
---------- Forwarded message ---------
From: Mahied Maruf <con...@mechite.com>
Date: Tue, Jan 27, 2026 at 12:08 AM
Subject: Generate CREATE & DROP DDL scripts
To: <robin....@gmail.com>, <eb...@googlegroups.com>


I was curious if there was a way to avoid the "application*.properties"
convention and be able to leverage ebean's ability to generate DDL
scripts, for bundling these with my application distribution as a
convinience. Really, I don't use the properties configuration
loading of ebean directly, but always programmatic configuration,
even if I'm going to load from `avaje-config` (where I would use
that API instead, because the indirection makes it more explicit
in my code). If that's something you dislike, let me know.

Essentially I'm asking if it's possible (or possible we can make it as
such) that you can add a dependency on `ebean-ddl-generator` (as
provided scope) and then we can just get CREATE & DROP scripts _by
default_ in the `/target/` directory, for manual use, or if we can
at least do it with a file named `ebean.properties` or something
more descriptive. My application is larger and I don't like the
abstract naming. The ideal situation for me is if I can use
annotations / immplement an SPI / anything where it's in my code
OR in the Maven POM.

Best regards,
Mahied Maruf <con...@mechite.com>

Mahied Maruf

unread,
Jan 27, 2026, 1:33:37 PMJan 27
to robin....@gmail.com, eb...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages