Webcam Chat QuickBooks Advice international calling cards international phone cards
JavaBeat Java Books Certifications Certifications Kits Articles Tutorials Tips QNA Book Store Interview Questions SCJP 1.5 SCJP 1.6 SCWCD 5.0 SCBCD 5.0 SCEA SCJA Feeds

Feature set of the Hibernate Plugin for Middlegen

Topic :
Feedback Request New QnA Print Email

The plugin is designed to be the best Middlegen plugin :-) and provide a feature full solution for those that like to (or must) work using a bottom up strategy. The plugin provides:

  • The bulk of the options for both direct Hibernate mapping attributes and hbm2java meta attributes.
  • Appropriate GUI enhancements (See images in Middlegen JIRA). This allows easily selecting the various options and using the faciltiies provided.
  • Storing the GUI state for both the Table and Columns so that it is correctly restored each fine tuning or code generation session.
  • Full support for setting attributes across multiply selected columns (I don't allow multiple select for some properties, eg, the gen-property meta attribute).
  • Added silent unique mapping attribute (not a part of the GUI).
  • Full Relationship support (through foreign keys), eg, one-to-one, one-to-many, many-to-one, many-to-many with either uni- and bi-directional associations. Note: One-to-one with foreign keys requires hibenate 2.1.
  • Compound key support. Method uses an external Java class to hold the key fields.
  • No primary key tables are generated a single compound key property.
  • XDoclet markup for POJO generation to allow prototyping for top-to-bottom development.
  • Generate the hbm file appropriately (decided to not generate any optional XML attributes if it is not required and setting is equal to the default or an empty value).
  • Custom Java type mapper plugin provider facility (start of Plugins for this Plugin).

The areas I have not implemented (as yet) include: polymorphism (and associate items), generated class name meta attribute, meta finder method and meta session method, or inheritance of meta data options (This is likely to be asked for in the future (assuming it gets a user base) but at this stage it will overload the GUI and I did not want to get to complicated).

Topic :
Feedback Request New QnA Print Email

All api java java 6.0 java 7.0 jdbc jsp servlet ejb jndi jms ejb 3.0 j2ee jee 5.0 jee 6.0 jsf struts spring Hibernate ajax JBoss Seam netbeans eclipse ant xml maven dojo junit javafx j2me log4j ESB JBoss Apache Quartz scjp mysql oracle gwt openjpa jmx yui google-guice android JBoss scwcd 5.0 scjp 1.5 scjp 1.6 scja scbcd 5.0

JavaBeat Website (2004-2011), India
javabeat | advertise | about us | contact | useful resources
Copyright (2004 - 2011), JavaBeat


Technology Blogs
Technology blogs Technology Blogs
blog log