openjpa.Enhance - You have enabled runtime enhancement, but have not specified the set of persistent classes.

2014-08-19 Thread José Luis Cetina
Hi, i have a maven project, in my project i have a maven plugin for
enhancement, when i execute the plugin i can see the enhancement running
lines for each entity, like this:

INFO   [main] openjpa.Tool - Enhancer running on type class
com.xx.yy.zz.MyClassName.


But when i run my server (Apache TomEE 1.6.0) i see a warning message:

239  classpath-bootstrap  INFO   [main] openjpa.Enhance - You have enabled
runtime enhancement, but have not specified the set of persistent classes.
 OpenJPA must look for metadata for every loaded class, which might
increase class load times significantly.

If i could see that the enhancement is running when i clean and install the
pom of my maven project, then why this message is show?


Plugin:

 !--OPENJPA ENHANCMENT--
plugin
groupIdorg.apache.openjpa/groupId
artifactIdopenjpa-maven-plugin/artifactId
version${plugins.openjpa.maven.plugin}/version
configuration
includes
com/xx/yy/entities/**/*
/includes
excludes
com/xx/yy/entities/**/*_.class
/excludes
addDefaultConstructortrue/addDefaultConstructor

enforcePropertyRestrictionstrue/enforcePropertyRestrictions
/configuration
executions
execution
idenhancer/id
phaseprocess-classes/phase
goals
goalenhance/goal
/goals
/execution
/executions
dependencies
dependency
groupIdorg.apache.openjpa/groupId
artifactIdopenjpa/artifactId
version${apache.openjpa.version}/version
/dependency
/dependencies
/plugin


Re: openjpa.Enhance - You have enabled runtime enhancement, but have not specified the set of persistent classes.

2014-08-19 Thread Rick Curtis
 If i could see that the enhancement is running when i clean and install
the pom of my maven project, then why this message is show?
I believe this message is just telling you that TomEE has enabled the
OpenJPA runtime enhancer. I'm pretty certain you can ignore the message.

Thanks,
Rick


On Tue, Aug 19, 2014 at 12:26 PM, José Luis Cetina maxtorz...@gmail.com
wrote:

 Hi, i have a maven project, in my project i have a maven plugin for
 enhancement, when i execute the plugin i can see the enhancement running
 lines for each entity, like this:

 INFO   [main] openjpa.Tool - Enhancer running on type class
 com.xx.yy.zz.MyClassName.


 But when i run my server (Apache TomEE 1.6.0) i see a warning message:

 239  classpath-bootstrap  INFO   [main] openjpa.Enhance - You have enabled
 runtime enhancement, but have not specified the set of persistent classes.
  OpenJPA must look for metadata for every loaded class, which might
 increase class load times significantly.

 If i could see that the enhancement is running when i clean and install the
 pom of my maven project, then why this message is show?


 Plugin:

  !--OPENJPA ENHANCMENT--
 plugin
 groupIdorg.apache.openjpa/groupId
 artifactIdopenjpa-maven-plugin/artifactId
 version${plugins.openjpa.maven.plugin}/version
 configuration
 includes
 com/xx/yy/entities/**/*
 /includes
 excludes
 com/xx/yy/entities/**/*_.class
 /excludes
 addDefaultConstructortrue/addDefaultConstructor

 enforcePropertyRestrictionstrue/enforcePropertyRestrictions
 /configuration
 executions
 execution
 idenhancer/id
 phaseprocess-classes/phase
 goals
 goalenhance/goal
 /goals
 /execution
 /executions
 dependencies
 dependency
 groupIdorg.apache.openjpa/groupId
 artifactIdopenjpa/artifactId
 version${apache.openjpa.version}/version
 /dependency
 /dependencies
 /plugin




-- 
*Rick Curtis*


Re: openjpa.Enhance - You have enabled runtime enhancement, but have not specified the set of persistent classes.

2014-08-19 Thread José Luis Cetina
Ok. Thanks Rick.
El 19/08/2014 21:12, Rick Curtis curti...@gmail.com escribió:

  If i could see that the enhancement is running when i clean and install
 the pom of my maven project, then why this message is show?
 I believe this message is just telling you that TomEE has enabled the
 OpenJPA runtime enhancer. I'm pretty certain you can ignore the message.

 Thanks,
 Rick


 On Tue, Aug 19, 2014 at 12:26 PM, José Luis Cetina maxtorz...@gmail.com
 wrote:

  Hi, i have a maven project, in my project i have a maven plugin for
  enhancement, when i execute the plugin i can see the enhancement
 running
  lines for each entity, like this:
 
  INFO   [main] openjpa.Tool - Enhancer running on type class
  com.xx.yy.zz.MyClassName.
 
 
  But when i run my server (Apache TomEE 1.6.0) i see a warning message:
 
  239  classpath-bootstrap  INFO   [main] openjpa.Enhance - You have
 enabled
  runtime enhancement, but have not specified the set of persistent
 classes.
   OpenJPA must look for metadata for every loaded class, which might
  increase class load times significantly.
 
  If i could see that the enhancement is running when i clean and install
 the
  pom of my maven project, then why this message is show?
 
 
  Plugin:
 
   !--OPENJPA ENHANCMENT--
  plugin
  groupIdorg.apache.openjpa/groupId
  artifactIdopenjpa-maven-plugin/artifactId
  version${plugins.openjpa.maven.plugin}/version
  configuration
  includes
  com/xx/yy/entities/**/*
  /includes
  excludes
  com/xx/yy/entities/**/*_.class
  /excludes
  addDefaultConstructortrue/addDefaultConstructor
 
  enforcePropertyRestrictionstrue/enforcePropertyRestrictions
  /configuration
  executions
  execution
  idenhancer/id
  phaseprocess-classes/phase
  goals
  goalenhance/goal
  /goals
  /execution
  /executions
  dependencies
  dependency
  groupIdorg.apache.openjpa/groupId
  artifactIdopenjpa/artifactId
  version${apache.openjpa.version}/version
  /dependency
  /dependencies
  /plugin
 



 --
 *Rick Curtis*