Exception:
ORA-21525: attribute number or (collection element at index) string violated its constraints
Cause: Attribute value or collection element value violated its constraint.
Action: Change the value of the attribute or collection element such that it meets its constraints. The constraints are specified as part of the attribute or collection element’s schema information.
Error reason:
When passing data to stored procedures in C #, the user-defined object of Oracle is used. However, when passing in, some obj fields will throw this exception if the length of the value finally passed in is greater than that of the type definition. For example, this time type number (3) was passed in 1100
as like as two peas, it will probably have other problems, and it will also throw out this exception, which is not exactly the same as this encounter, but as a reference for solving problems.
Read More:
- Java.sql.SQLException: ORA-02291: integrity constraint violated – par
- E11000 duplicate key error collection: *** index: _id_ dup key
- [Solved] Milvus Error: [ERROR][SERVER][TakeToEUse milvus.has_collection to verify whether the collection exists
- Android Studio Error: String index out of range 0 [How to Solve]
- [Solved] Pytorch loading model specified GPU card number error or failed to specify
- [Solved] VScode Error: build constraints exclude all Go files in syscall\js
- [Solved] Kafka Start Log Error: WARN Found a corrupted index file due to requirement failed: Corrupt index found
- [Solved] ERROR #42601 syntax error at or near “)“
- [Solved] URIError: Failed to decode param ‘/%3C%=%20BASE_URL%20%3Estatic/index.%3C%=%20VUE_APP_INDEX_CSS_HASH%20%3E.css’
- How to Solve Error: Element ‘dependency’ cannot have character [children], because the type’s content type is element-
- TypeError: db.collection is not a function
- MyBatis: Mapped Statements collection does not contain value for xxx
- [Solved] error“:“element click intercepted“,“message“:“element click intercepted“
- Mybatis Error: Result Maps collection already contains value
- [Solved] error: taking address of temporary array av_make_error_string((char[AV_ERROR_MAX_STRING_SI…
- JanusGraph Error: Unknown external index backend [How to Solve]
- [Solved] 01654 error: the index cannot be extended through 8
- [Solved] Arcgis Error: The number of points is less than required for feature
- How to Solve Error: “initializer element is not constant”
- [Solved] RuntimeError: each element in list of batch should be of equal size