org.datanucleus.store.rdbms.sql
Interface SQLTableNamer

All Known Implementing Classes:
SQLTableAlphaNamer, SQLTableTNamer

public interface SQLTableNamer

Interface to be implemented by a class providing naming for SQL tables.


Method Summary
 String getAliasForTable(SQLStatement stmt, org.datanucleus.store.mapped.DatastoreContainerObject table, String groupName)
          Method to return the alias to use for the specified table.
 

Method Detail

getAliasForTable

String getAliasForTable(SQLStatement stmt,
                        org.datanucleus.store.mapped.DatastoreContainerObject table,
                        String groupName)
Method to return the alias to use for the specified table.

Parameters:
stmt - The statement where we will use the table
table - The table
groupName - Name of the table group
Returns:
The alias to use


Copyright © 2012. All Rights Reserved.