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
 java.lang.String getAliasForTable(SQLStatement stmt, org.datanucleus.store.mapped.DatastoreContainerObject table, java.lang.String groupName)
          Method to return the alias to use for the specified table.
 

Method Detail

getAliasForTable

java.lang.String getAliasForTable(SQLStatement stmt,
                                  org.datanucleus.store.mapped.DatastoreContainerObject table,
                                  java.lang.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 © 2009. All Rights Reserved.