public class QueryTranslatorTranslateMojo extends AbstractQueryTranslatorTranslateMojo
This plugin will gather the following information from your ORM:
project
Constructor and Description |
---|
QueryTranslatorTranslateMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Finds all the known entities, named queries and translates all the information.
|
getDictionary, getDriverName, getPackageNames, getPassword, getReportTypes, getUrl, getUsername, setDictionary, setDriverName, setPassword, setUrl, setUsername
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
The gathered information is saved to disk using the Serializer
class.
execute
in interface org.apache.maven.plugin.Mojo
execute
in class AbstractQueryTranslatorTranslateMojo
org.apache.maven.plugin.MojoFailureException
- if anything goes wrongorg.apache.maven.plugin.MojoExecutionException
- if the ClassPath is not correct or if closing the database connection failed.Copyright © 2012-2013. All Rights Reserved.