public class CachingTableNameConverter extends Object implements TableNameConverter
A table name converter that simply caches the converted table names.
This implementation uses a LoadingCache and is thread safe.
| Constructor and Description |
|---|
CachingTableNameConverter(TableNameConverter delegateTableNameConverter) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName(Class<? extends RawEntity<?>> entityClass)
Generates a table name to correspond with the specified class.
|
public CachingTableNameConverter(TableNameConverter delegateTableNameConverter)
public String getName(Class<? extends RawEntity<?>> entityClass)
TableNameConverterTable
annotation and use the appropriate override when necessary. If this
check is not made, ActiveObjects will continue to function normally,
but any code assuming the proper imlementation of @Table
will likely fail.getName in interface TableNameConverterentityClass - The entity type for which a corresponding field name must be
generated.Copyright © 2007–2022 Atlassian. All rights reserved.