You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Driver has the AddCar method, but not an AddVehicle method.
When executing code labelled as A and then the one labelled a B (for example, two different API calls), you produce the ORA-02292 error; but this happens with Oracle.
If executed both A in B (in the same API call, for example) the error does not appear.
A
var driver = new Driver();
_dbContext.Drivers.Add(driver);
await _dbContext.SaveChangesAsync();
var car = new Car();
driver.AddCar(car);
await _dbContext.SaveChangesAsync();
Thanks @javiercoll for reporting and the very detailed test case! That's much appreciated. I've opened bug 33557334 for the Oracle EF Core team to investigate.
Bug report
In the following scenario:
When executing code labelled as A and then the one labelled a B (for example, two different API calls), you produce the ORA-02292 error; but this happens with Oracle.
If executed both A in B (in the same API call, for example) the error does not appear.
A
B
Please refer to https://github.com/javiercoll/ORA-02292 readme file for more information
Project
Zip file with the project:
Ora02292.zip
In Github:
https://github.com/javiercoll/ORA-02292
The project is configured to be executed with Oracle or Sqlite, which you can set in the appsettings.json file:
Please refer to https://github.com/javiercoll/ORA-02292 readme file for more information
Stack traces
Provider and version information
EF Core version: Oracle.EntityFrameworkCore 5.0.11
Database provider: Oracle
Target framework: .NET 5.0
Operating system: Windows 10
IDE: Visual Studio 2019 16.11.5
The text was updated successfully, but these errors were encountered: