Hibernate Console Configuration


  1. Open Hibernate Perspective (Window -> Open Perspective -> Other … -> Hibernate)
  2. Open the Console creation dialog by selecting File -> New -> Hibernate Console Configuration
    1. Choose "Annotation jdk 1.5" for the type.
    2. Select the appropriate project
    3. Configure Hibernate Datasource or select an existing one
    4. I'm not using a properties file at this time.
    5. You can create a new Configuration file or select an existing one
  3. On the options tab:
    1. Choose the appropriate Flavor of Database
    2. Not using a naming strategy at this time // although that would be nice to add.//
    3. Not using a resolver at this time.
  4. The Classpath should include the compiled classes since Annotation config depends on this.
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License