[#4939] Added Terence to the contributor list, added issue number to comment for future reference
This commit is contained in:
parent
3c42726975
commit
665a8fe2f1
@ -46,6 +46,7 @@ import static org.jooq.impl.DSL.name;
|
||||
import java.io.Serializable;
|
||||
import java.sql.ResultSetMetaData;
|
||||
import java.sql.SQLException;
|
||||
import java.sql.SQLFeatureNotSupportedException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@ -108,10 +109,17 @@ class MetaDataFieldProvider implements Serializable {
|
||||
String columnName = meta.getColumnName(i);
|
||||
|
||||
if (columnName.equals(columnLabel)) {
|
||||
String columnSchema = meta.getSchemaName(i);
|
||||
String columnTable = meta.getTableName(i);
|
||||
try {
|
||||
String columnSchema = meta.getSchemaName(i);
|
||||
String columnTable = meta.getTableName(i);
|
||||
name = name(columnSchema, columnTable, columnName);
|
||||
}
|
||||
|
||||
name = name(columnSchema, columnTable, columnName);
|
||||
// [#4939] Some JDBC drivers such as Teradata and Cassandra don't implement
|
||||
// ResultSetMetaData.getSchemaName and/or ResultSetMetaData.getTableName methods
|
||||
catch (SQLFeatureNotSupportedException e) {
|
||||
name = name(columnLabel);
|
||||
}
|
||||
}
|
||||
else {
|
||||
name = name(columnLabel);
|
||||
|
||||
@ -33,6 +33,7 @@ Authors and contributors of jOOQ or parts of jOOQ in alphabetical order:
|
||||
- Sugiharto Lim
|
||||
- Sven Jacobs
|
||||
- Szymon Jachim
|
||||
- Terence Zhang
|
||||
- Thomas Darimont
|
||||
- Tsukasa Kitachi
|
||||
- Vladimir Kulev
|
||||
|
||||
Loading…
Reference in New Issue
Block a user