Go for it +1 http://www.tomitribe.com - @AndyGeeDe - On a small screen device. On 22 Jun 2015 15:58, "Jonathan Gallimore" <jgallim...@tomitribe.com> wrote:
> +1 - Great idea. > > Jon > > On Mon, Jun 22, 2015 at 3:56 PM, Romain Manni-Bucau <rmannibu...@gmail.com > > > wrote: > > > Hi guys, > > > > wonder if we should start explaining the datasource creator feature and > > split properties by creator. Mixing them all looks like hard to > understand > > when some users will get an issue. > > > > wdyt? > > > > > > Romain Manni-Bucau > > @rmannibucau <https://twitter.com/rmannibucau> | Blog > > <http://rmannibucau.wordpress.com> | Github < > > https://github.com/rmannibucau> | > > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber > > <http://www.tomitribe.com> > > > > 2015-06-22 16:55 GMT+02:00 <andygumbre...@apache.org>: > > > > > Author: andygumbrecht > > > Date: Mon Jun 22 14:55:13 2015 > > > New Revision: 1686883 > > > > > > URL: http://svn.apache.org/r1686883 > > > Log: > > > CMS commit to tomee by andygumbrecht > > > > > > Modified: > > > tomee/site/trunk/content/datasource-config.mdtext > > > > > > Modified: tomee/site/trunk/content/datasource-config.mdtext > > > URL: > > > > > > http://svn.apache.org/viewvc/tomee/site/trunk/content/datasource-config.mdtext?rev=1686883&r1=1686882&r2=1686883&view=diff > > > > > > > > > ============================================================================== > > > --- tomee/site/trunk/content/datasource-config.mdtext (original) > > > +++ tomee/site/trunk/content/datasource-config.mdtext Mon Jun 22 > 14:55:13 > > > 2015 > > > @@ -4,6 +4,7 @@ A DataSource can be declared via xml in > > > > > > <Resource id="myDataSource" type="javax.sql.DataSource"> > > > accessToUnderlyingConnectionAllowed = false > > > + alternateUsernameAllowed = false > > > connectionProperties = > > > defaultAutoCommit = true > > > defaultReadOnly = > > > @@ -36,6 +37,7 @@ Alternatively, a DataSource can be decla > > > > > > myDataSource = new://Resource?type=javax.sql.DataSource > > > myDataSource.accessToUnderlyingConnectionAllowed = false > > > + myDataSource.alternateUsernameAllowed = false > > > myDataSource.connectionProperties = > > > myDataSource.defaultAutoCommit = true > > > myDataSource.defaultReadOnly = > > > @@ -81,7 +83,16 @@ See the [Common DataSource Configuration > > > <td>false</td> > > > <td> > > > If true the raw physical connection to the database can be > > > -accessed using the following construct: > > > +accessed > > > +</td> > > > +</tr> > > > +</tr> > > > +<tr> > > > + <td><a > > > href="#alternateUsernameAllowed">alternateUsernameAllowed</a></td> > > > + <td>boolean</td> > > > + <td>false</td> > > > + <td> > > > +If true allow an alternate username and password to be specified on > the > > > connection, rather than those specified in the DataSource definition.. > > > </td> > > > </tr> > > > <tr> > > > > > > > > > > > > > > > -- > Jonathan Gallimore > http://twitter.com/jongallimore > http://www.tomitribe.com >