From: <one...@us...> - 2003-04-10 09:49:48
|
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate In directory sc8-pr-cvs1:/tmp/cvs-serv4460/hibernate Modified Files: SessionFactory.java Log Message: improvements to: * USE_REFLECTION_OPTIMIZER * Nonstrict cache * javadoc fixed bug in collection filter cache Index: SessionFactory.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/SessionFactory.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** SessionFactory.java 22 Feb 2003 06:42:06 -0000 1.7 --- SessionFactory.java 10 Apr 2003 09:49:15 -0000 1.8 *************** *** 12,116 **** /** ! * Creates <tt>Session</tt>s. Usually an application has a single ! * <tt>SessionFactory</tt>. Threads servicing client requests obtain ! * <tt>Session</tt>s from the factory.<br> * <br> * Implementors must be threadsafe.<br> * <br> ! * The <tt>SessionFactory</tt> is controlled by the following properties. ! * Properties may be either be <tt>System</tt> properties, properties ! * defined in a resource named <tt>/hibernate.properties</tt> in ! * the classpath or a <tt>java.util.Properties</tt> passed to ! * <tt>Configuration.buildSessionFactory()</tt><br> ! * <br> ! * <table> ! * <tr><td><b>property</b></td><td><b>meaning</b></td></tr> ! * <tr> ! * <td><tt>hibernate.dialect</tt></td> ! * <td>classname of <tt>net.sf.hibernate.sql.Dialect</tt> subclass</td> ! * </tr> ! * <tr> ! * <td><tt>hibernate.connection.provider_class</tt></td> ! * <td>classname of <tt>net.sf.hibernate.connection.ConnectionProvider</tt> ! * subclass (if not specified hueristics are used)</td> ! * </tr> ! * <tr><td><tt>hibernate.connection.username</tt></td><td>database username</td></tr> ! * <tr><td><tt>hibernate.connection.password</tt></td><td>database password</td></tr> ! * <tr> ! * <td><tt>hibernate.connection.url</tt></td> ! * <td>JDBC URL (when using <tt>java.sql.DriverManager</tt>)</td> ! * </tr> ! * <tr> ! * <td><tt>hibernate.connection.driver_class</tt></td> ! * <td>classname of JDBC driver</td> ! * </tr> ! * <tr> ! * <td><tt>hibernate.connection.isolation</tt></td> ! * <td>JDBC transaction isolation level (only when using ! * <tt>java.sql.DriverManager</tt>) ! * </td> ! * </tr> ! * <td><tt>hibernate.connection.pool_size</tt></td> ! * <td>the maximum size of the connection pool (only when using ! * <tt>java.sql.DriverManager</tt>) ! * </td> ! * </tr> ! * <tr> ! * <td><tt>hibernate.statement_cache.size</tt></td> ! * <td>the maximum size of the prepared statement cache (only when using ! * <tt>java.sql.DriverManager</tt>) ! * </td> ! * </tr> ! * <tr> ! * <td><tt>hibernate.connection.datasource</tt></td> ! * <td>databasource JNDI name (when using <tt>javax.sql.Datasource</tt>)</td> ! * </tr> ! * <tr> ! * <td><tt>hibernate.jndi.url</tt></td><td>JNDI <tt>InitialContext</tt> URL</td> ! * </tr> ! * <tr> ! * <td><tt>hibernate.jndi.class</tt></td><td>JNDI <tt>InitialContext</tt> classname</td> ! * </tr> ! * <tr> ! * <td><tt>hibernate.use_outer_join</tt></td> ! * <td>enable outer join fetching</td> ! * </tr> ! * <tr> ! * <td><tt>hibernate.jdbc.batch_size</tt></td> ! * <td>enable use of JDBC2 batch API for drivers which support it</td> ! * </tr> ! * <tr> ! * <td><tt>hibernate.jdbc.fetch_size</tt></td> ! * <td>set the JDBC fetch size</td> ! * </tr> ! * <tr> ! * <td><tt>hibernate.jdbc.use_scrollable_resultset</tt></td> ! * <td>enable use of JDBC2 scrollable resultsets (you only need this specify ! * this property when using user supplied connections)</td> ! * </tr> ! * <tr> ! * <td><tt>hibernate.default_schema</tt></td> ! * <td>use given schema name for unqualified tables (always optional)</td> ! * </tr> ! * <tr> ! * <td><tt>hibernate.session_factory_name</tt></td> ! * <td>If set, the factory attempts to bind this name to itself in the ! * JNDI context. This name is also used to support cross JVM <tt> ! * Session</tt> (de)serialization.</td> ! * </tr> ! * <tr> ! * <td><tt>hibernate.transaction.factory_class</tt></td> ! * <td>the factory to use for instantiating <tt>Transaction</tt>s. ! * (Defaults to <tt>JDBCTransactionFactory</tt>.)</td> ! * </tr> ! * <tr> ! * <td><tt>hibernate.query.imports</tt></td><td>query language package imports</td> ! * </tr> ! * <tr> ! * <td><tt>hibernate.query.substitutions</tt></td><td>query language token substitutions</td> ! * </tr> ! * </table> ! * * @see Session * @see net.sf.hibernate.cfg.Configuration * @see net.sf.hibernate.connection.ConnectionProvider --- 12,26 ---- /** ! * Creates <tt>Session</tt>s. Usually an application has a single <tt>SessionFactory</tt>. ! * Threads servicing client requests obtain <tt>Session</tt>s from the factory.<br> * <br> * Implementors must be threadsafe.<br> * <br> ! * <tt>SessionFactory</tt>s are immutable. The behaviour of a <tt>SessionFactory</tt> is ! * controlled by properties supplied at configuration time. These properties are defined ! * on <tt>Environment</tt>. ! * * @see Session + * @see net.sf.hibernate.cfg.Environment * @see net.sf.hibernate.cfg.Configuration * @see net.sf.hibernate.connection.ConnectionProvider |