Hi,
I have finished up a document and a patch for Dialect Registration
mechanism, and I posted them as an attachment to HHH-2933 which I think
was a related topic.
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2933
I have reached this design after trying to make it easy for users to
integrate optional or third-party dialects into their applications.
It might be a bit different from what you had had in your mind...
Hope it helps,
Tomoto
On Sat, 20 Sep 2008 02:27:42 +0900
Tomoto Shimizu Washio <tomoto(a)kh.rim.or.jp> wrote:
Hi Steve,
On Thu, 18 Sep 2008 09:02:39 -0500
Steve Ebersole <steve(a)hibernate.org> wrote:
> Dialect "registration" in DialectFactory would be fantastic. It was
> planned from the get-go, but I never had a chance to circle back around
> to it. Its not all that difficult. But we should agree on a basic
> format for the externalized definitions.
I have a design where each dialect implementation knows the database
name and the version it can be applied to, and users just need to
enumerate the dialect class names in the configuration file to register
them. If you were interested in this idea, I could write down the
design sketch and/or the code and post them to this ML or JIRA.
> Like Chris said, we need to do an "extras" module anyway at some point.
> So let us know if you'd like this Dialect added there when we do.
I appreciate your offer. We will decide when the module comes.
Possibly we should not move the dialect to "extras" after it was
released in jp.co.hitachi package and users started to use it.
Thanks,
Tomoto
> -
>
> Steve Ebersole
> Project Lead
>
http://hibernate.org
> steve(a)hibernate.org
>
> Principal Software Engineer
> JBoss, a division of Red Hat
>
http://jboss.com
>
http://redhat.com
> steve.ebersole(a)jboss.com
> steve.ebersole(a)redhat.com