Closed dfrese closed 10 months ago
I implemented something matching the error messages I got from Oracle 19c EE, and will try to make a pull request.
I extracted the names 1:1 as Oracle returns them, which usually does not match the names generated by Ecto:
Oracle always adds the Schema/User, and also all uppercase. That's inconvenient, but I did not want to implement something opinionated. At least this works if the constraint names are explicitly given via the name:
option to the Ecto.Changeset functions, and optionally match: :suffix
.
Check stage branch
Constraints are currently not extracted from Oracle-Errors.
in `jamdb_oracle_query.ex':
So
unique_constraint
,no_assoc_constraint
,foreign_key_constraint
andcheck_constraint
fromEcto.Changeset
don't work.