bug fixed in calculation of table's details for a database postgres through the GetTableDetails algorithm. The calculateElements method in DatabaseOperations class has been modified adding "" for a table name.

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@99349 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Loredana Liccardo 2014-08-29 12:37:42 +00:00
parent 6942920792
commit 5d77f12fc9
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ public class DatabaseOperations {
if (dbType.equals(POSTGRES)) {
//the full name equal to "schemaname.tablename"
tablename=schemaName+"."+tablename;
tablename=schemaName+"."+ "\"" +tablename+ "\"";
countingQuery = String.format(QueryPostgres, tablename);