SchemaVerify is ready (with minor differences from the Hibernate)
SELF NOTE:
NH ValidateSchema has some difference implementation from H
/*NH Different Implementation :
TableMetadata tableInfo =
databaseMetadata.getTableMetadata(
table.getName(),
( table.getSchema() == null ) ? defaultSchema :
table.getSchema(),
( table.getCatalog() == null ) ? defaultCatalog :
table.getCatalog(),
table.isQuoted());*/
ITableMetadata tableInfo =
databaseMetadata.GetTableMetadata(
table.Name,
table.Schema??defaultSchema,
table.Catalog,//??defaultCatalog,
table.IsQuoted);
also
NHibernate/Mapping/Table.cs
In ValidateColumns method
//TODO: Add new method to ColumnMetadata :getTypeCode
bool typesMatch = column.GetSqlType(dialect,
mapping).ToLower()
.StartsWith(columnInfo.TypeName.ToLower())
; //|| columnInfo.get() ==
column.GetSqlTypeCode(mapping);
attention needed (probably tomorrow).
On Fri, Nov 14, 2008 at 2:51 PM, Tuna Toksöz <[EMAIL PROTECTED]> wrote:
> Ok, sure!
>
>
> On Fri, Nov 14, 2008 at 2:47 PM, Fabio Maulo <[EMAIL PROTECTED]> wrote:
>
>> 2008/11/14 Tuna Toksöz <[EMAIL PROTECTED]>
>>
>>> OK, creating Jira and start working on this after NH-1027
>>
>>
>> If you are going to change Core classes remember to check our
>> implementation with Hibernate implementation and than comment the difference
>> as:
>> //NH Different Implementation : ... what if is not so clear .....
>> //NH Different behavior : ... which and why .....
>>
>> We need it... believe me
>>
>> --
>> Fabio Maulo
>>
>
>
>
> --
> Tuna Toksöz
>
> Typos included to enhance the readers attention!
>
--
Tuna Toksöz
Typos included to enhance the readers attention!