Top Description Fields Constructors Methods
org.hibernate.dialect

public Class DB2400V7R3Dialect

extends DB2400Dialect
Class Inheritance
Imports
org.hibernate.dialect.identity.DB2IdentityColumnSupport, .IdentityColumnSupport, org.hibernate.dialect.unique.DefaultUniqueDelegate, .UniqueDelegate

An SQL dialect for i. This class provides support for DB2 Universal Database for i V7R1 and later, also known as DB2/400.
Author
Pierrick Rouxel (pierrickrouxel)

Field Summary

Modifier and TypeField and Description
private final UniqueDelegate

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public IdentityColumnSupport
public String
getLimitString(String
The query to which to apply the limit.
sql
,
int
The offset of the limit
offset
,
int
The limit of the limit ;)
limit
)

Overrides org.hibernate.dialect.DB2400Dialect.getLimitString.

Given a limit and an offset, apply the limit clause to the query.
public String
getQuerySequencesString()

Overrides org.hibernate.dialect.DB2400Dialect.getQuerySequencesString.

Get the select command used retrieve the names of all sequences.
public UniqueDelegate
getUniqueDelegate()

Overrides org.hibernate.dialect.DB2Dialect.getUniqueDelegate.

Get the UniqueDelegate supported by this dialect
public boolean
supportsSequences()

Overrides org.hibernate.dialect.DB2400Dialect.supportsSequences.

Does this dialect support sequences?
Inherited from org.hibernate.dialect.DB2400Dialect:
getForUpdateStringsupportsLimitOffset

Field Detail

uniqueDelegateback to summary
private final UniqueDelegate uniqueDelegate

Hides org.hibernate.dialect.DB2Dialect.uniqueDelegate.

Constructor Detail

DB2400V7R3Dialectback to summary
public DB2400V7R3Dialect()

Method Detail

getIdentityColumnSupportback to summary
public IdentityColumnSupport getIdentityColumnSupport()

Overrides org.hibernate.dialect.DB2400Dialect.getIdentityColumnSupport.

Doc from org.hibernate.dialect.Dialect.getIdentityColumnSupport.

Get the appropriate IdentityColumnSupport

Returns:IdentityColumnSupport

the IdentityColumnSupport

Annotations
@Override
getLimitStringback to summary
public String getLimitString(String sql, int offset, int limit)

Overrides org.hibernate.dialect.DB2400Dialect.getLimitString.

Doc from org.hibernate.dialect.Dialect.getLimitString.

Given a limit and an offset, apply the limit clause to the query.

Parameters
sql:String

The query to which to apply the limit.

offset:int

The offset of the limit

limit:int

The limit of the limit ;)

Returns:String

The modified query statement with the limit applied.

Annotations
@Override
@SuppressWarnings:deprecation
getQuerySequencesStringback to summary
public String getQuerySequencesString()

Overrides org.hibernate.dialect.DB2400Dialect.getQuerySequencesString.

Doc from org.hibernate.dialect.Dialect.getQuerySequencesString.

Get the select command used retrieve the names of all sequences.

Returns:String

The select command; or null if sequences are not supported.

Annotations
@Override
getUniqueDelegateback to summary
public UniqueDelegate getUniqueDelegate()

Overrides org.hibernate.dialect.DB2Dialect.getUniqueDelegate.

Doc from org.hibernate.dialect.Dialect.getUniqueDelegate.

Get the UniqueDelegate supported by this dialect

Returns:UniqueDelegate

The UniqueDelegate

Annotations
@Override
supportsSequencesback to summary
public boolean supportsSequences()

Overrides org.hibernate.dialect.DB2400Dialect.supportsSequences.

Doc from org.hibernate.dialect.Dialect.supportsSequences.

Does this dialect support sequences?

Returns:boolean

True if sequences supported; false otherwise.

Annotations
@Override