Giancarlo Panichi
|
43a5c6fb4f
|
Updated to Git and Jenkins
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@183298 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2019-11-27 15:58:52 +00:00 |
Gianpaolo Coro
|
ecd5ae7812
|
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@131255 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-09-08 16:49:02 +00:00 |
Loredana Liccardo
|
3786920a6c
|
- total number rows returned as output for the result of the submit Query operation:class DatabaseManagement modified
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@101938 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2014-12-05 15:01:07 +00:00 |
Loredana Liccardo
|
167f0c1715
|
- writeSubmitResultIntoFile method modified removing special characters using regular expressions in order to write data in a file correctly.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@101895 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2014-12-04 16:30:22 +00:00 |
Loredana Liccardo
|
885a219fe1
|
Samplings and SubmitQuery changed in order to return as a result a map with column values truncated to 255 characters and a file with the whole columns values in order to manage so to manage big data properly and the conversion of a geometry data type in a multipolygon representation applying the function st_astext() for a database postgres.
Sampler and DatabaseManagement classes changed. The file is stored on the statistical manager side and recovered through an ulr.
pom file changed in 1.3.0
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@101766 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2014-11-28 11:54:54 +00:00 |
Loredana Liccardo
|
72b8e87e81
|
- method submitQuery modified in class DatabaseManagement in order to return a file and a map as output. The map is truncated to 1000 rows if the result has more than 1000 rows.
method writeTableIntoFile reintroduced that performs the file writing and the map generation.
- Version in pom file changed in 1.3.0
- method submitQuery modified in class DatabaseManagement adding the UUID string to the submitQuery result file QueryResult file.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@101653 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2014-11-19 14:38:18 +00:00 |
Loredana Liccardo
|
8a06b5373b
|
bug fixed for the submitQuery and sampling operation and related to column value truncated to 255 characters. If the final quote has been truncated the parsecvsstring method in the servlet does not work fine. Bug fixed adding the final quote. convertToJavaType method in DatabaseManagement class modified.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@101170 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2014-10-29 16:10:02 +00:00 |
Loredana Liccardo
|
530a00d536
|
- bug fixed in class ConnectionManager for the submitquery operation modified in order to manage the data geometry recovering the related value as a sequence of hexadecimal characters and not as a parsed multipolygon value. executeQueryJDBC method modified.
- bug fixed in class DatabaseManagement for the submitquery operation in order to truncate column values of the result to 255 character in convertToJavaType method
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@101053 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2014-10-28 10:00:50 +00:00 |
Loredana Liccardo
|
cba62f48f0
|
- method closeconnection in class DatabaseManager modified in order to close the SessionFactory.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@100987 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2014-10-24 16:44:30 +00:00 |
Loredana Liccardo
|
77082fa4ad
|
File DestinationDBHibernate.cfg.xml in "cfg" folder of the project renamed in DestinationDBHibernateDBManager.cfg.xml and correction in method initDBSession of the ConectionMannaager class in order to specify this file name.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@99649 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2014-09-10 07:57:17 +00:00 |
Loredana Liccardo
|
5be390fde8
|
parameters updated in the SubmitQuery method of DatabaseManagement class.(parameter on path file removed because unusable)
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@99410 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2014-09-03 08:11:42 +00:00 |
Loredana Liccardo
|
1e191ee9f3
|
hibernate bug fixed and related to a join tables that have some columns with identical name. Bug resolved using JDBC. ConnectionManager and DatabaseManagement classes modified adding the method "executeQueryJDBC" in ConnectionManager, used only for the submitquery operation
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@99393 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2014-09-02 13:14:58 +00:00 |
Loredana Liccardo
|
ecee3f5fdf
|
timeout for hibernate database connection changed to value 5 seconds.(corrections in ConnectionManager class and printfs added and commented in DatabaseFactory and DatabaseManagement classes)
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@99376 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2014-09-01 14:45:00 +00:00 |
Loredana Liccardo
|
fe5b1c211b
|
bug fixed in smart e random sampling for a database mysql
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@99333 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2014-08-28 13:57:57 +00:00 |
Loredana Liccardo
|
f790f715b7
|
bug fixed in Sampler and DatabaseOPerations classes to manage tables case sensitive for database Postgres
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@99145 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2014-07-31 09:02:47 +00:00 |
Loredana Liccardo
|
ab97ee8304
|
bug fixed in class DatabaseManagement: method writeSampleTableIntoFile replaced with method buildMapResult.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@99060 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2014-07-29 10:09:49 +00:00 |
Loredana Liccardo
|
78e9c6e288
|
Methods writeSampleTableIntoFile, writeQueryResultIntoFile, isHexadecimal removed because being commented were not used.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@99059 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2014-07-29 09:30:18 +00:00 |
Loredana Liccardo
|
c202c94220
|
methods getFileQueryResult and getFileSampleTableResult commented.
Methods writeSampleTableIntoFile and writeQueryResultIntoFile removed because being commented were not used.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@99055 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2014-07-29 09:26:38 +00:00 |
Loredana Liccardo
|
21d1bb5a27
|
class DatabaseManagement modified in order to not make available the result in a file csv for submitquery and samplings operations.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@99051 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2014-07-29 08:30:42 +00:00 |
Loredana Liccardo
|
229f351f7d
|
bugs fixed in showcreatetable and samplings operations. In these operation it is useful to insert the table name in a query as "schema.table" for postgres and "db.table" for mysql.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@98907 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2014-07-23 15:11:58 +00:00 |
Loredana Liccardo
|
aa3fbea54b
|
bug fixed (updated the output result displayed from the statistical) in DatabaseManagement class related to the bug fixed yesterday.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@98872 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2014-07-22 12:58:20 +00:00 |
Loredana Liccardo
|
83df040993
|
bug fixed to retrieve columns names in a correct order (defined in the database schema) for the sampling operations, for the getTableDetails. Updates in Sampler, DatabasesManager and PostgresTableStructure classes.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@98845 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2014-07-21 15:19:55 +00:00 |
Loredana Liccardo
|
7762f7a162
|
bug corrected in "showCreateTable" method of MySQLTableStructure class (result managed in a correct way using aliasToEntityOrderedMapResultTransformer class).
Bug fixed in "DatabaseManagement" class in "writeTableIntoFile" method to manage for SubmitQuery e sampling operations tables with one column.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@98835 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2014-07-21 10:57:49 +00:00 |
Loredana Liccardo
|
fe61b11c54
|
some bug fixed in DatabasesResourcesManager class to recover a correct result from the submit query (in order to comply with AliasToEntityOrderedMapResultTransformer)
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@96724 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2014-06-05 09:03:12 +00:00 |
Loredana Liccardo
|
b4ebf6e789
|
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@96616 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2014-06-04 14:13:44 +00:00 |