Package org.apache.tapestry5.hibernate
Class HibernateSymbols
java.lang.Object
org.apache.tapestry5.hibernate.HibernateSymbols
Configuration symbols, for use with contributions to
ApplicationDefaults.- Since:
- 5.1.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringIf true, then the lastHibernateConfigurerwill invokeConfiguration.configure(), to read the application'shibernate.cfg.xml.static final StringIf "true", then Hibernate will be started up at application launch, rather than lazily.static final StringIf true, then "entity" persistence strategy is used to store Hibernate entities asSession State Objects.static final StringIf true (the default), thenValueEncoders are automatically created for each entity. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
EARLY_START_UP
If "true", then Hibernate will be started up at application launch, rather than lazily.- See Also:
-
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:
-
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:
-
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:
-
-
Constructor Details
-
HibernateSymbols
public HibernateSymbols()
-