[jboss-as7-dev] Status of default datasource name?

Max Rydahl Andersen max.andersen at redhat.com
Mon Jun 13 11:48:31 EDT 2011


> On Mon, Jun 13, 2011 at 10:20 AM, Max Rydahl Andersen <max.andersen at redhat.com> wrote:
> If the binding will break anyway and Jesper thinks defaultDS means it signals AS requires
> a datasource to work how about creating a default datasource bound to ExampleDS ?
> 
> I really don't like H2DS since its named to a specific database type/name.
> 
> Don't you need to know which database/dialect you're using in order for hibernate to function properly anyway? In which case this might actually be *useful* information? 

No, hibernate just autodetects by querying the database what is running on the "other" side.

/max
http://about.me/maxandersen






More information about the jboss-as7-dev mailing list