Closed troglas closed 4 months ago
You should use OracleSQLCompatibility.DatabaseVersion19: https://docs.oracle.com/en/database/oracle/oracle-database/23/odpnt/EFCoreAPI.html#GUID-62B5F127-80BB-4047-8885-503627A50B5F
services.AddDbContextFactory<MyDbContext>(optionsBuilder => optionsBuilder
.UseOracle(connectionString, opt =>
{
opt.UseOracleSQLCompatibility(OracleSQLCompatibility.DatabaseVersion19);
}));
This is the same issue as #377
In Oracle.EntityFrameworkCore 8.23.40 the following query fails using 19c
It gets translated to
Then the result is:
Same query applied on 8.21.140 gives
which works properly on 19c