Author: hlship
Date: Thu Jun 14 19:18:00 2007
New Revision: 547489
URL: http://svn.apache.org/viewvc?view=rev&rev=547489
Log:
TAPESTRY-1566: Hibernate configuration documentation is out of date / broken
Modified:
tapestry/tapestry5/trunk/tapestry-hibernate/src/site/apt/conf.apt
Modified: tapestry/tapestry5/trunk/tapestry-hibernate/src/site/apt/conf.apt
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-hibernate/src/site/apt/conf.apt?view=diff&rev=547489&r1=547488&r2=547489
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-hibernate/src/site/apt/conf.apt (original)
+++ tapestry/tapestry5/trunk/tapestry-hibernate/src/site/apt/conf.apt Thu Jun
14 19:18:00 2007
@@ -29,11 +29,10 @@
Example:
+----+
- @Contribute("tapestry.hibernate.HibernateSessionSource")
- public void contributeEntityPackages(Configuration<String> configuration)
- {
- configuration.add("org.example.myapp.domain");
- }
+public void contributeHibernateSessionSource(Configuration<String>
configuration)
+{
+ configuration.add("org.example.myapp.domain");
+}
+----+
You may add as many packages in this manner as you wish. This option is most
often used when the entities themselves are contained in a library included