- 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:
Loredana Liccardo 2014-10-27 16:29:04 +00:00
parent 850c0072b9
commit b7eba1b58f
1 changed files with 1 additions and 1 deletions

View File

@ -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";