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

Max Rydahl Andersen max.andersen at redhat.com
Mon Jun 13 12:35:29 EDT 2011


On Jun 13, 2011, at 18:27, Lincoln Baxter, III wrote:

> Good to know. I will remove the dialect from Forge.

note, for stuff that would like to run *without* having to connect then it is very much relevant.

i.e. in the case of your production DB not being available but you would still like to generate schemas/generate docs/reverse engineer existing pojos etc.

/max
> 
> On Mon, Jun 13, 2011 at 11:48 AM, Max Rydahl Andersen <max.andersen at redhat.com> wrote:
> > 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
> 
> 
> 
> 
> 
> 
> -- 
> Lincoln Baxter, III
> http://ocpsoft.com
> http://scrumshark.com
> "Keep it Simple"

/max
http://about.me/maxandersen






More information about the jboss-as7-dev mailing list