mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#383 - Refactor - Rename Oracle10Platform to OraclePlatform, remove Oracle9Platform (as not different)
This commit is contained in:
@@ -7,7 +7,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
public class OraclePlatformTest {
|
||||
|
||||
Oracle10Platform platform = new Oracle10Platform();
|
||||
OraclePlatform platform = new OraclePlatform();
|
||||
|
||||
@Test
|
||||
public void testTypeConversion() {
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@ package com.avaje.ebean.dbmigration.ddlgeneration.platform;
|
||||
import com.avaje.ebean.config.dbplatform.H2Platform;
|
||||
import com.avaje.ebean.config.dbplatform.MsSqlServer2005Platform;
|
||||
import com.avaje.ebean.config.dbplatform.MySqlPlatform;
|
||||
import com.avaje.ebean.config.dbplatform.Oracle10Platform;
|
||||
import com.avaje.ebean.config.dbplatform.OraclePlatform;
|
||||
import com.avaje.ebean.config.dbplatform.PostgresPlatform;
|
||||
import com.avaje.ebean.dbmigration.migration.AlterColumn;
|
||||
import org.junit.Test;
|
||||
@@ -16,7 +16,7 @@ public class PlatformDdl_AlterColumnTest {
|
||||
PlatformDdl h2Ddl = new H2Platform().getPlatformDdl();
|
||||
PlatformDdl pgDdl = new PostgresPlatform().getPlatformDdl();
|
||||
PlatformDdl mysqlDdl = new MySqlPlatform().getPlatformDdl();
|
||||
PlatformDdl oraDdl = new Oracle10Platform().getPlatformDdl();
|
||||
PlatformDdl oraDdl = new OraclePlatform().getPlatformDdl();
|
||||
PlatformDdl sqlServerDdl = new MsSqlServer2005Platform().getPlatformDdl();
|
||||
|
||||
AlterColumn alterNotNull() {
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@ package com.avaje.ebean.dbmigration.ddlgeneration.platform;
|
||||
import com.avaje.ebean.config.dbplatform.H2Platform;
|
||||
import com.avaje.ebean.config.dbplatform.MsSqlServer2005Platform;
|
||||
import com.avaje.ebean.config.dbplatform.MySqlPlatform;
|
||||
import com.avaje.ebean.config.dbplatform.Oracle10Platform;
|
||||
import com.avaje.ebean.config.dbplatform.OraclePlatform;
|
||||
import com.avaje.ebean.config.dbplatform.PostgresPlatform;
|
||||
import org.junit.Test;
|
||||
|
||||
@@ -15,7 +15,7 @@ public class PlatformDdl_dropUniqueConstraintTest {
|
||||
PlatformDdl h2Ddl = new H2Platform().getPlatformDdl();
|
||||
PlatformDdl pgDdl = new PostgresPlatform().getPlatformDdl();
|
||||
PlatformDdl mysqlDdl = new MySqlPlatform().getPlatformDdl();
|
||||
PlatformDdl oraDdl = new Oracle10Platform().getPlatformDdl();
|
||||
PlatformDdl oraDdl = new OraclePlatform().getPlatformDdl();
|
||||
PlatformDdl sqlServerDdl = new MsSqlServer2005Platform().getPlatformDdl();
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user