Using an object-relational mapping framework like Hibernate disburdens developers from creating complex DDL scripts to setup an application’s database schema. However, in real life such scripts are still needed – at least for the DBA who forbids applications to alter database objects. This post shows how to easily generate the database schema DDL script without typing an SQL commands.
Java, Web and Mobile
Long running transactions might be killed by the App Server’s Transaction Reaper. I have implemented a litte helper to programmatic handle such kinds of exceptions.