Re: What is Dialect

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: Adarsh Sharma <adarsh(dot)sharma(at)orkash(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: What is Dialect
Date: 2010-11-24 00:01:07
Message-ID: 4CEC55C3.8060208@postnewspapers.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 11/22/2010 03:32 PM, Adarsh Sharma wrote:
> Dear all,
>
> I am reading about Dialects of different databases. Yet I can't
> understand what is the need of dialect in Postgres or any other like
> Hibernate uses Dialect of all Databases for ORM.
> What is it &
> How can we create our own Dialect ?

If you have to ask that question, you probably shouldn't do it. Seriously.

Perhaps you can explain *why* you want to make a new dialect in a bit
more detail? What you are trying to achieve? Most things you might want
to do via the dialect are better done with a UserType or by fixing your
schema.

BTW, there is already a PostgreSQL dialect in Hibernate. It's
automatically selected when Hibernate is used with PostgreSQL.

--
Craig Ringer

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2010-11-24 03:42:39 Re: Passing a String with special character as an input
Previous Message akp geek 2010-11-23 21:11:36 Re: Problem with replace function in postgres