How to turn off DataNucleus Enhancer while working with Google App Engine

前端 未结 3 1835
谎友^
谎友^ 2020-12-28 08:27

I am working in Eclipse on a Google AppEngine Java code. Every time I save a java file, the DataNucleus Enchancer starts off \"Enhancement of Classes\". Its quite irritating

3条回答
  •  再見小時候
    2020-12-28 09:02

    This won't solve the focus problem, but it will reduce how often the enhancer runs:

    You can configure the enhancer to only enhance certain files. You can specify a pattern based on packages or class name. To specify the pattern, click the project menu, then properties, then google, then app engine, then ORM. If you name your persistent classes with a common suffix, you can specify a pattern like "*Entity.java"

提交回复
热议问题