class DBResource modified in order to remove for a resource
duplicated access points elements that have the same endpoint,
username and password values.
method closeconnection in class DatabaseManager modified in
order to close the SessionFactory. Sampler class modified.
bug fixed and related to samplings operation to manage column
uppercase names with a postgres database.
for the getTableDetails operation column names recovered as
defined in their database's schema. PostgresTableStructure class modified.
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.
bug fixed in class DatabaseManagement for the submitquery
operation in order to truncate column values of the result to 255
character.
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.
bug fixed for the smart sampling on table scientific_names of
col2oct2010.Table name is overwritten when two iterations are
performed to extract 200 rows.Corrections in
computeSmartSampleWithThreshold.
input parameters updated in the SubmitQuery method of
DatabaseManagement class.(input parameter on path file removed
because unusable)
bug hibernate on join tables with same column
names.ConnectionManager and DatabaseManagement classes modified
adding the method "executeQueryJDBC" in ConnectionManager, used only
for the submitquery operation. The method uses JDBC.
bug fixed in sampling operations with an attribute of geometry
type that slows the result visualization. Attributes truncated to 255
characters.
bug fixed with the rand() function in the smart and random
sample for a database mysql with the computeSmartSampleWithThreshold
method
bug fixed in Sampler and DatabaseOPerations classes to manage
case sensitive tables for database Postgres and for GetTableDetails
class DatabaseManagement modified in order to not make
available the result in a file csv for submitquery and samplings
operations
added a timeout database connection
bug fixed in samplings on table names that are keywords.The
name considered is schema.table for postgres and database.table for
mysql
bug fixed in sampler in order to have an attributes header
with the same order defined in the database schema
bug corrected in "showCreateTable" method of
MySQLTableStructure class.Result managed in a correct way using
aliasToEntityOrderedMapResultTransformer class
first release