mirror of
https://github.com/corda/corda.git
synced 2024-12-27 00:21:12 +00:00
33e45eef4a
* [CORDA-1297] Columns nullability (#3112)
JPA/Hibernate entities need to impose the correct NULL/NOT NULL constraints on the database - whatever these correct values actually are.
API change: net.corda.core.schemas.PersistentStateRef fields (index and txId) are now non-nullable. Rationale: The fields were always effectively non-nullable - values were set from non-nullable fields of other objects. The class is used in context of database table Primary Key of for other entities and a database already imposes those columns as non-nullable (even if JPA annotation nullable=false was absent).
(cherry picked from commit
|
||
---|---|---|
.. | ||
dependency-checker | ||
api-current.txt | ||
check-api-changes.sh | ||
README.md |
!! DO NOT MODIFY THE API FILE IN THIS DIRECTORY !!
The api-current.txt
file contains a summary of Corda's current public APIs,
as generated by the api-scanner
Gradle plugin. (See here for a detailed description of this plugin.) It will be regenerated and the copy in this repository updated by the Release Manager with
each new Corda release. It will not be modified otherwise except under special circumstances that will require extra approval.
Deleting or changing the existing Corda APIs listed in api-current.txt
may
break developers' CorDapps in the next Corda release! Please remember that we
have committed to API Stability for CorDapps.