Issue Details (XML | Word | Printable)

Key: HHH-2300
Type: Patch Patch
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Thomas Mueller
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Hibernate Core

Updated dialect for H2 database engine

Created: 10/Dec/06 02:11 PM   Updated: 19/Jan/07 09:43 AM
Component/s: core
Affects Version/s: 3.2.1
Fix Version/s: 3.2.2

Time Tracking:
Not Specified

File Attachments: 1. Java Source File H2Dialect.java (14 kB)

Environment: H2 database engine


 Description  « Hide
Unfortunately, the column name of an information-schema table changed in the H2 database. Here is a new version of the dialect.

 All   Comments   Work Log   Change History   FishEye      Sort Order: Ascending order - Click to sort in descending order
Max Rydahl Andersen added a comment - 12/Dec/06 09:42 AM
ok - a bit of a hack, but i guess ok.

Two other differences in here though:

        registerColumnType(Types.BIT, "bit");
        registerColumnType(Types.CHAR, "char($l)");

was before:

        registerColumnType(Types.BIT, "boolean");
        registerColumnType(Types.CHAR, "varchar($l)");

any reasoning for this ?

Thomas Mueller added a comment - 12/Dec/06 04:27 PM
Hi,

I thought there was a reason, but now I checked my mail and found out that

        registerColumnType(Types.BIT, "boolean");
        registerColumnType(Types.CHAR, "varchar($l)");

should stay like this. Sorry...

Thomas

Max Rydahl Andersen added a comment - 19/Jan/07 09:43 AM
3.2/trunk