DATAJDBC-538 - Polishing.

Reformat code.

Original pull request: #216.
This commit is contained in:
Mark Paluch
2020-05-11 14:32:01 +02:00
parent 3c9290483a
commit 850dc4c758
2 changed files with 6 additions and 0 deletions

View File

@@ -81,10 +81,15 @@ public class Db2Dialect extends AbstractDialect {
return LIMIT_CLAUSE;
}
/*
* (non-Javadoc)
* @see org.springframework.data.relational.core.dialect.Dialect#lock()
*/
@Override
public LockClause lock() {
return new LockClause() {
@Override
public String getLock(LockOptions lockOptions) {
return "FOR UPDATE WITH RS USE AND KEEP EXCLUSIVE LOCKS";

View File

@@ -42,6 +42,7 @@ public interface LockClause {
* Enumeration of where to render the clause within the SQL statement.
*/
enum Position {
/**
* Append the clause after from table.
*/