diff --git a/jOOQ-test/src/org/jooq/test/jOOQOracleTest.java b/jOOQ-test/src/org/jooq/test/jOOQOracleTest.java index 16a9727d98..d3543a265d 100644 --- a/jOOQ-test/src/org/jooq/test/jOOQOracleTest.java +++ b/jOOQ-test/src/org/jooq/test/jOOQOracleTest.java @@ -106,10 +106,6 @@ import org.jooq.test.oracle.generatedclasses.test.Routines; import org.jooq.test.oracle.generatedclasses.test.Sequences; import org.jooq.test.oracle.generatedclasses.test.packages.Library; import org.jooq.test.oracle.generatedclasses.test.routines.F377; -import org.jooq.test.oracle.generatedclasses.test.routines.FArrays1; -import org.jooq.test.oracle.generatedclasses.test.routines.FArrays4; -import org.jooq.test.oracle.generatedclasses.test.routines.FTables1; -import org.jooq.test.oracle.generatedclasses.test.routines.FTables4; import org.jooq.test.oracle.generatedclasses.test.tables.VIncomplete; import org.jooq.test.oracle.generatedclasses.test.tables.records.TArraysRecord; import org.jooq.test.oracle.generatedclasses.test.tables.records.TAuthorRecord; @@ -832,13 +828,6 @@ public class jOOQOracleTest extends jOOQAbstractTest< @Test public void testOracleTableTypes() throws Exception { - // TODO [#523] [#1109] These two statements are needed when running this test - // in standalone mode. The data type is not registered automatically for - // ArrayRecords - new FArrays1(); - new FTables1(); - new FArrays4(); - new FTables4(); // FIRST, check unnesting of VARRAY/TABLE of NUMBER // ------------------------------------------------ diff --git a/jOOQ/src/main/java/org/jooq/impl/ArrayRecordImpl.java b/jOOQ/src/main/java/org/jooq/impl/ArrayRecordImpl.java index 94f98c84e5..6a6ed57a32 100644 --- a/jOOQ/src/main/java/org/jooq/impl/ArrayRecordImpl.java +++ b/jOOQ/src/main/java/org/jooq/impl/ArrayRecordImpl.java @@ -100,12 +100,16 @@ public class ArrayRecordImpl extends AbstractStore implements ArrayRecord< /** * Create an empty array record */ + @SuppressWarnings("unchecked") protected ArrayRecordImpl(Schema schema, String name, DataType type, Configuration configuration) { super(configuration); this.schema = schema; this.name = name; this.type = type; + + // Array data type initialisation + type.asArrayDataType(getClass()); } /**