Marshmallow Demos GettingStarted Error

Issue #54 resolved
sutao dai created an issue

I had test the GettingStarted demo use SQL Server 2008, The following error occurred:

  1. line 65 at file Spring.Persistence.SQL.Generators.MSSQL, need change to the following: Result := 'SELECT CAST(SCOPE_IDENTITY() AS BIGINT);';
  2. When close the Demo, exception happened: Project GettingStarted.exe raised exception class $C0000005 with message 'access violation at 0x0063710b: read of address 0x00000008'.

Comments (5)

  1. Stefan Glienke repo owner

    Did you remove the line:

    FConnection.AutoFreeConnection := True;
    

    when you changed the code to using TMSSQLConnectionAdapter and passing some TADOConnection? Because that most likely is the cause of the AV you get.

  2. Log in to comment