FileDocCategorySizeDatePackage
AbstractLockHintTest.javaAPI DocHibernate 3.2.51883Tue Jan 23 09:31:14 GMT 2007org.hibernate.test.dialect.unit.lockhint

AbstractLockHintTest

public abstract class AbstractLockHintTest extends org.hibernate.junit.UnitTestCase
{@inheritDoc}
author
Steve Ebersole

Fields Summary
private org.hibernate.dialect.Dialect
dialect
Constructors Summary
public AbstractLockHintTest(String string)

		super( string );
	
Methods Summary
protected abstract org.hibernate.dialect.DialectgetDialectUnderTest()

protected abstract java.lang.StringgetLockHintUsed()

protected voidsetUp()

		super.setUp();
		this.dialect = getDialectUnderTest();
	
protected voidtearDown()

		this.dialect = null;
		super.tearDown();
	
public voidtestBasicLocking()

		new SyntaxChecker( "select xyz from ABC $HOLDER$", "a" ).verify();
		new SyntaxChecker( "select xyz from ABC $HOLDER$ join DEF d", "a" ).verify();
		new SyntaxChecker( "select xyz from ABC $HOLDER$, DEF d", "a" ).verify();