NHibernate
  1. NHibernate
  2. NH-1992

BasicFormatter throws exceptions for certain types of data

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0.Alpha1
    • Fix Version/s: 2.1.1.GA
    • Component/s: Core
    • Labels:
      None

      Description

      I have an update query being generated which looks a little like this:

      UPDATE Table Set Column = @p0; @p0 = 'Some data with an embedded quote in parentheses like this (abc'def)'

      The BasicFormatter chokes while parsing the parentheses and embedded quote. I've attached a simple test case which demonstrates the failure and a simple fix to alleviate the problem.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              Lee Henson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Who's Looking?