Long string in JetDriver

Description

NHibernate doesn't create field of type Memo in Access Database
and ignores using Type="StringClob" in mapping of properties.
We have problem, if we want to store the string with length more than 255.

File NHibernate.JetDriver\JetDialect.cs.
To my mind the right way is to use the next description:

RegisterColumnType(DbType.AnsiString, 255, "TEXT($1)");
RegisterColumnType(DbType.String, 1073741823, "MEMO");

instead of

RegisterColumnType(DbType.AnsiString, 255, "TEXT($1)");
RegisterColumnType(DbType.AnsiString, 1073741823, "TEXT($1)");
RegisterColumnType(DbType.AnsiString, 1073741823, "TEXT");

Environment

None

Activity

Show:

Fabio Maulo 
August 18, 2008 at 1:24 PM

Duplicate

Details

Assignee

Reporter

Components

Affects versions

Priority

Who's Looking?

Open Who's Looking?
Created August 18, 2008 at 6:30 AM
Updated August 20, 2008 at 1:31 PM
Resolved August 18, 2008 at 1:24 PM
Who's Looking?