You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by vi...@apache.org on 2012/04/28 05:02:16 UTC
svn commit: r1331664 -
/openejb/site/trunk/content/Configuring-in-tomee.mdtext
Author: vishwanathk
Date: Sat Apr 28 03:02:15 2012
New Revision: 1331664
URL: http://svn.apache.org/viewvc?rev=1331664&view=rev
Log:
CMS commit to openejb by vishwanathk
Modified:
openejb/site/trunk/content/Configuring-in-tomee.mdtext
Modified: openejb/site/trunk/content/Configuring-in-tomee.mdtext
URL: http://svn.apache.org/viewvc/openejb/site/trunk/content/Configuring-in-tomee.mdtext?rev=1331664&r1=1331663&r2=1331664&view=diff
==============================================================================
--- openejb/site/trunk/content/Configuring-in-tomee.mdtext (original)
+++ openejb/site/trunk/content/Configuring-in-tomee.mdtext Sat Apr 28 03:02:15 2012
@@ -29,14 +29,13 @@ For example,
is injected with the following resource:
-<code>
-<Resource id="moviesDatabase" type="DataSource">
- JdbcDriver org.hsqldb.jdbcDriver
- JdbcUrl jdbc:hsqldb:file:data/hsqldb/hsqldb
- UserName sa
- Password
- JtaManaged true
-</Resource>
-</code>
+
+ <Resource id="moviesDatabase" type="DataSource">
+ JdbcDriver org.hsqldb.jdbcDriver
+ JdbcUrl jdbc:mysql:localhost:3306/moviesdb
+ UserName sa
+ Password secret
+ JtaManaged true
+ </Resource>
For more on how to configure, read through [configuring-datasources](/configuring-datasources.html), [containers-and-resources](containers-and-resources.html) docs.
\ No newline at end of file