Unquoted aliases in SELECT … FROM DUAL caused ORA-00904 because Oracle uppercases bare identifiers. All aliases, ON condition, UPDATE SET, and INSERT/VALUES column references are now double-quoted to match the case-sensitive names EF Core migrations produce. NVARCHAR2 columns additionally required an explicit CAST because ODP.NET cannot infer bind parameter types from a FROM DUAL subquery and defaults to VARCHAR2. CAST(:p AS NVARCHAR2(n)) with length extracted from the EF column type string resolves the datatype mismatch. Both fixes are required — neither alone produces working Oracle persistence. All other providers are unchanged. fixes Fixes #7755 |
||
|---|---|---|
| .. | ||
| Abstractions | ||
| Contracts | ||
| Converters | ||
| EntityHandlers | ||
| Extensions | ||
| AssemblyInfo.cs | ||
| CombinedPersistenceShellFeatureBase.cs | ||
| Constants.cs | ||
| CustomDbContextOptionsExtensionInfo.cs | ||
| DbExceptionClassifier.cs | ||
| DbSchemaAwareMigrationAssembly.cs | ||
| DbUpdateExceptionContext.cs | ||
| Elsa.Persistence.EFCore.Common.csproj | ||
| Elsa.Persistence.EFCore.Common.csproj.DotSettings | ||
| ElsaDbContextBase.cs | ||
| ElsaDbContextOptions.cs | ||
| ElsaDbContextOptionsExtension.cs | ||
| ElsaDbContextOptionsExtensions.cs | ||
| EntityStore.cs | ||
| FodyWeavers.xml | ||
| JsonValueComparer.cs | ||
| JsonValueConverterHelper.cs | ||
| MigrationOptions.cs | ||
| PersistenceFeatureBase.cs | ||
| PersistenceShellFeatureBase.cs | ||
| RunMigrationsHostedService.cs | ||
| RunMigrationsStartupTask.cs | ||
| SharedPersistenceSettings.cs | ||
| Store.cs | ||
| TenantAwareDbContextFactory.cs | ||