
org.tynamo.jpa.JPASymbols Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tapestry-jpa-core Show documentation
Show all versions of tapestry-jpa-core Show documentation
Basic JPA2 services for Tapestry IoC
// Copyright 2009 The Apache Software Foundation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package org.tynamo.jpa;
/**
* Configuration symbols, for use with contributions to
* {@link org.apache.tapestry5.ioc.services.ApplicationDefaults}.
*
* @since 5.1.0.0
*/
public class JPASymbols
{
/**
* If "true", then Hibernate will be started up at application launch, rather than lazily.
*/
public static final String EARLY_START_UP = "tapestry.jpa.early-startup";
/**
* If true, then the last {@link org.apache.tapestry5.hibernate.HibernateConfigurer} will invoke
* {@link 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.
*/
public static final String DEFAULT_CONFIGURATION = "tapestry.jpa.default-configuration";
/**
* If true (the default), then {@link org.apache.tapestry5.ValueEncoder}s are automatically
* created for each entity. Override to "false" to handle entity value encoding explicitly.
*/
public static final String PROVIDE_ENTITY_VALUE_ENCODERS = "tapestry.jpa.provide-entity-value-encoders";
public static final String PERSISTENCE_UNIT = "tapestry.jpa.persistence-unit";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy