We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When the /api/offenders/ endpoint is called, an OFFENDERS record should be created in persistent storage.
/api/offenders/
OFFENDERS
The system fails to create the OFFENDERS record...
... Hibernate: insert into offenders (create_datetime, create_user_id, modify_datetime, modify_user_id, audit_additional_info, audit_client_ip_address, audit_client_user_id, audit_client_workstation_name, audit_module_name, audit_timestamp, audit_user_id, birth_date, caseload_type, create_date, race_code, first_name, sex_code, id_source_code, last_name, last_name_alpha_key, last_name_key, last_name_soundex, middle_name, middle_name_2, name_sequence, offender_id_display, root_offender_id, suffix, title, offender_id) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ... org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement at org.springframework.orm.jpa.vendor.HibernateJpaDialect.convertHibernateAccessException(HibernateJpaDialect.java:276) ... Caused by: org.hsqldb.HsqlException: integrity constraint violation: NOT NULL check constraint; SYS_CT_10479 table: OFFENDERS column: CREATE_USER_ID at org.hsqldb.error.Error.error(Unknown Source) at org.hsqldb.Table.enforceRowConstraints(Unknown Source) at org.hsqldb.Table.generateAndCheckData(Unknown Source) at org.hsqldb.Table.insertSingleRow(Unknown Source) at org.hsqldb.StatementDML.insertSingleRow(Unknown Source) at org.hsqldb.StatementInsert.getResult(Unknown Source) at org.hsqldb.StatementDMQL.execute(Unknown Source) at org.hsqldb.Session.executeCompiledStatement(Unknown Source) at org.hsqldb.Session.execute(Unknown Source) ... 175 common frames omitted
The DDL for the CREATE_USER_ID column is...
CREATE_USER_ID
... CREATE_USER_ID VARCHAR2(40) DEFAULT USER NOT NULL ...
OffenderResource#createPrisoner
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected Behavior
When the
/api/offenders/
endpoint is called, anOFFENDERS
record should be created in persistent storage.Current Behavior
The system fails to create the
OFFENDERS
record...Context
The DDL for the
CREATE_USER_ID
column is...Steps to Reproduce
/api/offenders/
endpoint (see alsoOffenderResource#createPrisoner
).The text was updated successfully, but these errors were encountered: