Java Doc for JRHibernateQueryExecuterFactory.java in  » Report » jasperreports-2.0.1 » net » sf » jasperreports » engine » query » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Report » jasperreports 2.0.1 » net.sf.jasperreports.engine.query 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.sf.jasperreports.engine.query.JRHibernateQueryExecuterFactory

JRHibernateQueryExecuterFactory
public class JRHibernateQueryExecuterFactory implements JRQueryExecuterFactory(Code)
Query executer factory for HQL queries that uses Hibernate 3.

The factory creates net.sf.jasperreports.engine.query.JRHibernateQueryExecuter JRHibernateQueryExecuter query executers.
author:
   Lucian Chirita (lucianc@users.sourceforge.net)
version:
   $Id: JRHibernateQueryExecuterFactory.java 1589 2007-02-20 14:28:21Z shertage $



Field Summary
final public static  StringPARAMETER_HIBERNATE_FILTER_COLLECTION
     Built-in parameter used for collection filter queries.
final public static  StringPARAMETER_HIBERNATE_SESSION
     Built-in parameter holding the value of the Hibernate session to be used for creating the query.
final public static  StringPROPERTY_HIBERNATE_CLEAR_CACHE
     Property specifying whether hibernate session cache should be cleared between two consecutive fetches when using pagination.
final public static  StringPROPERTY_HIBERNATE_FIELD_MAPPING_DESCRIPTIONS
     Property specifying whether field descriptions should be used to determine the mapping between the fields and the query return values.
final public static  StringPROPERTY_HIBERNATE_QUERY_LIST_PAGE_SIZE
     Property specifying the number of result rows to be retrieved at once when the execution type is list.
final public static  StringPROPERTY_HIBERNATE_QUERY_RUN_TYPE
     Property specifying the query execution type.
final public static  StringQUERY_LANGUAGE_HQL
     HQL query language.
final public static  StringVALUE_HIBERNATE_QUERY_RUN_TYPE_ITERATE
     Value of the JRHibernateQueryExecuterFactory.PROPERTY_HIBERNATE_QUERY_RUN_TYPE PROPERTY_HIBERNATE_QUERY_RUN_TYPE property corresponding to iterate execution type.
final public static  StringVALUE_HIBERNATE_QUERY_RUN_TYPE_LIST
     Value of the JRHibernateQueryExecuterFactory.PROPERTY_HIBERNATE_QUERY_RUN_TYPE PROPERTY_HIBERNATE_QUERY_RUN_TYPE property corresponding to list execution type.
final public static  StringVALUE_HIBERNATE_QUERY_RUN_TYPE_SCROLL
     Value of the JRHibernateQueryExecuterFactory.PROPERTY_HIBERNATE_QUERY_RUN_TYPE PROPERTY_HIBERNATE_QUERY_RUN_TYPE property corresponding to scroll execution type.


Method Summary
public  JRQueryExecutercreateQueryExecuter(JRDataset dataset, Map parameters)
    
public  Object[]getBuiltinParameters()
     Returns an array containing the JRHibernateQueryExecuterFactory.PARAMETER_HIBERNATE_SESSION PARAMETER_HIBERNATE_SESSION and JRHibernateQueryExecuterFactory.PARAMETER_HIBERNATE_FILTER_COLLECTION PARAMETER_HIBERNATE_FILTER_COLLECTION paramters.
public  booleansupportsQueryParameterType(String className)
     Returns true for all parameter types.

Field Detail
PARAMETER_HIBERNATE_FILTER_COLLECTION
final public static String PARAMETER_HIBERNATE_FILTER_COLLECTION(Code)
Built-in parameter used for collection filter queries.

The value of this paramter will be used as the collection to filter using the query.




PARAMETER_HIBERNATE_SESSION
final public static String PARAMETER_HIBERNATE_SESSION(Code)
Built-in parameter holding the value of the Hibernate session to be used for creating the query.



PROPERTY_HIBERNATE_CLEAR_CACHE
final public static String PROPERTY_HIBERNATE_CLEAR_CACHE(Code)
Property specifying whether hibernate session cache should be cleared between two consecutive fetches when using pagination.

By default, the cache cleanup is not performed.


See Also:   net.sf.jasperreports.engine.query.JRHibernateQueryExecuterFactory.PROPERTY_HIBERNATE_QUERY_LIST_PAGE_SIZE




PROPERTY_HIBERNATE_FIELD_MAPPING_DESCRIPTIONS
final public static String PROPERTY_HIBERNATE_FIELD_MAPPING_DESCRIPTIONS(Code)
Property specifying whether field descriptions should be used to determine the mapping between the fields and the query return values.



PROPERTY_HIBERNATE_QUERY_LIST_PAGE_SIZE
final public static String PROPERTY_HIBERNATE_QUERY_LIST_PAGE_SIZE(Code)
Property specifying the number of result rows to be retrieved at once when the execution type is list.

Result pagination is implemented by org.hibernate.Query.setFirstResult() and org.hibernate.Query.setMaxResults().

By default, all the rows are retrieved (no result pagination is performed).




PROPERTY_HIBERNATE_QUERY_RUN_TYPE
final public static String PROPERTY_HIBERNATE_QUERY_RUN_TYPE(Code)
Property specifying the query execution type.

Possible values are:

  • list (default) - the query will be run by calling org.hibernate.Query.list()
  • iterate - the query will be run by calling org.hibernate.Query.iterate()
  • scroll - the query will be run by calling org.hibernate.Query.scroll()



QUERY_LANGUAGE_HQL
final public static String QUERY_LANGUAGE_HQL(Code)
HQL query language.



VALUE_HIBERNATE_QUERY_RUN_TYPE_ITERATE
final public static String VALUE_HIBERNATE_QUERY_RUN_TYPE_ITERATE(Code)
Value of the JRHibernateQueryExecuterFactory.PROPERTY_HIBERNATE_QUERY_RUN_TYPE PROPERTY_HIBERNATE_QUERY_RUN_TYPE property corresponding to iterate execution type.



VALUE_HIBERNATE_QUERY_RUN_TYPE_LIST
final public static String VALUE_HIBERNATE_QUERY_RUN_TYPE_LIST(Code)
Value of the JRHibernateQueryExecuterFactory.PROPERTY_HIBERNATE_QUERY_RUN_TYPE PROPERTY_HIBERNATE_QUERY_RUN_TYPE property corresponding to list execution type.



VALUE_HIBERNATE_QUERY_RUN_TYPE_SCROLL
final public static String VALUE_HIBERNATE_QUERY_RUN_TYPE_SCROLL(Code)
Value of the JRHibernateQueryExecuterFactory.PROPERTY_HIBERNATE_QUERY_RUN_TYPE PROPERTY_HIBERNATE_QUERY_RUN_TYPE property corresponding to scroll execution type.





Method Detail
createQueryExecuter
public JRQueryExecuter createQueryExecuter(JRDataset dataset, Map parameters) throws JRException(Code)



getBuiltinParameters
public Object[] getBuiltinParameters()(Code)
Returns an array containing the JRHibernateQueryExecuterFactory.PARAMETER_HIBERNATE_SESSION PARAMETER_HIBERNATE_SESSION and JRHibernateQueryExecuterFactory.PARAMETER_HIBERNATE_FILTER_COLLECTION PARAMETER_HIBERNATE_FILTER_COLLECTION paramters.



supportsQueryParameterType
public boolean supportsQueryParameterType(String className)(Code)
Returns true for all parameter types.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.