File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed
hibernate-core/src/main/java/org/hibernate/dialect Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change @@ -2315,4 +2315,49 @@ public UniqueDelegate getUniqueDelegate() {
2315
2315
public String getNotExpression ( String expression ) {
2316
2316
return "not " + expression ;
2317
2317
}
2318
+
2319
+ /**
2320
+ * Does this dialect support the <tt>UNIQUE</tt> column syntax?
2321
+ *
2322
+ * @return boolean
2323
+ *
2324
+ * @deprecated {@link #getUniqueDelegate()} should be overridden instead.
2325
+ */
2326
+ @ Deprecated
2327
+ public boolean supportsUnique () {
2328
+ return true ;
2329
+ }
2330
+
2331
+ /**
2332
+ * Does this dialect support adding Unique constraints via create and alter table ?
2333
+ *
2334
+ * @return boolean
2335
+ *
2336
+ * @deprecated {@link #getUniqueDelegate()} should be overridden instead.
2337
+ */
2338
+ @ Deprecated
2339
+ public boolean supportsUniqueConstraintInCreateAlterTable () {
2340
+ return true ;
2341
+ }
2342
+
2343
+ /**
2344
+ * The syntax used to add a unique constraint to a table.
2345
+ *
2346
+ * @param constraintName The name of the unique constraint.
2347
+ * @return The "add unique" fragment
2348
+ *
2349
+ * @deprecated {@link #getUniqueDelegate()} should be overridden instead.
2350
+ */
2351
+ @ Deprecated
2352
+ public String getAddUniqueConstraintString (String constraintName ) {
2353
+ return " add constraint " + constraintName + " unique " ;
2354
+ }
2355
+
2356
+ /**
2357
+ * @deprecated {@link #getUniqueDelegate()} should be overridden instead.
2358
+ */
2359
+ @ Deprecated
2360
+ public boolean supportsNotNullUnique () {
2361
+ return true ;
2362
+ }
2318
2363
}
You can’t perform that action at this time.
0 commit comments