Java Doc for HibernateMBean.java in  » EJB-Server-JBoss-4.2.1 » hibernate-int » org » jboss » hibernate » jmx » 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 » EJB Server JBoss 4.2.1 » hibernate int » org.jboss.hibernate.jmx 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.jboss.hibernate.jmx.HibernateMBean

All known Subclasses:   org.jboss.hibernate.jmx.Hibernate,
HibernateMBean
public interface HibernateMBean extends ServiceMBean,MBeanRegistration(Code)
Describes a Hibernate service MBean. Configures a org.hibernate.SessionFactory instance and exposes it through JNDI. The SessionFactory is built through either
  • auto-discovery : where the classpath of the top-level deployment containing this MBean is searched for jars and directories to add to the config
  • har-deployment : where the deployment containing this MBean description conforms to the har layout definition.

version:
   $Revision: 57193 $
author:
   Alexey Loubyansky
author:
   Gavin King
author:
   Steve Ebersole
author:
   Dimitris Andreadis




Method Summary
public  voidcreateSchema()
    
public  voiddropSchema()
    
public  BooleangetBatchVersionedDataEnabled()
     Should Hibernate allow JDBC batch-updating of versioned entities?

Many drivers have bugs regarding the row counts returned in response to JDBC Batch API operations; in these cases, this should definitely be set to false.

public  StringgetCacheProviderClass()
     The name of the org.hibernate.cache.CacheProvider implementation class to use for second level caching.
public  StringgetCacheRegionPrefix()
     The prefix to use for this session factory within the second level cache.
public  StringgetDatasourceName()
     The JNDI namespace of the javax.sql.DataSource which should be used by the managed org.hibernate.SessionFactory .
public  StringgetDefaultCatalog()
     The default database catalog to use within the database being mapped.
public  StringgetDefaultSchema()
     The default database schema to use within the database being mapped.
public  ObjectNamegetDeployedTreeCacheObjectName()
     The JMX name of a org.jboss.cache.TreeCache MBean to be used as the second level cache.
public  StringgetDialect()
     The name of the dialect class to use for communicating with the database.
public  BooleangetGetGeneratedKeysEnabled()
    
public  URLgetHarUrl()
     The url to the har deployment, if MBean is operating in har deployment mode.
public  StringgetHbm2ddlAuto()
     The form, if any, of schema generation which should be used.
public  SessionFactorygetInstance()
     Exposes the internally managed session factory via a read-only JMX managed attribute.
public  IntegergetJdbcBatchSize()
     The JDBC batch update batch size.
public  IntegergetJdbcFetchSize()
     The JDBC fetch size.
public  BooleangetJdbcScrollableResultSetEnabled()
    
public  StringgetListenerInjector()
     The org.jboss.hibernate.ListenerInjector implementor class to use.
public  IntegergetMaxFetchDepth()
     The maximum outer join fetch depth.
public  BooleangetMinimalPutsEnabled()
    
public  BooleangetQueryCacheEnabled()
    
public  StringgetQuerySubstitutions()
     Query substitutions to use.
public  BooleangetReflectionOptimizationEnabled()
     Should Hibernate use cglib-based reflection optimizations?

Note : this may or may not improve performance based on the JVM you are using.

public  DategetRunningSince()
     The date and time since which the currently managed org.hibernate.SessionFactory has been running.
public  BooleangetSecondLevelCacheEnabled()
    
public  StringgetSessionFactoryInterceptor()
     The name of an org.hibernate.Interceptor impl class to be attached to the managed org.hibernate.SessionFactory .
public  StringgetSessionFactoryName()
     The JNDI namespace where the managed org.hibernate.SessionFactory is to be bound.
public  BooleangetShowSqlEnabled()
    
public  BooleangetSqlCommentsEnabled()
    
public  BooleangetStatGenerationEnabled()
    
public  ObjectNamegetStatisticsServiceName()
     Retreive the service name of the managed stats mbean.

When statistics are enabled on the managed session factory, the mbean automatically manages a stats mbean for stats exposure via jmx.

