Package org.apache.tapestry5.hibernate
Class HibernateSymbols
- java.lang.Object
-
- org.apache.tapestry5.hibernate.HibernateSymbols
-
public class HibernateSymbols extends java.lang.Object
Configuration symbols, for use with contributions toApplicationDefaults.- Since:
- 5.1.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEFAULT_CONFIGURATIONIf true, then the lastHibernateConfigurerwill invokeConfiguration.configure(), to read the application'shibernate.cfg.xml.static java.lang.StringEARLY_START_UPIf "true", then Hibernate will be started up at application launch, rather than lazily.static java.lang.StringENTITY_SESSION_STATE_PERSISTENCE_STRATEGY_ENABLEDIf true, then "entity" persistence strategy is used to store Hibernate entities asSession State Objects.static java.lang.StringPROVIDE_ENTITY_VALUE_ENCODERSIf true (the default), thenValueEncoders are automatically created for each entity.
-
Constructor Summary
Constructors Constructor Description HibernateSymbols()
-
-
-
Field Detail
-
EARLY_START_UP
public static final java.lang.String EARLY_START_UP
If "true", then Hibernate will be started up at application launch, rather than lazily.- See Also:
- Constant Field Values
-
DEFAULT_CONFIGURATION
public static final java.lang.String DEFAULT_CONFIGURATION
If true, then the lastHibernateConfigurerwill invokeConfiguration.configure(), to read the application'shibernate.cfg.xml. This should be set to false for applications that configure exclusively in code.- See Also:
- Constant Field Values
-
PROVIDE_ENTITY_VALUE_ENCODERS
public static final java.lang.String PROVIDE_ENTITY_VALUE_ENCODERS
If true (the default), thenValueEncoders are automatically created for each entity. Override to "false" to handle entity value encoding explicitly.- See Also:
- Constant Field Values
-
ENTITY_SESSION_STATE_PERSISTENCE_STRATEGY_ENABLED
public static final java.lang.String ENTITY_SESSION_STATE_PERSISTENCE_STRATEGY_ENABLED
If true, then "entity" persistence strategy is used to store Hibernate entities asSession State Objects.- Since:
- 5.2.0.0
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HibernateSymbols
public HibernateSymbols()
-
-