org.springframework.roo.addon.jpa
Interface JpaOperations

All Known Implementing Classes:
JpaOperationsImpl

public interface JpaOperations

Interface to commands available in JpaOperationsImpl.

Since:
1.0
Author:
Ben Alex

Method Summary
 void configureJpa(OrmProvider ormProvider, JdbcDatabase database, String jndi, String applicationId)
          This method is responsible for managing all JPA related artifacts (META-INF/persistence.xml, applicationContext.xml, database.properties and the project pom.xml)
 boolean isJpaInstallationPossible()
           
 boolean isJpaInstalled()
           
 

Method Detail

isJpaInstallationPossible

boolean isJpaInstallationPossible()

isJpaInstalled

boolean isJpaInstalled()

configureJpa

void configureJpa(OrmProvider ormProvider,
                  JdbcDatabase database,
                  String jndi,
                  String applicationId)
This method is responsible for managing all JPA related artifacts (META-INF/persistence.xml, applicationContext.xml, database.properties and the project pom.xml)

Parameters:
ormProvider - the ORM provider selected (Hibernate, OpenJpa, EclipseLink)
database - the database (HSQL, H2, MySql, etc)
jndi - the JNDI datasource
applicationId - the Google App Engine application identifier. Defaults to the project's name if not specified.


Copyright © 2009-2010 VMware, Inc. All Rights Reserved.