public class ImprovedNamingStrategyDelegator extends Object implements NamingStrategyDelegator, Serializable
Modifier and Type | Field and Description |
---|---|
static NamingStrategyDelegator |
DEFAULT_INSTANCE |
Modifier | Constructor and Description |
---|---|
|
ImprovedNamingStrategyDelegator() |
protected |
ImprovedNamingStrategyDelegator(NamingStrategyDelegate hbmNamingStrategyDelegate,
NamingStrategyDelegate jpaNamingStrategyDelegate) |
Modifier and Type | Method and Description |
---|---|
NamingStrategyDelegate |
getNamingStrategyDelegate(boolean isHbm)
Returns the appropriate
NamingStrategyDelegate . |
public static final NamingStrategyDelegator DEFAULT_INSTANCE
public ImprovedNamingStrategyDelegator()
protected ImprovedNamingStrategyDelegator(NamingStrategyDelegate hbmNamingStrategyDelegate, NamingStrategyDelegate jpaNamingStrategyDelegate)
public NamingStrategyDelegate getNamingStrategyDelegate(boolean isHbm)
NamingStrategyDelegator
NamingStrategyDelegate
.getNamingStrategyDelegate
in interface NamingStrategyDelegator
isHbm
- - true, if NamingStrategyDelegate
is to be used for a
hibernate-specific (hbm.xml) mapping; false, otherwise.NamingStrategyDelegate
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.