trait PostgreSqlConstraintMessage extends DbConstraintMessage with QuereaseProvider
- Self Type
- PostgreSqlConstraintMessage with I18n with Loggable
- Source
- DbConstraintMessage.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PostgreSqlConstraintMessage
- QuereaseProvider
- DbConstraintMessage
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- case class ConstraintViolationInfo(dbErrorCode: String, dbMessagePattern: String, genericNoDetailsMessage: String, genericMessage: String) extends Product with Serializable
Abstract Value Members
-
abstract
def
initQuerease: AppQuerease
Override this method in subclass to initialize
Override this method in subclass to initialize
qe
- Attributes
- protected
- Definition Classes
- QuereaseProvider
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val Ck: (PostgreSqlConstraintMessage.this)#ConstraintViolationInfo
-
val
CustomDbBusinessException: (PostgreSqlConstraintMessage.this)#ConstraintViolationInfo
Code "235BX" is recognized and handled here and therefore can be used to raise custom business exceptions from custom db functions
- val FkDel: (PostgreSqlConstraintMessage.this)#ConstraintViolationInfo
- val FkIns: (PostgreSqlConstraintMessage.this)#ConstraintViolationInfo
- val Nn: (PostgreSqlConstraintMessage.this)#ConstraintViolationInfo
- val Uk: (PostgreSqlConstraintMessage.this)#ConstraintViolationInfo
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val constraintTranslationMap: Map[String, Any]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
friendlyConstraintErrorMessage[T](viewDef: ViewDef, f: ⇒ T)(implicit locale: Locale): T
- Definition Classes
- PostgreSqlConstraintMessage → DbConstraintMessage
-
def
friendlyConstraintErrorMessage[T](f: ⇒ T)(implicit locale: Locale): T
- Definition Classes
- DbConstraintMessage
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getConstraintTranslation(constraint: String, operation: String = "delete"): Option[String]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
initQuereaseIo: AppQuereaseIo[Dto]
- Attributes
- protected
- Definition Classes
- QuereaseProvider
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def postgreSqlConstraintGenericMessage(violation: (PostgreSqlConstraintMessage.this)#ConstraintViolationInfo, details: String)(implicit locale: Locale): String
-
implicit final
lazy val
qe: AppQuerease
- Definition Classes
- QuereaseProvider
-
implicit final
lazy val
qio: AppQuereaseIo[Dto]
- Definition Classes
- QuereaseProvider
- def raiseFriendlyConstraintErrorMessage(exception: Throwable, sqlCause: SQLException, viewDef: ViewDef, tableName: String)(implicit locale: Locale): Nothing
- def raiseFriendlyConstraintErrorMessage(exception: Throwable, sqlCause: SQLException, viewDef: ViewDef)(implicit locale: Locale): Nothing
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )