From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | Tom Dunstan <pgsql(at)tomd(dot)cc> |
Cc: | Simon Riggs <simon(at)2ndquadrant(dot)com>, Diego Pires Plentz <diego(dot)pires(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: [hibernate-team] PostgreSQLDialect |
Date: | 2007-11-12 14:51:47 |
Message-ID: | 47386883.70606@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Tom Dunstan wrote:
> On Nov 12, 2007 2:13 PM, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
>
>>> Oh, that's nice. Unfortunately, though. it only seems to support major
>>> version number differentiation as an int. Apparently the idea that you
>>> might have a version number like 8.3 didn't occur to whoever wrote it,
>>> although to be fair it looks like the only implementation that
>>> actually uses it is Oracle, where that assumption probably holds.
>>> Probably wouldn't be that hard to hack to our purposes though...
>>>
>> 800, 801 ...
>>
>
> Nice try :), but as I read the javadoc for DialectFactory it seems to
> suggest that hibernate gets the major number from our JDBC driver,
> which dutifully reports it as 8. I doubt that we're suggesting hacking
> the JDBC driver to lie just to get around this wrinkle when the
> obvious solution is to submit a patch to hibernate that makes it pass
> both major and minor numbers through, and the Oracle code could
> happily ignore the latter.
>
>
>
OK.
It's probably time to take this discussion off -hackers, I think.
cheers
andrew
From | Date | Subject | |
---|---|---|---|
Next Message | Simon Riggs | 2007-11-12 15:00:36 | Simplifying Text Search |
Previous Message | Tom Dunstan | 2007-11-12 14:35:40 | Re: [hibernate-team] PostgreSQLDialect |