public  BooleangetStreamsForBinaryEnabled()
    
public  BooleangetUseStructuredCacheEntriesEnabled()
     Should Hibernate use structured cache entries when putting stuff into the second level cache?

Mainly useful if users wish to directly browse the second level caches as it is easier to see what the cache entries actually represent.

public  StringgetUsername()
     The username used to access the specified datasource.
public  StringgetVersion()
     The version Hibernate for the managed org.hibernate.SessionFactory .
public  booleanisDirty()
     Is this MBean dirty? Meaning, have any changes been made to it that have not yet been propogated to the managed org.hibernate.SessionFactory ?

Note : the only way to propogate these changes to the SF is by calling the HibernateMBean.rebuildSessionFactory() managed operation.

public  booleanisScanForMappingsEnabled()
     Enables scanning of the entire deployment classpath for any potential mapping sources (jars or directories).
public  booleanisSessionFactoryRunning()
    
public  voidrebuildSessionFactory()
     A JMX managed operation to rebuild the managed org.hibernate.SessionFactory such that any setting changes made can take effect.
public  voidsetBatchVersionedDataEnabled(Boolean batchVersionedDataEnabled)
    
public  voidsetCacheProviderClass(String cacheProviderClass)
     The name of the org.hibernate.cache.CacheProvider implementation class to use for second level caching.
public  voidsetCacheRegionPrefix(String cacheRegionPrefix)
     The prefix to use for this session factory within the second level cache.
public  voidsetDatasourceName(String datasourceName)
     The JNDI namespace of the javax.sql.DataSource which should be used by the managed org.hibernate.SessionFactory .
public  voidsetDefaultCatalog(String defaultCatalog)
     The default database catalog to use within the database being mapped.
public  voidsetDefaultSchema(String defaultSchema)
     The default database schema to use within the database being mapped.
public  voidsetDeployedTreeCacheObjectName(ObjectName deployedTreeCacheObjectName)
     The JMX name of a org.jboss.cache.TreeCache MBean to be used as the second level cache.
public  voidsetDialect(String dialect)
     The name of the dialect class to use for communicating with the database.
public  voidsetGetGeneratedKeysEnabled(Boolean getGeneratedKeysEnabled)
    
public  voidsetHbm2ddlAuto(String hbm2ddlAuto)
     The form, if any, of schema generation which should be used.
public  voidsetJdbcBatchSize(Integer jdbcBatchSize)
     The JDBC batch update batch size.
public  voidsetJdbcFetchSize(Integer jdbcFetchSize)
     The JDBC fetch size.
public  voidsetJdbcScrollableResultSetEnabled(Boolean jdbcScrollableResultSetEnabled)
    
public  voidsetListenerInjector(String listenerInjector)
     The org.jboss.hibernate.ListenerInjector implementor class to use.
public  voidsetMaxFetchDepth(Integer maxFetchDepth)
     The maximum outer join fetch depth.
public  voidsetMinimalPutsEnabled(Boolean minimalPutsEnabled)
    
public  voidsetPassword(String password)
     The password used to access the specified datasource.
public  voidsetQueryCacheEnabled(Boolean queryCacheEnabled)
    
public  voidsetQuerySubstitutions(String querySubstitutions)
     Query substitutions to use.
public  voidsetReflectionOptimizationEnabled(Boolean reflectionOptimizationEnabled)
    
public  voidsetScanForMappingsEnabled(boolean scanForMappings)
     Enables scanning of the entire deployment classpath for any potential mapping sources (jars or directories).
public  voidsetSecondLevelCacheEnabled(Boolean secondLevelCacheEnabled)
    
public  voidsetSessionFactoryInterceptor(String sessionFactoryInterceptor)
     The name of an org.hibernate.Interceptor impl class to be attached to the managed org.hibernate.SessionFactory .
public  voidsetSessionFactoryName(String sessionFactoryName)
     The JNDI namespace where the managed org.hibernate.SessionFactory is to be bound.
public  voidsetShowSqlEnabled(Boolean showSqlEnabled)
    
public  voidsetSqlCommentsEnabled(Boolean commentsEnabled)
    
public  voidsetStatGenerationEnabled(Boolean statGenerationEnabled)
    
public  voidsetStreamsForBinaryEnabled(Boolean streamsForBinaryEnabled)
    
public  voidsetUseStructuredCacheEntriesEnabled(Boolean structuredEntriesEnabled)
    
public  voidsetUsername(String username)
     The username used to access the specified datasource.



Method Detail
createSchema
public void createSchema() throws Exception(Code)
Export the CREATE DDL to the database
throws:
  Exception -



dropSchema
public void dropSchema() throws Exception(Code)
Export the DROP DDL to the database
throws:
  Exception -



getBatchVersionedDataEnabled
public Boolean getBatchVersionedDataEnabled()(Code)
Should Hibernate allow JDBC batch-updating of versioned entities?

Many drivers have bugs regarding the row counts returned in response to JDBC Batch API operations; in these cases, this should definitely be set to false. The current setting value
See Also:   org.hibernate.cfg.Environment.BATCH_VERSIONED_DATA




getCacheProviderClass
public String getCacheProviderClass()(Code)
The name of the org.hibernate.cache.CacheProvider implementation class to use for second level caching. The current setting value
See Also:   org.hibernate.cfg.Environment.CACHE_PROVIDER



getCacheRegionPrefix
public String getCacheRegionPrefix()(Code)
The prefix to use for this session factory within the second level cache. The current setting value
See Also:   org.hibernate.cfg.Environment.CACHE_NAMESPACE



getDatasourceName
public String getDatasourceName()(Code)
The JNDI namespace of the javax.sql.DataSource which should be used by the managed org.hibernate.SessionFactory . The current setting value.
See Also:   org.hibernate.cfg.Environment.DATASOURCE



getDefaultCatalog
public String getDefaultCatalog()(Code)
The default database catalog to use within the database being mapped.

Used for databases which support the concept of catalogs instead of schemas. The current setting value.
See Also:   HibernateMBean.getDefaultSchema
See Also:   org.hibernate.cfg.Environment.DEFAULT_CATALOG




getDefaultSchema
public String getDefaultSchema()(Code)
The default database schema to use within the database being mapped.

Used for databases which support the concept of schemas instead of catalogs. The current setting value.
See Also:   HibernateMBean.getDefaultCatalog
See Also:   org.hibernate.cfg.Environment.DEFAULT_SCHEMA




getDeployedTreeCacheObjectName
public ObjectName getDeployedTreeCacheObjectName()(Code)
The JMX name of a org.jboss.cache.TreeCache MBean to be used as the second level cache.

Note : only used when HibernateMBean.getCacheProviderClass == org.jboss.hibernate.cache.DeployedTreeCacheProvider The current setting




getDialect
public String getDialect()(Code)
The name of the dialect class to use for communicating with the database. The current setting value.
See Also:   org.hibernate.cfg.Environment.DIALECT



getGetGeneratedKeysEnabled
public Boolean getGetGeneratedKeysEnabled()(Code)
Is the use of JDBC3 getGeneratedKeys() enabled? The current setting value
See Also:   org.hibernate.cfg.Environment.USE_GET_GENERATED_KEYS



getHarUrl
public URL getHarUrl()(Code)
The url to the har deployment, if MBean is operating in har deployment mode. The url of the har containing this MBean, or null if not part ofa har deployment.



getHbm2ddlAuto
public String getHbm2ddlAuto()(Code)
The form, if any, of schema generation which should be used. The current setting value.
See Also:   org.hibernate.cfg.Environment.HBM2DDL_AUTO



getInstance
public SessionFactory getInstance()(Code)
Exposes the internally managed session factory via a read-only JMX managed attribute. The managed session factory.



getJdbcBatchSize
public Integer getJdbcBatchSize()(Code)
The JDBC batch update batch size. The current setting value
See Also:   org.hibernate.cfg.Environment.STATEMENT_BATCH_SIZE



getJdbcFetchSize
public Integer getJdbcFetchSize()(Code)
The JDBC fetch size. The current setting value
See Also:   org.hibernate.cfg.Environment.STATEMENT_FETCH_SIZE



getJdbcScrollableResultSetEnabled
public Boolean getJdbcScrollableResultSetEnabled()(Code)
Are scrollable result sets enabled? The current setting value
See Also:   org.hibernate.cfg.Environment.USE_SCROLLABLE_RESULTSET



getListenerInjector
public String getListenerInjector()(Code)
The org.jboss.hibernate.ListenerInjector implementor class to use.



getMaxFetchDepth
public Integer getMaxFetchDepth()(Code)
The maximum outer join fetch depth. The current setting value
See Also:   org.hibernate.cfg.Environment.MAX_FETCH_DEPTH



getMinimalPutsEnabled
public Boolean getMinimalPutsEnabled()(Code)
Should minimal puts be enabled against the given cache provider? The current setting value
See Also:   org.hibernate.cfg.Environment.USE_MINIMAL_PUTS



getQueryCacheEnabled
public Boolean getQueryCacheEnabled()(Code)
Is use of the query cache enabled? The current setting value
See Also:   org.hibernate.cfg.Environment.USE_QUERY_CACHE



getQuerySubstitutions
public String getQuerySubstitutions()(Code)
Query substitutions to use. The current setting value
See Also:   org.hibernate.cfg.Environment.QUERY_SUBSTITUTIONS



getReflectionOptimizationEnabled
public Boolean getReflectionOptimizationEnabled()(Code)
Should Hibernate use cglib-based reflection optimizations?

Note : this may or may not improve performance based on the JVM you are using.
See Also:   org.hibernate.cfg.Environment.USE_REFLECTION_OPTIMIZER




getRunningSince
public Date getRunningSince()(Code)
The date and time since which the currently managed org.hibernate.SessionFactory has been running. The date and time the current org.hibernate.SessionFactory was started.



getSecondLevelCacheEnabled
public Boolean getSecondLevelCacheEnabled()(Code)



getSessionFactoryInterceptor
public String getSessionFactoryInterceptor()(Code)
The name of an org.hibernate.Interceptor impl class to be attached to the managed org.hibernate.SessionFactory .



getSessionFactoryName
public String getSessionFactoryName()(Code)
The JNDI namespace where the managed org.hibernate.SessionFactory is to be bound. The current setting value.



getShowSqlEnabled
public Boolean getShowSqlEnabled()(Code)
Should all SQL be shown (dumped to console and logged)? The current setting value
See Also:   org.hibernate.cfg.Environment.SHOW_SQL



getSqlCommentsEnabled
public Boolean getSqlCommentsEnabled()(Code)
Should sql comments be used?
See Also:   org.hibernate.cfg.Environment.USE_SQL_COMMENTS



getStatGenerationEnabled
public Boolean getStatGenerationEnabled()(Code)
Should generation and collection of Hibernate3 statistics be enabled?
See Also:   org.hibernate.cfg.Environment.GENERATE_STATISTICS



getStatisticsServiceName
public ObjectName getStatisticsServiceName()(Code)
Retreive the service name of the managed stats mbean.

When statistics are enabled on the managed session factory, the mbean automatically manages a stats mbean for stats exposure via jmx. This returns the name under which that stats mbean is available from the jmx server. The service name of the stats mbean, or null if stats not enabled.




getStreamsForBinaryEnabled
public Boolean getStreamsForBinaryEnabled()(Code)
Should Hibernate use I/O streaming for handling binary/LOB data?
See Also:   org.hibernate.cfg.Environment.USE_STREAMS_FOR_BINARY



getUseStructuredCacheEntriesEnabled
public Boolean getUseStructuredCacheEntriesEnabled()(Code)
Should Hibernate use structured cache entries when putting stuff into the second level cache?

Mainly useful if users wish to directly browse the second level caches as it is easier to see what the cache entries actually represent.
See Also:   org.hibernate.cfg.Environment.USE_STRUCTURED_CACHE




getUsername
public String getUsername()(Code)
The username used to access the specified datasource. The current setting value.
See Also:   org.hibernate.cfg.Environment.USER



getVersion
public String getVersion()(Code)
The version Hibernate for the managed org.hibernate.SessionFactory .



isDirty
public boolean isDirty()(Code)
Is this MBean dirty? Meaning, have any changes been made to it that have not yet been propogated to the managed org.hibernate.SessionFactory ?

Note : the only way to propogate these changes to the SF is by calling the HibernateMBean.rebuildSessionFactory() managed operation.




isScanForMappingsEnabled
public boolean isScanForMappingsEnabled()(Code)
Enables scanning of the entire deployment classpath for any potential mapping sources (jars or directories).

Only used in the case of har deployments.




isSessionFactoryRunning
public boolean isSessionFactoryRunning()(Code)
Does this MBean instance have a currently running managed org.hibernate.SessionFactory ?



rebuildSessionFactory
public void rebuildSessionFactory() throws Exception(Code)
A JMX managed operation to rebuild the managed org.hibernate.SessionFactory such that any setting changes made can take effect.
throws:
  Exception -



setBatchVersionedDataEnabled
public void setBatchVersionedDataEnabled(Boolean batchVersionedDataEnabled)(Code)
Should Hibernate allow JDBC batch-updating of versioned entities?
Parameters:
  batchVersionedDataEnabled -



setCacheProviderClass
public void setCacheProviderClass(String cacheProviderClass)(Code)
The name of the org.hibernate.cache.CacheProvider implementation class to use for second level caching.
Parameters:
  cacheProviderClass - The new provider impl class name.



setCacheRegionPrefix
public void setCacheRegionPrefix(String cacheRegionPrefix)(Code)
The prefix to use for this session factory within the second level cache.
Parameters:
  cacheRegionPrefix - The new prefix value.



setDatasourceName
public void setDatasourceName(String datasourceName)(Code)
The JNDI namespace of the javax.sql.DataSource which should be used by the managed org.hibernate.SessionFactory .
Parameters:
  datasourceName - The new DataSource JNDI name to use.



setDefaultCatalog
public void setDefaultCatalog(String defaultCatalog)(Code)
The default database catalog to use within the database being mapped.
Parameters:
  defaultCatalog - The new default catalog name.



setDefaultSchema
public void setDefaultSchema(String defaultSchema)(Code)
The default database schema to use within the database being mapped.
Parameters:
  defaultSchema - The new default schema name to use.



setDeployedTreeCacheObjectName
public void setDeployedTreeCacheObjectName(ObjectName deployedTreeCacheObjectName)(Code)
The JMX name of a org.jboss.cache.TreeCache MBean to be used as the second level cache.
Parameters:
  deployedTreeCacheObjectName - The new mbean object name.



setDialect
public void setDialect(String dialect)(Code)
The name of the dialect class to use for communicating with the database.
Parameters:
  dialect - The new dialect class name to use.



setGetGeneratedKeysEnabled
public void setGetGeneratedKeysEnabled(Boolean getGeneratedKeysEnabled)(Code)
Is the use of JDBC3 getGeneratedKeys() enabled?
Parameters:
  getGeneratedKeysEnabled - The new value.



setHbm2ddlAuto
public void setHbm2ddlAuto(String hbm2ddlAuto)(Code)
The form, if any, of schema generation which should be used.
Parameters:
  hbm2ddlAuto - The new hbm2ddl setting; valid values are: update, create, create-drop



setJdbcBatchSize
public void setJdbcBatchSize(Integer jdbcBatchSize)(Code)
The JDBC batch update batch size.
Parameters:
  jdbcBatchSize - The new value for the number of statements to batch together.



setJdbcFetchSize
public void setJdbcFetchSize(Integer jdbcFetchSize)(Code)
The JDBC fetch size.
Parameters:
  jdbcFetchSize - The new value for the number of rows to fetch from server at a time.



setJdbcScrollableResultSetEnabled
public void setJdbcScrollableResultSetEnabled(Boolean jdbcScrollableResultSetEnabled)(Code)
Are scrollable result sets enabled?
Parameters:
  jdbcScrollableResultSetEnabled - The new value.



setListenerInjector
public void setListenerInjector(String listenerInjector)(Code)
The org.jboss.hibernate.ListenerInjector implementor class to use.
Parameters:
  listenerInjector -



setMaxFetchDepth
public void setMaxFetchDepth(Integer maxFetchDepth)(Code)
The maximum outer join fetch depth.
Parameters:
  maxFetchDepth - The new max fetch depth value



setMinimalPutsEnabled
public void setMinimalPutsEnabled(Boolean minimalPutsEnabled)(Code)
Should minimal puts be enabled against the given cache provider?
Parameters:
  minimalPutsEnabled -



setPassword
public void setPassword(String password)(Code)
The password used to access the specified datasource.
Parameters:
  password - The new password value.



setQueryCacheEnabled
public void setQueryCacheEnabled(Boolean queryCacheEnabled)(Code)
Is use of the query cache enabled?
Parameters:
  queryCacheEnabled - The new value of whether or not to enable.



setQuerySubstitutions
public void setQuerySubstitutions(String querySubstitutions)(Code)
Query substitutions to use.
Parameters:
  querySubstitutions - The new query substitutions to use



setReflectionOptimizationEnabled
public void setReflectionOptimizationEnabled(Boolean reflectionOptimizationEnabled)(Code)
Should Hibernate use cglib-based reflection optimizations?
Parameters:
  reflectionOptimizationEnabled -



setScanForMappingsEnabled
public void setScanForMappingsEnabled(boolean scanForMappings)(Code)
Enables scanning of the entire deployment classpath for any potential mapping sources (jars or directories).

Only used in the case of har deployments.
Parameters:
  scanForMappings -




setSecondLevelCacheEnabled
public void setSecondLevelCacheEnabled(Boolean secondLevelCacheEnabled)(Code)



setSessionFactoryInterceptor
public void setSessionFactoryInterceptor(String sessionFactoryInterceptor)(Code)
The name of an org.hibernate.Interceptor impl class to be attached to the managed org.hibernate.SessionFactory .
Parameters:
  sessionFactoryInterceptor -



setSessionFactoryName
public void setSessionFactoryName(String sessionFactoryName)(Code)
The JNDI namespace where the managed org.hibernate.SessionFactory is to be bound.
Parameters:
  sessionFactoryName - The new JNDI namespace to use.



setShowSqlEnabled
public void setShowSqlEnabled(Boolean showSqlEnabled)(Code)
Should all SQL be shown (dumped to console and logged)?
Parameters:
  showSqlEnabled -



setSqlCommentsEnabled
public void setSqlCommentsEnabled(Boolean commentsEnabled)(Code)
Should sql comments be used?
Parameters:
  commentsEnabled -



setStatGenerationEnabled
public void setStatGenerationEnabled(Boolean statGenerationEnabled)(Code)
Should generation and collection of Hibernate3 statistics be enabled?
Parameters:
  statGenerationEnabled -



setStreamsForBinaryEnabled
public void setStreamsForBinaryEnabled(Boolean streamsForBinaryEnabled)(Code)
Should Hibernate use I/O streaming for handling binary/LOB data?
Parameters:
  streamsForBinaryEnabled -



setUseStructuredCacheEntriesEnabled
public void setUseStructuredCacheEntriesEnabled(Boolean structuredEntriesEnabled)(Code)
Should Hibernate use structured cache entries when putting stuff into the second level cache?
Parameters:
  structuredEntriesEnabled -



setUsername
public void setUsername(String username)(Code)
The username used to access the specified datasource.
Parameters:
  username - The new username value.



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