[#8394] Manual CAST() example shouldn't reference PostgresDataType.TEXT

This commit is contained in:
lukaseder 2019-03-07 11:23:53 +01:00
parent 65f69e9a1b
commit 266d9ee317
12 changed files with 12 additions and 12 deletions

View File

@ -3057,7 +3057,7 @@ SELECT CAST(AUTHOR.LAST_NAME AS TEXT) FROM DUAL</sql><html>
</html><java>create.select(AUTHOR.LAST_NAME.cast(SQLDataType.VARCHAR(100)));</java><html>
<p>
The same thing can be achieved by casting a Field directly to String.class, as TEXT is the default data type in Postgres to map to Java's String
The same thing can be achieved by casting a Field directly to String.class, as VARCHAR is the default <code>SQLDataType</code> to map to Java's String
</p>
</html><java>create.select(AUTHOR.LAST_NAME.cast(String.class));</java><html>

View File

@ -7386,7 +7386,7 @@ SELECT CAST(AUTHOR.LAST_NAME AS TEXT) FROM DUAL</sql><html>
</html><java>create.select(AUTHOR.LAST_NAME.cast(SQLDataType.VARCHAR(100))).fetch();</java><html>
<p>
The same thing can be achieved by casting a Field directly to String.class, as <code>TEXT</code> is the default data type in Postgres to map to Java's String
The same thing can be achieved by casting a Field directly to String.class, as VARCHAR is the default <code>SQLDataType</code> to map to Java's String
</p>
</html><java>create.select(AUTHOR.LAST_NAME.cast(String.class)).fetch();</java><html>

View File

@ -7562,7 +7562,7 @@ SELECT CAST(AUTHOR.LAST_NAME AS TEXT) FROM DUAL</sql><html>
</html><java>create.select(AUTHOR.LAST_NAME.cast(SQLDataType.VARCHAR(100))).fetch();</java><html>
<p>
The same thing can be achieved by casting a Field directly to String.class, as <code>TEXT</code> is the default data type in Postgres to map to Java's String
The same thing can be achieved by casting a Field directly to String.class, as VARCHAR is the default <code>SQLDataType</code> to map to Java's String
</p>
</html><java>create.select(AUTHOR.LAST_NAME.cast(String.class)).fetch();</java><html>

View File

@ -7731,7 +7731,7 @@ SELECT CAST(AUTHOR.LAST_NAME AS TEXT) FROM DUAL</sql><html>
</html><java>create.select(AUTHOR.LAST_NAME.cast(SQLDataType.VARCHAR(100))).fetch();</java><html>
<p>
The same thing can be achieved by casting a Field directly to String.class, as <code>TEXT</code> is the default data type in Postgres to map to Java's String
The same thing can be achieved by casting a Field directly to String.class, as VARCHAR is the default <code>SQLDataType</code> to map to Java's String
</p>
</html><java>create.select(AUTHOR.LAST_NAME.cast(String.class)).fetch();</java><html>

View File

@ -4678,7 +4678,7 @@ SELECT CAST(AUTHOR.LAST_NAME AS TEXT) FROM DUAL</sql><html>
</html><java>create.select(AUTHOR.LAST_NAME.cast(SQLDataType.VARCHAR(100)));</java><html>
<p>
The same thing can be achieved by casting a Field directly to String.class, as <code>TEXT</code> is the default data type in Postgres to map to Java's String
The same thing can be achieved by casting a Field directly to String.class, as VARCHAR is the default <code>SQLDataType</code> to map to Java's String
</p>
</html><java>create.select(AUTHOR.LAST_NAME.cast(String.class));</java><html>

View File

@ -5363,7 +5363,7 @@ SELECT CAST(AUTHOR.LAST_NAME AS TEXT) FROM DUAL</sql><html>
</html><java>create.select(AUTHOR.LAST_NAME.cast(SQLDataType.VARCHAR(100)));</java><html>
<p>
The same thing can be achieved by casting a Field directly to String.class, as <code>TEXT</code> is the default data type in Postgres to map to Java's String
The same thing can be achieved by casting a Field directly to String.class, as VARCHAR is the default <code>SQLDataType</code> to map to Java's String
</p>
</html><java>create.select(AUTHOR.LAST_NAME.cast(String.class));</java><html>

View File

@ -6259,7 +6259,7 @@ SELECT CAST(AUTHOR.LAST_NAME AS TEXT) FROM DUAL</sql><html>
</html><java>create.select(AUTHOR.LAST_NAME.cast(SQLDataType.VARCHAR(100))).fetch();</java><html>
<p>
The same thing can be achieved by casting a Field directly to String.class, as <code>TEXT</code> is the default data type in Postgres to map to Java's String
The same thing can be achieved by casting a Field directly to String.class, as VARCHAR is the default <code>SQLDataType</code> to map to Java's String
</p>
</html><java>create.select(AUTHOR.LAST_NAME.cast(String.class)).fetch();</java><html>

View File

@ -6643,7 +6643,7 @@ SELECT CAST(AUTHOR.LAST_NAME AS TEXT) FROM DUAL</sql><html>
</html><java>create.select(AUTHOR.LAST_NAME.cast(SQLDataType.VARCHAR(100))).fetch();</java><html>
<p>
The same thing can be achieved by casting a Field directly to String.class, as <code>TEXT</code> is the default data type in Postgres to map to Java's String
The same thing can be achieved by casting a Field directly to String.class, as VARCHAR is the default <code>SQLDataType</code> to map to Java's String
</p>
</html><java>create.select(AUTHOR.LAST_NAME.cast(String.class)).fetch();</java><html>

View File

@ -6763,7 +6763,7 @@ SELECT CAST(AUTHOR.LAST_NAME AS TEXT) FROM DUAL</sql><html>
</html><java>create.select(AUTHOR.LAST_NAME.cast(SQLDataType.VARCHAR(100))).fetch();</java><html>
<p>
The same thing can be achieved by casting a Field directly to String.class, as <code>TEXT</code> is the default data type in Postgres to map to Java's String
The same thing can be achieved by casting a Field directly to String.class, as VARCHAR is the default <code>SQLDataType</code> to map to Java's String
</p>
</html><java>create.select(AUTHOR.LAST_NAME.cast(String.class)).fetch();</java><html>

View File

@ -7027,7 +7027,7 @@ SELECT CAST(AUTHOR.LAST_NAME AS TEXT) FROM DUAL</sql><html>
</html><java>create.select(AUTHOR.LAST_NAME.cast(SQLDataType.VARCHAR(100))).fetch();</java><html>
<p>
The same thing can be achieved by casting a Field directly to String.class, as <code>TEXT</code> is the default data type in Postgres to map to Java's String
The same thing can be achieved by casting a Field directly to String.class, as VARCHAR is the default <code>SQLDataType</code> to map to Java's String
</p>
</html><java>create.select(AUTHOR.LAST_NAME.cast(String.class)).fetch();</java><html>

View File

@ -7203,7 +7203,7 @@ SELECT CAST(AUTHOR.LAST_NAME AS TEXT) FROM DUAL</sql><html>
</html><java>create.select(AUTHOR.LAST_NAME.cast(SQLDataType.VARCHAR(100))).fetch();</java><html>
<p>
The same thing can be achieved by casting a Field directly to String.class, as <code>TEXT</code> is the default data type in Postgres to map to Java's String
The same thing can be achieved by casting a Field directly to String.class, as VARCHAR is the default <code>SQLDataType</code> to map to Java's String
</p>
</html><java>create.select(AUTHOR.LAST_NAME.cast(String.class)).fetch();</java><html>

View File

@ -7338,7 +7338,7 @@ SELECT CAST(AUTHOR.LAST_NAME AS TEXT) FROM DUAL</sql><html>
</html><java>create.select(AUTHOR.LAST_NAME.cast(SQLDataType.VARCHAR(100))).fetch();</java><html>
<p>
The same thing can be achieved by casting a Field directly to String.class, as <code>TEXT</code> is the default data type in Postgres to map to Java's String
The same thing can be achieved by casting a Field directly to String.class, as VARCHAR is the default <code>SQLDataType</code> to map to Java's String
</p>
</html><java>create.select(AUTHOR.LAST_NAME.cast(String.class)).fetch();</java><html>