简体   繁体   中英

Installed Hibernate Tools plugin for Eclipse but no access to code generation feature

I'm using Eclipse Helios SR2 and I've just installed the Hibernate tools plugin (via the update site : http://download.jboss.org/jbosstools/updates/stable/helios/ ). I now have the wizards to create the configuration file, mapping file and so on but something seems wrong : I don't have the "Hibernate code generation menu"?! Consequently, I'm not able to generate the domain classes based upon an existing database schema.

Can anyone explain what I am missing?

the "Hibernate code generation" menu appeared only when I am in the Hibernate perspective

Not really, try with the following steps

  • Menu -> Window -> Customize Perspective (current perspective)
  • Command Groups Availability -> CHECKED the Hibernate Code Generation

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM