File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
spring-data-relational/src/main/java/org/springframework/data/relational/core/dialect Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -81,10 +81,15 @@ public LimitClause limit() {
81
81
return LIMIT_CLAUSE ;
82
82
}
83
83
84
+ /*
85
+ * (non-Javadoc)
86
+ * @see org.springframework.data.relational.core.dialect.Dialect#lock()
87
+ */
84
88
@ Override
85
89
public LockClause lock () {
86
90
87
91
return new LockClause () {
92
+
88
93
@ Override
89
94
public String getLock (LockOptions lockOptions ) {
90
95
return "FOR UPDATE WITH RS USE AND KEEP EXCLUSIVE LOCKS" ;
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ public interface LockClause {
42
42
* Enumeration of where to render the clause within the SQL statement.
43
43
*/
44
44
enum Position {
45
+
45
46
/**
46
47
* Append the clause after from table.
47
48
*/
You can’t perform that action at this time.
0 commit comments