You would use java.sql.DatabaseMetaData which is exactly what Hibernate is
using to detemine the dialect to use.
And this is not a help forum, this is a mailing list to discuss the
development of Hibernate.
On Friday, April 01, 2011, at 10:12 am, Tom Muldoon wrote:
I currently do not specify the hibernate.dialect in my configuration
(which
means Hibernate must be determining the dialect based upon my url, right?)
but even if I did, I don't know how to get the property value at runtime.
Whatever the case, what's the best way to determine the underlying
database at runtime?
Thanks in advance, Tom
_______________________________________________
hibernate-dev mailing list
hibernate-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
---
Steve Ebersole <steve(a)hibernate.org>
http://hibernate.org