- for show create table statement column names returned with uppercase names. PostgresTableStructure class modified in order to remove toLowerCase() function applied on the column name.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@101048 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
850c0072b9
commit
b7eba1b58f
|
@ -60,7 +60,7 @@ public class PostgresTableStructure extends AbstractTableStructure {
|
|||
Object[] resultArray = (Object[]) result;
|
||||
|
||||
// retrieve the column name
|
||||
String columnname = ((String) resultArray[0]).toLowerCase();
|
||||
String columnname = ((String) resultArray[0]);
|
||||
if (columnname.equalsIgnoreCase("class"))
|
||||
columnname = "classcolumn";
|
||||
|
||||
|
|
Loading…
Reference in New Issue