[#1816] Add support for materialized views in Oracle's code generator -
Regenerated test classes
This commit is contained in:
parent
0640efc113
commit
323a62e426
@ -11,6 +11,11 @@ package org.jooq.test.oracle.generatedclasses.test;
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public final class Tables {
|
||||
|
||||
/**
|
||||
* snapshot table for snapshot TEST.M_LIBRARY
|
||||
*/
|
||||
public static final org.jooq.test.oracle.generatedclasses.test.tables.MLibrary M_LIBRARY = org.jooq.test.oracle.generatedclasses.test.tables.MLibrary.M_LIBRARY;
|
||||
|
||||
/**
|
||||
* The table TEST.T_ARRAYS
|
||||
*/
|
||||
|
||||
@ -9,7 +9,7 @@ package org.jooq.test.oracle.generatedclasses.test;
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public class Test extends org.jooq.impl.SchemaImpl {
|
||||
|
||||
private static final long serialVersionUID = 471090537;
|
||||
private static final long serialVersionUID = -37182850;
|
||||
|
||||
/**
|
||||
* The singleton instance of TEST
|
||||
@ -37,6 +37,7 @@ public class Test extends org.jooq.impl.SchemaImpl {
|
||||
@Override
|
||||
public final java.util.List<org.jooq.Table<?>> getTables() {
|
||||
return java.util.Arrays.<org.jooq.Table<?>>asList(
|
||||
org.jooq.test.oracle.generatedclasses.test.tables.MLibrary.M_LIBRARY,
|
||||
org.jooq.test.oracle.generatedclasses.test.tables.TArrays.T_ARRAYS,
|
||||
org.jooq.test.oracle.generatedclasses.test.tables.TAuthor.T_AUTHOR,
|
||||
org.jooq.test.oracle.generatedclasses.test.tables.TBook.T_BOOK,
|
||||
|
||||
@ -0,0 +1,51 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package org.jooq.test.oracle.generatedclasses.test.tables;
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*
|
||||
* snapshot table for snapshot TEST.M_LIBRARY
|
||||
*/
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public class MLibrary extends org.jooq.impl.TableImpl<org.jooq.test.oracle.generatedclasses.test.tables.records.MLibraryRecord> {
|
||||
|
||||
private static final long serialVersionUID = -1657294145;
|
||||
|
||||
/**
|
||||
* The singleton instance of TEST.M_LIBRARY
|
||||
*/
|
||||
public static final org.jooq.test.oracle.generatedclasses.test.tables.MLibrary M_LIBRARY = new org.jooq.test.oracle.generatedclasses.test.tables.MLibrary();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Class<org.jooq.test.oracle.generatedclasses.test.tables.records.MLibraryRecord> getRecordType() {
|
||||
return org.jooq.test.oracle.generatedclasses.test.tables.records.MLibraryRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The table column <code>TEST.M_LIBRARY.AUTHOR</code>
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.oracle.generatedclasses.test.tables.records.MLibraryRecord, java.lang.String> AUTHOR = createField("AUTHOR", org.jooq.impl.SQLDataType.VARCHAR, this);
|
||||
|
||||
/**
|
||||
* The table column <code>TEST.M_LIBRARY.TITLE</code>
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.oracle.generatedclasses.test.tables.records.MLibraryRecord, java.lang.String> TITLE = createField("TITLE", org.jooq.impl.SQLDataType.VARCHAR, this);
|
||||
|
||||
public MLibrary() {
|
||||
super("M_LIBRARY", org.jooq.test.oracle.generatedclasses.test.Test.TEST);
|
||||
}
|
||||
|
||||
public MLibrary(java.lang.String alias) {
|
||||
super(alias, org.jooq.test.oracle.generatedclasses.test.Test.TEST, org.jooq.test.oracle.generatedclasses.test.tables.MLibrary.M_LIBRARY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public org.jooq.test.oracle.generatedclasses.test.tables.MLibrary as(java.lang.String alias) {
|
||||
return new org.jooq.test.oracle.generatedclasses.test.tables.MLibrary(alias);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,43 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package org.jooq.test.oracle.generatedclasses.test.tables.pojos;
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*
|
||||
* snapshot table for snapshot TEST.M_LIBRARY
|
||||
*/
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.persistence.Entity
|
||||
@javax.persistence.Table(name = "M_LIBRARY", schema = "TEST")
|
||||
public class MLibrary implements java.io.Serializable {
|
||||
|
||||
private static final long serialVersionUID = -2045164655;
|
||||
|
||||
|
||||
@javax.validation.constraints.Size(max = 101)
|
||||
private java.lang.String author;
|
||||
|
||||
@javax.validation.constraints.NotNull
|
||||
@javax.validation.constraints.Size(max = 400)
|
||||
private java.lang.String title;
|
||||
|
||||
@javax.persistence.Column(name = "AUTHOR", length = 101)
|
||||
public java.lang.String getAuthor() {
|
||||
return this.author;
|
||||
}
|
||||
|
||||
public void setAuthor(java.lang.String author) {
|
||||
this.author = author;
|
||||
}
|
||||
|
||||
@javax.persistence.Column(name = "TITLE", nullable = false, length = 400)
|
||||
public java.lang.String getTitle() {
|
||||
return this.title;
|
||||
}
|
||||
|
||||
public void setTitle(java.lang.String title) {
|
||||
this.title = title;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,54 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package org.jooq.test.oracle.generatedclasses.test.tables.records;
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*
|
||||
* snapshot table for snapshot TEST.M_LIBRARY
|
||||
*/
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.persistence.Entity
|
||||
@javax.persistence.Table(name = "M_LIBRARY", schema = "TEST")
|
||||
public class MLibraryRecord extends org.jooq.impl.TableRecordImpl<org.jooq.test.oracle.generatedclasses.test.tables.records.MLibraryRecord> {
|
||||
|
||||
private static final long serialVersionUID = 57159103;
|
||||
|
||||
/**
|
||||
* The table column <code>TEST.M_LIBRARY.AUTHOR</code>
|
||||
*/
|
||||
public void setAuthor(java.lang.String value) {
|
||||
setValue(org.jooq.test.oracle.generatedclasses.test.tables.MLibrary.M_LIBRARY.AUTHOR, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The table column <code>TEST.M_LIBRARY.AUTHOR</code>
|
||||
*/
|
||||
@javax.persistence.Column(name = "AUTHOR", length = 101)
|
||||
public java.lang.String getAuthor() {
|
||||
return getValue(org.jooq.test.oracle.generatedclasses.test.tables.MLibrary.M_LIBRARY.AUTHOR);
|
||||
}
|
||||
|
||||
/**
|
||||
* The table column <code>TEST.M_LIBRARY.TITLE</code>
|
||||
*/
|
||||
public void setTitle(java.lang.String value) {
|
||||
setValue(org.jooq.test.oracle.generatedclasses.test.tables.MLibrary.M_LIBRARY.TITLE, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The table column <code>TEST.M_LIBRARY.TITLE</code>
|
||||
*/
|
||||
@javax.persistence.Column(name = "TITLE", nullable = false, length = 400)
|
||||
public java.lang.String getTitle() {
|
||||
return getValue(org.jooq.test.oracle.generatedclasses.test.tables.MLibrary.M_LIBRARY.TITLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached MLibraryRecord
|
||||
*/
|
||||
public MLibraryRecord() {
|
||||
super(org.jooq.test.oracle.generatedclasses.test.tables.MLibrary.M_LIBRARY);
|
||||
}
|
||||
}
|
||||
@ -9,7 +9,7 @@ package org.jooq.test.oracle3.generatedclasses;
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public class TEST extends org.jooq.impl.SchemaImpl implements java.lang.Cloneable {
|
||||
|
||||
private static final long serialVersionUID = -558533892;
|
||||
private static final long serialVersionUID = -1848905141;
|
||||
|
||||
/**
|
||||
* The singleton instance of TEST
|
||||
@ -37,6 +37,7 @@ public class TEST extends org.jooq.impl.SchemaImpl implements java.lang.Cloneabl
|
||||
@Override
|
||||
public final java.util.List<org.jooq.Table<?>> getTables() {
|
||||
return java.util.Arrays.<org.jooq.Table<?>>asList(
|
||||
org.jooq.test.oracle3.generatedclasses.tables.M_LIBRARY.M_LIBRARY,
|
||||
org.jooq.test.oracle3.generatedclasses.tables.T_ARRAYS.T_ARRAYS,
|
||||
org.jooq.test.oracle3.generatedclasses.tables.T_AUTHOR.T_AUTHOR,
|
||||
org.jooq.test.oracle3.generatedclasses.tables.T_BOOK.T_BOOK,
|
||||
|
||||
@ -11,6 +11,11 @@ package org.jooq.test.oracle3.generatedclasses;
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public final class Tables {
|
||||
|
||||
/**
|
||||
* snapshot table for snapshot TEST.M_LIBRARY
|
||||
*/
|
||||
public static final org.jooq.test.oracle3.generatedclasses.tables.M_LIBRARY M_LIBRARY = org.jooq.test.oracle3.generatedclasses.tables.M_LIBRARY.M_LIBRARY;
|
||||
|
||||
/**
|
||||
* The table TEST.T_ARRAYS
|
||||
*/
|
||||
|
||||
@ -0,0 +1,51 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package org.jooq.test.oracle3.generatedclasses.tables;
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*
|
||||
* snapshot table for snapshot TEST.M_LIBRARY
|
||||
*/
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public class M_LIBRARY extends org.jooq.impl.TableImpl<org.jooq.test.oracle3.generatedclasses.tables.records.M_LIBRARY> implements java.io.Serializable, java.lang.Cloneable {
|
||||
|
||||
private static final long serialVersionUID = -2108181158;
|
||||
|
||||
/**
|
||||
* The singleton instance of TEST.M_LIBRARY
|
||||
*/
|
||||
public static final org.jooq.test.oracle3.generatedclasses.tables.M_LIBRARY M_LIBRARY = new org.jooq.test.oracle3.generatedclasses.tables.M_LIBRARY();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Class<org.jooq.test.oracle3.generatedclasses.tables.records.M_LIBRARY> getRecordType() {
|
||||
return org.jooq.test.oracle3.generatedclasses.tables.records.M_LIBRARY.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The table column <code>TEST.M_LIBRARY.AUTHOR</code>
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.oracle3.generatedclasses.tables.records.M_LIBRARY, java.lang.String> AUTHOR = createField("AUTHOR", org.jooq.impl.SQLDataType.VARCHAR, this);
|
||||
|
||||
/**
|
||||
* The table column <code>TEST.M_LIBRARY.TITLE</code>
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.oracle3.generatedclasses.tables.records.M_LIBRARY, java.lang.String> TITLE = createField("TITLE", org.jooq.impl.SQLDataType.VARCHAR, this);
|
||||
|
||||
public M_LIBRARY() {
|
||||
super("M_LIBRARY", org.jooq.test.oracle3.generatedclasses.TEST.TEST);
|
||||
}
|
||||
|
||||
public M_LIBRARY(java.lang.String alias) {
|
||||
super(alias, org.jooq.test.oracle3.generatedclasses.TEST.TEST, org.jooq.test.oracle3.generatedclasses.tables.M_LIBRARY.M_LIBRARY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public org.jooq.test.oracle3.generatedclasses.tables.M_LIBRARY as(java.lang.String alias) {
|
||||
return new org.jooq.test.oracle3.generatedclasses.tables.M_LIBRARY(alias);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,37 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package org.jooq.test.oracle3.generatedclasses.tables.interfaces;
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*
|
||||
* snapshot table for snapshot TEST.M_LIBRARY
|
||||
*/
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.persistence.Entity
|
||||
@javax.persistence.Table(name = "M_LIBRARY", schema = "TEST")
|
||||
public interface M_LIBRARY_INTERFACE extends java.io.Serializable, java.lang.Cloneable {
|
||||
|
||||
/**
|
||||
* The table column <code>TEST.M_LIBRARY.AUTHOR</code>
|
||||
*/
|
||||
public void setAUTHOR(java.lang.String value);
|
||||
|
||||
/**
|
||||
* The table column <code>TEST.M_LIBRARY.AUTHOR</code>
|
||||
*/
|
||||
@javax.persistence.Column(name = "AUTHOR", length = 101)
|
||||
public java.lang.String getAUTHOR();
|
||||
|
||||
/**
|
||||
* The table column <code>TEST.M_LIBRARY.TITLE</code>
|
||||
*/
|
||||
public void setTITLE(java.lang.String value);
|
||||
|
||||
/**
|
||||
* The table column <code>TEST.M_LIBRARY.TITLE</code>
|
||||
*/
|
||||
@javax.persistence.Column(name = "TITLE", nullable = false, length = 400)
|
||||
public java.lang.String getTITLE();
|
||||
}
|
||||
@ -0,0 +1,42 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package org.jooq.test.oracle3.generatedclasses.tables.pojos;
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*
|
||||
* snapshot table for snapshot TEST.M_LIBRARY
|
||||
*/
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.persistence.Entity
|
||||
@javax.persistence.Table(name = "M_LIBRARY", schema = "TEST")
|
||||
public class M_LIBRARY_POJO extends java.lang.ThreadDeath implements java.lang.Cloneable, org.jooq.test.oracle3.generatedclasses.tables.interfaces.M_LIBRARY_INTERFACE {
|
||||
|
||||
private static final long serialVersionUID = -1465630062;
|
||||
|
||||
private java.lang.String AUTHOR;
|
||||
private java.lang.String TITLE;
|
||||
|
||||
@javax.persistence.Column(name = "AUTHOR", length = 101)
|
||||
@Override
|
||||
public java.lang.String getAUTHOR() {
|
||||
return this.AUTHOR;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setAUTHOR(java.lang.String AUTHOR) {
|
||||
this.AUTHOR = AUTHOR;
|
||||
}
|
||||
|
||||
@javax.persistence.Column(name = "TITLE", nullable = false, length = 400)
|
||||
@Override
|
||||
public java.lang.String getTITLE() {
|
||||
return this.TITLE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setTITLE(java.lang.String TITLE) {
|
||||
this.TITLE = TITLE;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,58 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package org.jooq.test.oracle3.generatedclasses.tables.records;
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*
|
||||
* snapshot table for snapshot TEST.M_LIBRARY
|
||||
*/
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.persistence.Entity
|
||||
@javax.persistence.Table(name = "M_LIBRARY", schema = "TEST")
|
||||
public class M_LIBRARY extends org.jooq.impl.TableRecordImpl<org.jooq.test.oracle3.generatedclasses.tables.records.M_LIBRARY> implements java.io.Serializable, java.lang.Cloneable, org.jooq.test.oracle3.generatedclasses.tables.interfaces.M_LIBRARY_INTERFACE {
|
||||
|
||||
private static final long serialVersionUID = 2060615992;
|
||||
|
||||
/**
|
||||
* The table column <code>TEST.M_LIBRARY.AUTHOR</code>
|
||||
*/
|
||||
@Override
|
||||
public void setAUTHOR(java.lang.String value) {
|
||||
setValue(org.jooq.test.oracle3.generatedclasses.tables.M_LIBRARY.M_LIBRARY.AUTHOR, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The table column <code>TEST.M_LIBRARY.AUTHOR</code>
|
||||
*/
|
||||
@javax.persistence.Column(name = "AUTHOR", length = 101)
|
||||
@Override
|
||||
public java.lang.String getAUTHOR() {
|
||||
return getValue(org.jooq.test.oracle3.generatedclasses.tables.M_LIBRARY.M_LIBRARY.AUTHOR);
|
||||
}
|
||||
|
||||
/**
|
||||
* The table column <code>TEST.M_LIBRARY.TITLE</code>
|
||||
*/
|
||||
@Override
|
||||
public void setTITLE(java.lang.String value) {
|
||||
setValue(org.jooq.test.oracle3.generatedclasses.tables.M_LIBRARY.M_LIBRARY.TITLE, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The table column <code>TEST.M_LIBRARY.TITLE</code>
|
||||
*/
|
||||
@javax.persistence.Column(name = "TITLE", nullable = false, length = 400)
|
||||
@Override
|
||||
public java.lang.String getTITLE() {
|
||||
return getValue(org.jooq.test.oracle3.generatedclasses.tables.M_LIBRARY.M_LIBRARY.TITLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached M_LIBRARY
|
||||
*/
|
||||
public M_LIBRARY() {
|
||||
super(org.jooq.test.oracle3.generatedclasses.tables.M_LIBRARY.M_LIBRARY);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user