public class JPATransformer extends Object
NullDriver and NullConnection| Constructor and Description |
|---|
JPATransformer() |
| Modifier and Type | Method and Description |
|---|---|
static void |
transformAllQueries(Collection<PackageVO> packages)
Transforms all the JPQL queries to SQL queries.
|
static void |
validateOnly(Collection<PackageVO> packages) |
public static final void transformAllQueries(Collection<PackageVO> packages) throws ClassNotFoundException, InstantiationException, IllegalAccessException, SQLException
packages - the initialized set of PackageVO's. Ideally the output from the
EntityFinder#findAllEntities(Set) method.ClassNotFoundExceptionInstantiationExceptionIllegalAccessExceptionSQLExceptionpublic static final void validateOnly(Collection<PackageVO> packages) throws ClassNotFoundException, InstantiationException, IllegalAccessException, SQLException
Copyright © 2012-2013. All Rights Reserved.