org.hibernate.jdbc

Class Expectations


public class Expectations
extends java.lang.Object

Holds various often used Expectation definitions.
Author:
Steve Ebersole

Nested Class Summary

static class
Expectations.BasicExpectation
static class
Expectations.BasicParamExpectation

Field Summary

static Expectation
BASIC
static Expectation
NONE
static Expectation
PARAM
static int
USUAL_EXPECTED_COUNT
static int
USUAL_PARAM_POSITION

Method Summary

static Expectation
appropriateExpectation(ExecuteUpdateResultCheckStyle style)

Field Details

BASIC

public static final Expectation BASIC

NONE

public static final Expectation NONE

PARAM

public static final Expectation PARAM

USUAL_EXPECTED_COUNT

public static final int USUAL_EXPECTED_COUNT
Field Value:
1

USUAL_PARAM_POSITION

public static final int USUAL_PARAM_POSITION
Field Value:
1

Method Details

appropriateExpectation

public static Expectation appropriateExpectation(ExecuteUpdateResultCheckStyle style)