|
|
|
|
@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
|
|
|
|
|
/* |
|
|
|
|
* Copyright 2002-2017 the original author or authors. |
|
|
|
|
* Copyright 2002-2018 the original author or authors. |
|
|
|
|
* |
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
|
@ -49,6 +49,10 @@ public abstract class AbstractJpaVendorAdapter implements JpaVendorAdapter {
@@ -49,6 +49,10 @@ public abstract class AbstractJpaVendorAdapter implements JpaVendorAdapter {
|
|
|
|
|
/** |
|
|
|
|
* Specify the target database to operate on, as a value of the {@code Database} enum: |
|
|
|
|
* DB2, DERBY, H2, HSQL, INFORMIX, MYSQL, ORACLE, POSTGRESQL, SQL_SERVER, SYBASE |
|
|
|
|
* <p><b>NOTE:</b> This setting will override your JPA provider's default algorithm. |
|
|
|
|
* Custom vendor properties may still fine-tune the database dialect. However, |
|
|
|
|
* there may nevertheless be conflicts: For example, specify either this setting |
|
|
|
|
* or Hibernate's "hibernate.dialect_resolvers" property, not both. |
|
|
|
|
*/ |
|
|
|
|
public void setDatabase(Database database) { |
|
|
|
|
this.database = database; |
|
|
|
|
|