Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products. If you have feedback or questions as you navigate the site, click Send Feedback.


Stay organized with collections Save and categorize content based on your preferences.

Class Enhance

  • java.lang.Object

  • public class Enhance
    extends java.lang.Object
    The command-line interface for ORM enhancing. Usage:
     java -cp [classpath] [options] [jdo-files] [class-files]
     where options can be
       -persistenceUnit [persistence-unit-name] : Name of a "persistence-unit" containing the classes
                                                  to enhance
       -d [target-dir-name] : Write the enhanced classes to the specified directory
       -api [api-name] : Name of the API we are enhancing for (JDO, JPA). Default is JDO
       -enhancerName [name] : Name of the ClassEnhancer to use. Options ASM
       -checkonly : Just check the classes for enhancement status
       -v : verbose output
       -enhancerVersion [version] : The version of the DataNucleus enhancer to use, where version
                                    corresponds to a directory under lib/opt/user/datanucleus in the
     where classpath must contain the following
       - your classes
       - your meta-data files 
    • Constructor Summary

      Constructor and Description
      Enhance(java.lang.String[] args) 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void main(java.lang.String[] args) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Enhance

        public Enhance(java.lang.String[] args)
    • Method Detail

      • main

        public static void main(java.lang.String[] args)