Prev | Current Page 785 | Next

Frank Zammetti

"Practical DWR 2 Projects"

hibernate.dialect.HSQLDialect
thread
true
update


CHAPTER 9 n TIMEKEEPER: DWR EVEN MAKES PROJECT MANAGEMENT FUN! 467



While the ins and outs of configuring Hibernate are largely out of the scope of this book,
it??™s helpful to go over the basics. The first four elements, those with names beginning with
connection, mimic the JDBC connection parameters you??™d need to connect to any database
via JDBC.
Following that is configuration of connection pooling via the connection.pool_size
property, which Hibernate can provide for you (or it can be provided by another library and
Hibernate can make use of it). Here we are in fact using Hibernate??™s built-in connection pooling,
and we??™re telling Hibernate to allow for three connections in this pool. This can then be
adjusted as necessary for your user load.


Pages:
773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797