From jbosstools-commits at lists.jboss.org Fri Feb 26 07:32:49 2010 Content-Type: multipart/mixed; boundary="===============5075389856303014952==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r20506 - trunk/hibernatetools/docs/reference/en. Date: Fri, 26 Feb 2010 07:32:48 -0500 Message-ID: <201002261232.o1QCWmCU020449@svn01.web.mwc.hst.phx2.redhat.com> --===============5075389856303014952== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ochikvina Date: 2010-02-26 07:32:48 -0500 (Fri, 26 Feb 2010) New Revision: 20506 Modified: trunk/hibernatetools/docs/reference/en/master_output.xml Log:

https://jira.jboss.org/jira/browse/JBDS-1106 - Updated master_output.

Modified: trunk/hibernatetools/docs/reference/en/master_output.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/hibernatetools/docs/reference/en/master_output.xml 2010-02-26 12:= 32:39 UTC (rev 20505) +++ trunk/hibernatetools/docs/reference/en/master_output.xml 2010-02-26 12:= 32:48 UTC (rev 20506) @@ -42,14 +42,14 @@ = 2007 - 2008<= /year> - 2009 - 2010 + 2008 + 2009 + 2010 JBoss by Red Hat = - Version: 3.3.0.CR2 + Version: 3.3.0.GA = = @@ -234,88 +234,88 @@ = Download and install Hibernate Tools - Hibernate Tools can be used "standalone" via Ant 1.6.x or - fully integrated into an Eclipse + WTP based IDE, such as = JBDS/JBoss Tools, + Hibernate Tools can be used= "standalone" via Ant 1.6.x or + fully integrated into an Eclipse + WTP based IDE, such as JBDS/JBoss Tools, or a default Eclipse + WTP installation. The following sections descri= be the install steps in - these environments. + these environments. Note: - The Hibernate Tools 3.3.0 (the current release version) requires - Eclipse Galileo 3.5. + The Hibernate Tools 3.3.0= (the current release version) requires + Eclipse Galileo 3.5.
JBoss Tools - JBoss Tools 3.1.0 (the latest release) includes Hibernate - Tools 3.3.0 and thus nothing is requir= ed besides downloading<= /property> - and installing JBoss Tools. If you need to update to a newer version of - the Hibernate Tools just follow the instructi= ons in the Eclipse IDE - section. + JBoss Tools 3.1.0 (the la= test release) includes Hibernate + Tools 3.3.0 and thus nothing is required besides downloading + and installing JBoss Tools. I= f you need to update to a newer version of + the Hibernate Tools just foll= ow the instructions in the Eclipse IDE + section.
Eclipse IDE - To install the Hibernate Tools into any Eclipse - 3.5 based IDE you can either use JBoss Tools Update Site - or install it manually. - If you want to install= the Hibernate Tools distribution manually you - need to: - - - Download from www.eclipse.org: - - - birt-report-framework-2_5_0.zip + To install the Hibernate Tools into any Eclipse + 3.5 based IDE you can either use JBoss Tools Update Site + or install it manually. + If you want to install the Hibernate= Tools distribution manually you + need to: + + + Download from www.eclipse.org: + + + birt-report-framework-2_5_0.zip - - birt-wtp-integration-sdk-2_3_2.zip + + birt-wtp-integration-sdk-2_3_2.zip - - dtp-sdk_1.7.0.zip + + dtp-sdk_1.7.0.zip - - eclipse-SDK-3.5-win32.zip + + eclipse-SDK-3.5-win32.zip - - emf-runtime-2.5.0.zip + + emf-runtime-2.5.0.zip - - GEF-SDK-3.5.0.zip + + GEF-SDK-3.5.0.zip - - org.eclipse.swtbot.eclipse.test-2.0.0.371-dev-e35.zip + + org.eclipse.swtbot.eclipse.test-2.0.0.371-dev-e35.zip - - org.eclipse.swtbot.eclipse-2.0.0.340-dev.zip + + org.eclipse.swtbot.eclipse-2.0.0.340-dev.zip - - site-1.6.2.zip + + site-1.6.2.zip - - tptp.sdk-TPTP-4.6.0.zip + + tptp.sdk-TPTP-4.6.0.zip - - wtp-sdk-R-3.1-20090616035105.zip + + wtp-sdk-R-3.1-20090616035105.zip - - xsd-runtime-2.5.0.zip + + xsd-runtime-2.5.0.zip - - Then you should unpack these files into Eclipse install folder. + + Then you should unpack these files into Eclipse install fold= er. - - From hibernate.or= g-Download Overview download Hibernate Tools - . + + From hiberna= te.org-Download Overview download Hibernate Tools + . = - - Unpack Hibernate Tools in eclipse/dropins folder<= /para> + + Unpack Hibernate Tools in eclipse/dropins folder Note: - If you need more det= ailed instructions on plugins installation and general usage of eclipse - then check out https://eclipse-tutorial.dev.java.net/ and espe= cially https://eclipse-tutorial.dev.java.net/visual-tutorials= /updatemanager.html which + If you need more detailed instructions on plugins installatio= n and general usage of eclipse + then check out https://eclipse-tutorial.dev.java.net/ and especially https://eclipse-tutorial.dev.java.net/visual-tutorials/updatemanager.ht= ml which covers using the update manager.
@@ -475,6 +475,18 @@ Hibernate Tools and espec= ially Hibernate it self. +
+ <diffmk:wrapper diffmk:change=3D"adde= d">Download base project</diffmk:wrapper> + You can download example projects which are used as base for this chapter= . + JPA base project is availabl= e here = + and base Java project is situated her= e. + Also you need start database. + + <diffmk:wrapper diffmk:change=3D"ad= ded">Note:</diffmk:wrapper> + How to run database you can know in Getting Started Guide. + +
+ =
Creating a Hibernate Mapping File @@ -2249,7 +2261,7 @@ - + = @@ -2862,9 +2874,9 @@ Enable debug logging in the plugins It is possible to configure the eclipse plugin to route all logg= ing made by the plugins and hibernate code it self to the Error = Log View in Eclipse. - Error Log View is very useful = tool to solve any problem which appears in Hibernate Tools Plugins. = + Error Log View is very useful tool to solve any proble= m which appears in Hibernate Tools Plugins. = You can use if there are troubles with setting up <= property diffmk:change=3D"added" moreinfo=3D"none">Hibernate Console Configuration= . = - This is done by editing the + This is done by editing the hibernate-log4j.properties in org.hibernate.eclipse/ directory/jar @@ -2881,6 +2893,8 @@ Starting from 3.0.0 Alpha1 version of JBoss Tools Hibernate plugins support Eclipse Dali integration what now makes it possible to use a= Hibernate as a complete JPA development platform. +
+ <diffmk:wrapper diffmk:change=3D"adde= d">Creating JPA project with Hibernate support</diffmk:wrapper> When starting a new JPA project from New > Other > JPA > JPA Proje= ct (or simply @@ -2919,7 +2933,10 @@ finishes its work. It allows a full usage of Hibernate Tools features without additional setup. - By enabling Hibernate platform specific features you can now gen= erate DDL and Entities. +
+
= + <diffmk:wrapper diffmk:change=3D"added= ">Generating DDL and Entities</diffmk:wrapper> + By enabling Hibernate platform specific features you can now ge= nerate DDL and Entities. For that find JPA Tools > Generate Tables from En= tities/Generate Entities from Tables options in the context menu of your JPA project. @@ -2951,10 +2968,10 @@ a Hibernate Console Configuration (proposed by default) Just make sure that the - Use Console Configuration - checkbox is selected and choose a needed configurati= on from the - Console configurations - list box. + Use Console Configuration + checkbox is selected and choose a needed configuration= from the + Console configurations + list box.
Generate Entities Wizard @@ -2985,7 +3002,82 @@
Thus, you can now have the Hibernate runtime support in Eclipse = JPA projects. +
+
+ <diffmk:wrapper diffmk:change=3D"adde= d">Hibernate Annotations Support</diffmk:wrapper> + Also Hibernate Annotations are supported in Dali Java Persistence Tools. + The next annotations are integrated with JPA Details view: + + = + Id Generator annotations - @GenericG= enerator and = @GeneratedValue +
+ <diffmk:wrapper diffmk:change=3D= "added">@GenericGenerator support in Dali</diffmk:wrapper> + + + + = + + = + +
+
+ <diffmk:wrapper diffmk:change=3D= "added">@GeneratedValue support in Dali</diffmk:wrapper> + + + + + = + +
= +
+ + Property annotations- @Discriminator= Formula= , @Generated Annotation<= /property>, @Index annotation +
+ <diffmk:wrapper diffmk:change=3D= "added">@Index support in Dali</diffmk:wrapper> + + + + + = + +
+ = +
+ + Mapping Queries annotations - @Named= Query a= nd @NamedNativeQuery +
+ <diffmk:wrapper diffmk:change=3D= "added">Add New Named Query Dialog with Hibernate Support</diffmk:wrapper><= /title> + <mediaobject diffmk:change=3D"added"> + <imageobject diffmk:change=3D"added"> + <imagedata diffmk:change=3D"added" fileref=3D"images/plugin= s/dali_integration10.png"></imagedata> + </imageobject> + = + </mediaobject> + </figure> + = + = + = + <figure diffmk:change=3D"added" float=3D"0"> + <title diffmk:change=3D"added"><diffmk:wrapper diffmk:change=3D= "added">@NamedQuery support in Dali</diffmk:wrapper> + + + + + = + +
+
+
+ More information about Hibernate Annotation you can find in Hibernate Annotations Reference Guide. = + = +
+
+ <diffmk:wrapper diffmk:change=3D"adde= d">Relevant Resources Links</diffmk:wrapper> + There is full information about native Dali plugin features on Eclipse Docum= entation page. = +
+ =
+ = = = --===============5075389856303014952==--