org.tynamo.jpa
Class JPASymbols

java.lang.Object
  extended by org.tynamo.jpa.JPASymbols

public class JPASymbols
extends Object

Configuration symbols, for use with contributions to ApplicationDefaults.

Since:
5.1.0.0

Field Summary
static String DEFAULT_CONFIGURATION
          If true, then the last org.apache.tapestry5.hibernate.HibernateConfigurer will invoke org.hibernate.cfg.Configuration#configure(), to read the application's hibernate.cfg.xml.
static String EARLY_START_UP
          If "true", then Hibernate will be started up at application launch, rather than lazily.
static String PERSISTENCE_UNIT
           
static String PROVIDE_ENTITY_VALUE_ENCODERS
          If true (the default), then org.apache.tapestry5.ValueEncoders are automatically created for each entity.
 
Constructor Summary
JPASymbols()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EARLY_START_UP

public static final 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 String DEFAULT_CONFIGURATION
If true, then the last org.apache.tapestry5.hibernate.HibernateConfigurer will invoke org.hibernate.cfg.Configuration#configure(), to read the application's hibernate.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 String PROVIDE_ENTITY_VALUE_ENCODERS
If true (the default), then org.apache.tapestry5.ValueEncoders are automatically created for each entity. Override to "false" to handle entity value encoding explicitly.

See Also:
Constant Field Values

PERSISTENCE_UNIT

public static final String PERSISTENCE_UNIT
See Also:
Constant Field Values
Constructor Detail

JPASymbols

public JPASymbols()


Copyright © 2009-2010. All Rights Reserved.