Re: [hibernate-dev] Dialect Registration

2008-09-22 Thread Steve Ebersole
Nice work Tomoto.  I responded on the same case to keep the discussion
together...

-  

Steve Ebersole
Project Lead
http://hibernate.org
[EMAIL PROTECTED]

Principal Software Engineer
JBoss, a division of Red Hat
http://jboss.com
http://redhat.com
[EMAIL PROTECTED]
[EMAIL PROTECTED]


On Mon, 2008-09-22 at 03:58 +0900, Tomoto Shimizu Washio wrote:
 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 [EMAIL PROTECTED] wrote:
 
  Hi Steve,
  
  On Thu, 18 Sep 2008 09:02:39 -0500
  Steve Ebersole [EMAIL PROTECTED] 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
   [EMAIL PROTECTED]
   
   Principal Software Engineer
   JBoss, a division of Red Hat
   http://jboss.com
   http://redhat.com
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]
 
 ___
 hibernate-dev mailing list
 hibernate-dev@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/hibernate-dev

___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev


[hibernate-dev] Dialect Registration

2008-09-21 Thread Tomoto Shimizu Washio
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 [EMAIL PROTECTED] wrote:

 Hi Steve,
 
 On Thu, 18 Sep 2008 09:02:39 -0500
 Steve Ebersole [EMAIL PROTECTED] 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
  [EMAIL PROTECTED]
  
  Principal Software Engineer
  JBoss, a division of Red Hat
  http://jboss.com
  http://redhat.com
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]

___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev