Provides Name Management for SQL objects.
This class now includes the HsqlName class introduced in 1.7.1 and improves
auto-naming with multiple databases in the engine.
Methods check user defined names and issue system generated names
for SQL objects.
This class does not deal with the type of the SQL object for which it
is used.
Some names beginning with SYS_ are reserved for system generated names.
These are defined in isReserveName(String name) and created by the
makeAutoName(String type) factory method
sysNumber is used to generate system-generated names. It is
set to the largest integer encountered in names that use the
SYS_xxxxxxx_INTEGER format. As the DDL is processed before any ALTER
command, any new system generated name will have a larger integer suffix
than all the existing names.
author: fredt@users version: 1.8.0 since: 1.7.2 |