Identifier generator for databases that provide auto-increment columns.
This generator works by creating a new row on the emulated sequence
(i.e. a table with just one column: an auto-increment column) and retrieving
the generated value.
It uses
es.udc.mypersonalizer.kernel.model.repository.sql.config.DatabaseTemplatesConfig.getInsertId(String) to obtain the query to insert the row and
es.udc.mypersonalizer.kernel.model.repository.sql.config.DatabaseTemplatesConfig.getNextId(String) to obtain the query to retrieve the generated identifier.
author: Abel Muinho author: Fernando Bellas since: 1.0 |