#1817 - Rename @DbHstore to @DbMap

This commit is contained in:
rob bygrave
2019-09-12 17:02:53 +12:00
parent 9640e02b6a
commit 5d89897bbd
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -155,7 +155,7 @@ public abstract class BaseTestCase {
* so tests that do this need to be skipped for SQL Server.
*/
public boolean isSqlServer() {
return Platform.SQLSERVER17 == platform();
return Platform.SQLSERVER == platform().base();
}
public boolean isH2() {
@@ -183,7 +183,7 @@ public abstract class BaseTestCase {
}
public boolean isMySql() {
return Platform.MYSQL == platform() || Platform.MYSQL55 == platform();
return Platform.MYSQL == platform().base();
}
public boolean isHana() {
@@ -1,6 +1,6 @@
package org.tests.model.json;
import io.ebean.annotation.DbHstore;
import io.ebean.annotation.DbMap;
import javax.persistence.Entity;
import javax.persistence.Id;
@@ -17,7 +17,7 @@ public class EBasicHstore {
String name;
// fallback to varchar(800) for non-Postgres
@DbHstore(length = 800)
@DbMap(length = 800)
Map<String, String> map;
@Version