I was not able to to get Id autoincrement working with 12.1.1 ebean version.
When ninja started Ebean server was reporting db.platform as generic. So him don't know how get id of a from last inserted object.
My mariadb version is.
10.5.6-MariaDB
I solved the problem declaring as dependency ebean version 12.3.6
io.ebeanebean12.3.6
In nexts day I will try make a pull request to this annoying issue.
I was not able to to get Id autoincrement working with 12.1.1 ebean version. When ninja started Ebean server was reporting db.platform as generic. So him don't know how get id of a from last inserted object. My mariadb version is.
10.5.6-MariaDB
I solved the problem declaring as dependency ebean version 12.3.6
In nexts day I will try make a pull request to this annoying issue.