Best code examples for Hibernate ORM HibernateException class (org.hibernate.HibernateException)

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Hibernate ORM HibernateException class.
You can now enable Codota on your own code to easily search and navigate your Java codebase.

Hibernate ORM HibernateException examples from Open Source projects
This code example shows how to use the following methods:
65:	throw new HibernateException(ex.getMessage()); 
Full Snippet Info
10
CodeRank
This code example shows how to use the following methods: getMessage
41:	super(cause != null ? cause.getMessage() : null, cause); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: getCause, getMessage
41:	import org.hibernate.dialect.lock.OptimisticEntityLockException; 
-
142:	return new DataAccessResourceFailureException(ex.getMessage(), ex); 
-
146:	return new InvalidDataAccessResourceUsageException(ex.getMessage() + "; SQL [" + jdbcEx.getSQL() + "]", ex); 
-
150:	return new org.springframework.dao.QueryTimeoutException(ex.getMessage() + "; SQL [" + jdbcEx.getSQL() + "]", ex); 
-
154:	return new CannotAcquireLockException(ex.getMessage() + "; SQL [" + jdbcEx.getSQL() + "]", ex); 
-
158:	return new PessimisticLockingFailureException(ex.getMessage() + "; SQL [" + jdbcEx.getSQL() + "]", ex); 
-
162:	return new DataIntegrityViolationException(ex.getMessage()  + "; SQL [" + jdbcEx.getSQL() + 
-
167:	return new DataIntegrityViolationException(ex.getMessage() + "; SQL [" + jdbcEx.getSQL() + "]", ex); 
-
178:	return new IncorrectResultSizeDataAccessException(ex.getMessage(), 1, ex); 
-
181:	return new DuplicateKeyException(ex.getMessage(), ex); 
-
184:	return new DataIntegrityViolationException(ex.getMessage(), ex); 
-
187:	return new InvalidDataAccessApiUsageException(ex.getMessage(), ex); 
-
190:	return new InvalidDataAccessApiUsageException(ex.getMessage(), ex); 
-
193:	return new InvalidDataAccessApiUsageException(ex.getMessage(), ex); 
-
211:	if (ex.getCause() instanceof LockAcquisitionException) { 
212:	return new CannotAcquireLockException(ex.getMessage(), ex.getCause()); 
-
214:	return new PessimisticLockingFailureException(ex.getMessage(), ex); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods:
This code example shows how to use the following methods:
37:	throw new HibernateException("Persistent storage of " + this.getClass().getName() + " corrupted, database contained string [" + s + "] which should be prefixed by: " + NOT_NULL_PREFIX); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: getMessage
41:	super(cause != null ? cause.getMessage() : null, cause); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
52:	throw new HibernateException("No local DataSource found for configuration - " + 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
32:	super(s); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods:
120:	throw new HibernateException("Couldn't clone BLOB contents", ex); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
25:	throw new HibernateException("Could not instantiate result class: " + instantiatedClass.getName()); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods:
116:	throw new HibernateException( 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods:
214:	throw new HibernateException( 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
33:	super( "Unknown access type [" + accessTypeName + "]" ); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
33:	super( message ); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
38:	super( s ); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
38:	super( s ); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
35:	super( s ); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
39:	super( s ); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
39:	super( s ); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
39:	throw new HibernateException( "unknown join type: "+joinType ); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
34:	super(message); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
50:	throw new HibernateException( "could not get handle to entity-name as interface : " + t ); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
61:	throw new HibernateException( "could not get handle to entity-name as interface : " + t ); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
63:	throw new HibernateException( "Unknown metadata source type value [" + value + "]" ); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
This code example shows how to use the following methods:
74:	throw new HibernateException( "could not get handle to entity-name as interface : " + t ); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
53:	throw new HibernateException( "Unable to convert string [" + string + "] to URL : " + e ); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
59:	throw new HibernateException( "[" + lockMode + "] not valid for [" + lockable.getEntityName() + "]" ); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
54:	throw new HibernateException( "Unable to locate named class " + string ); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
60:	if ( lockMode.lessThan( LockMode.OPTIMISTIC ) ) { 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
58:	throw new HibernateException( "[" + lockMode + "] not valid for [" + lockable.getEntityName() + "]" ); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
This code example shows how to use the following methods:
34:	import org.hibernate.envers.reader.AuditReaderImplementor; 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
This code example shows how to use the following methods:
105:	throw new HibernateException( 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
113:	throw new HibernateException( 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
100:	return list.get(0); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
46:	throw new HibernateException( "Unsupported property index " + i ); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
87:	throw new HibernateException( "Unable to resolve discriminator value [" + discriminatorValue + "] to entity name" ); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
This code example shows how to use the following methods:
This code example shows how to use the following methods:
81:	throw new HibernateException("Unable to convert string [" + string + "] to URI : " + e); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
This code example shows how to use the following methods:
39:	/** 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
This code example shows how to use the following methods:
This code example shows how to use the following methods:
207:	throw new HibernateException( "Unable to parse object name: " + qualifiedName ); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
87:	throw new HibernateException( "Could not locate specified tuplizer class [" + tuplizerClassName + "]" ); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
114:	EntityEntry e = persistenceContext.getEntry(owner); 
Full Snippet Info
7
CodeRank