From jbosstools-commits at lists.jboss.org Thu Feb 26 19:07:28 2009 Content-Type: multipart/mixed; boundary="===============6528433455606996504==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r13853 - trunk/birt/docs/en/modules. Date: Thu, 26 Feb 2009 19:07:28 -0500 Message-ID: --===============6528433455606996504== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: smukhina Date: 2009-02-26 19:07:28 -0500 (Thu, 26 Feb 2009) New Revision: 13853 Modified: trunk/birt/docs/en/modules/birt_integration.xml Log: https://jira.jboss.org/jira/browse/JBDS-388 draft version of chapter is written = Modified: trunk/birt/docs/en/modules/birt_integration.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/birt/docs/en/modules/birt_integration.xml 2009-02-26 23:45:49 UTC= (rev 13852) +++ trunk/birt/docs/en/modules/birt_integration.xml 2009-02-27 00:07:28 UTC= (rev 13853) @@ -336,5 +336,213 @@ = = +
+Hibernate ODA Data Source + +The JBoss BIRT Integration feature includes the Hibernate ODA Data S= ource completely integrated with Hibernate Tools. You can use it in the way= you use any of BIRT ODA drivers. For instance, + + + run the Seam Generate Entities action + + + This action will create a Hibernate Console configuration. + + + create a new BIRT report + + + = +
+ Adding "Birt Reporting Runtime Component" Fa= cet + + + + + +
= + = + + + add the Hibernate ODA datasource + + + +
+ Adding "Birt Reporting Runtime Component" Fa= cet + + + + + +
+ +
+ Adding "Birt Reporting Runtime Component" Fa= cet + + + + + +
+ = + + + + + add the Hibernate ODA dataset + + + = +
+ Adding "Birt Reporting Runtime Component" Fa= cet + + + + + +
+ = +
+ Adding "Birt Reporting Runtime Component" Fa= cet + + + + + +
+ + + + All the HQL features like syntax highlighting, content assi= st, formatting, Drag and Drop, etc., are available to you here + + + + = +
+ Adding "Birt Reporting Runtime Component" Fa= cet + + + + + +
+
+ Adding "Birt Reporting Runtime Component" Fa= cet + + + + + +
+ +You can also use parameters within the Hibernate ODA driver. + = + +
+ Adding "Birt Reporting Runtime Component" Fa= cet + + + + + +
+ +
+ Adding "Birt Reporting Runtime Component" Fa= cet + + + + + +
+ +
+ Adding "Birt Reporting Runtime Component" Fa= cet + + + + + +
+ + = +
+ +
= +Deploying a BIRT report +You can deploy this report by adding an action button to the Seam&ap= os;s CRUD xhtml file. + +
+ Adding "Birt Reporting Runtime Component" Fa= cet + + + + + +
+ + + create the testHibernateOda.xhtml file + + + + + birttests.xhtml: + + + + + + + open the Articles.xhtml page + + + +
+ Adding "Birt Reporting Runtime Component" Fa= cet + + + + + +
+ + + + click the Birt PDF Report button + + + = +
+ Adding "Birt Reporting Runtime Component" Fa= cet + + + + + +
= + = + The JNDI URL property can be either Hibernate Session Factory or = Hibernate Entity Manager Factory. If a user doesn't specify this property, = our engine will try the following JNDI URLs : + + + java:/<project_name> + + + java:/<project_name>EntityManagerFactory + + NOTE: + If you want to test this feature using PDE Runtime, you need to a= dd osgi.dev=3Dbin to the WebContent/WEB-INF/platform/configuration/config.i= ni file = +
= --===============6528433455606996504==--