mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
commit 20152e16891582f8ff466a93ec2cf01871824d6d Author: Rob Bygrave <robin.bygrave@gmail.com> Date: Tue Feb 27 20:59:51 2024 +1300 #3341 Update DatabaseConfig for fluid style + javadoc commit1c495a7384Author: Roland Praml <roland.praml@foconis.de> Date: Mon Feb 26 10:25:42 2024 +0100 Fix: Compile errors commit574876b758Merge:df7b0487777634fc3eAuthor: Roland Praml <roland.praml@foconis.de> Date: Fri Feb 23 16:16:39 2024 +0100 Merge branch 'master-rob' into FOCONIS-string-length-validation commitdf7b04877dAuthor: Rob Bygrave <robin.bygrave@gmail.com> Date: Mon Jun 26 21:16:32 2023 +1200 #3121 BindMaxLength validation At deploy time derive a BindMaxLength property to use per BeanProperty commit4683877e0bMerge:9a4b9d4bed0020ab8cAuthor: Rob Bygrave <robin.bygrave@gmail.com> Date: Fri Jun 23 16:51:34 2023 +1200 Merge branch 'string-length-validation' of github.com:FOCONIS/ebean into FOCONIS-string-length-validation commitd0020ab8ceAuthor: Roland Praml <roland.praml@foconis.de> Date: Tue Jun 20 14:47:20 2023 +0200 Length validation less invasive commit9b3b8ad46aAuthor: Roland Praml <roland.praml@foconis.de> Date: Tue Jun 20 13:03:04 2023 +0200 extended DataBind, so that it could return the last bound object commitca3c02bc1cAuthor: Roland Praml <roland.praml@foconis.de> Date: Mon Jun 19 09:52:52 2023 +0200 Failing test for SqlServer
25 lines
560 B
Java
25 lines
560 B
Java
package io.ebean;
|
|
|
|
import jakarta.persistence.PersistenceException;
|
|
|
|
/**
|
|
* Thrown when a foreign key constraint is enforced or a field is too large.
|
|
*/
|
|
public class DataIntegrityException extends PersistenceException {
|
|
private static final long serialVersionUID = -6740171949170180970L;
|
|
|
|
/**
|
|
* Create with a message and cause.
|
|
*/
|
|
public DataIntegrityException(String message, Throwable cause) {
|
|
super(message, cause);
|
|
}
|
|
|
|
/**
|
|
* Create with message only.
|
|
*/
|
|
public DataIntegrityException(String message) {
|
|
super(message);
|
|
}
|
|
}
|