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:
parent
6942920792
commit
5d77f12fc9
|
@ -118,7 +118,7 @@ public class DatabaseOperations {
|
||||||
if (dbType.equals(POSTGRES)) {
|
if (dbType.equals(POSTGRES)) {
|
||||||
|
|
||||||
//the full name equal to "schemaname.tablename"
|
//the full name equal to "schemaname.tablename"
|
||||||
tablename=schemaName+"."+tablename;
|
tablename=schemaName+"."+ "\"" +tablename+ "\"";
|
||||||
|
|
||||||
countingQuery = String.format(QueryPostgres, tablename);
|
countingQuery = String.format(QueryPostgres, tablename);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue