Best code examples for Hibernate ORM SoftLock class (org.hibernate.cache.spi.access.SoftLock)

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

Hibernate ORM SoftLock examples from Open Source projects
This code example shows how to use the following methods: equals
 
		/** 
		 * {@inheritDoc} 
		 */ 
		public boolean isUnlockable(SoftLock lock) { 
			return equals( lock ); 
		} 
 
		/** 
		 * {@inheritDoc} 
		 */ 
		@Override 
		public boolean equals(Object o) { 
			if ( o == this ) { 
				return true; 
			} 
			else if ( o instanceof Lock ) { 
				return ( lockId == ( (Lock) o ).lockId ) && sourceUuid.equals( ( (Lock) o ).sourceUuid ); 
			} 
			else { 
Full Snippet Info
4
CodeRank