Fixed typos, HB-1022
git-svn-id: https://svn.jboss.org/repos/hibernate/trunk/Hibernate3/doc@3941 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
7e06205d10
commit
fd76bf3ad2
|
@ -41,14 +41,14 @@
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Never copy anything else into the global classloader path in Tomcat, or you
|
Never copy anything else into the global classloader path in Tomcat, or you
|
||||||
will get problems with various tools, including Log4j, commons-logging and
|
will get problems with various tools, including Log4j, commons-logging and
|
||||||
others. Always us the context classpath for each web application, that is,
|
others. Always use the context classpath for each web application, that is,
|
||||||
copy libraries to <literal>WEB-INF/lib</literal> and your own classes and
|
copy libraries to <literal>WEB-INF/lib</literal> and your own classes and
|
||||||
configuration/property files to <literal>WEB-INF/classes</literal>. Both
|
configuration/property files to <literal>WEB-INF/classes</literal>. Both
|
||||||
directories are in the context level classpath by default.
|
directories are in the context level classpath by default.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
|
@ -163,7 +163,7 @@
|
||||||
Hibernate. This means Tomcat will provide pooled JDBC connections (using its
|
Hibernate. This means Tomcat will provide pooled JDBC connections (using its
|
||||||
builtin DBCP pooling feature), Hibernate requests theses connections through
|
builtin DBCP pooling feature), Hibernate requests theses connections through
|
||||||
JNDI. Tomcat binds the connection pool to JNDI, we add a resource declaration
|
JNDI. Tomcat binds the connection pool to JNDI, we add a resource declaration
|
||||||
to Tomcats main configuration file, <literal>TOMCAT/conf/server.xml</literal>:
|
to Tomcat's main configuration file, <literal>TOMCAT/conf/server.xml</literal>:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<programlisting><![CDATA[<Context path="/quickstart" docBase="quickstart">
|
<programlisting><![CDATA[<Context path="/quickstart" docBase="quickstart">
|
||||||
|
@ -467,7 +467,7 @@ Indexes: cat_pkey primary key btree (cat_id)]]></programlisting>
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
A <literal>SessionFactory</literal> is usually only build done once,
|
A <literal>SessionFactory</literal> is usually only build once,
|
||||||
e.g. at startup with a <emphasis>load-on-startup</emphasis> servlet.
|
e.g. at startup with a <emphasis>load-on-startup</emphasis> servlet.
|
||||||
This also means you should not keep it in an instance variable in your
|
This also means you should not keep it in an instance variable in your
|
||||||
servlets, but in some other location. We need some kind of
|
servlets, but in some other location. We need some kind of
|
||||||
|
|
Loading…
Reference in New Issue