TypeHandlers for "System.Nullable(Of" fails with custom types
-------------------------------------------------------------

         Key: IBATISNET-137
         URL: http://issues.apache.org/jira/browse/IBATISNET-137
     Project: iBatis for .NET
        Type: Bug
  Components: DataMapper  
    Versions: DataMapper 1.2.1    
    Reporter: Michael Schall


<typeHandler
     type="System.Nullable`1[[ATG.Money, ATG.Money]]" dbType="Currency" 
callback="ATG.Database.TypeHandlers.NullableMoneyTypeHandlerCallback, 
ATG.Database"/>

This fails inside the function SplitTypeAndAssemblyNames.  The function
simply splits on the ',' to find the dll to load.  If I change this
function to check if it is a generic type string it works fine.

     if (typeAssemblyIndex < 0 || originalTypeName.Contains("`1[["))

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to