e.printStackTrace added for debug purpose statement for an exception in executeQuery method
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@100708 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
9c42affe76
commit
2986079369
|
@ -270,7 +270,7 @@ public class ConnectionManager {
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|
||||||
// e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
|
||||||
// System.out.println(String.format("Error while executing query: %1$s %2$s",
|
// System.out.println(String.format("Error while executing query: %1$s %2$s",
|
||||||
// query, e.getMessage()));
|
// query, e.getMessage()));
|
||||||
|
@ -278,6 +278,9 @@ public class ConnectionManager {
|
||||||
// System.out.println(String.format("Error while executing query: %1$s %2$s",
|
// System.out.println(String.format("Error while executing query: %1$s %2$s",
|
||||||
// query, e.getMessage()));
|
// query, e.getMessage()));
|
||||||
|
|
||||||
|
// AnalysisLogger.getLogger().debug(
|
||||||
|
// "In ConnectionManager-> ", e);
|
||||||
|
|
||||||
if (e instanceof org.hibernate.MappingException) {
|
if (e instanceof org.hibernate.MappingException) {
|
||||||
|
|
||||||
// e.printStackTrace();
|
// e.printStackTrace();
|
||||||
|
|
Loading…
Reference in New Issue