view m-toolbox/classes/+utils/@jmysql/jmysql.m @ 52:daf4eab1a51e database-connection-manager tip

Fix. Default password should be [] not an empty string
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 07 Dec 2011 17:29:47 +0100
parents ce3fbb7ebe71
children
line wrap: on
line source

% JMYSQL interface to MySQL database via java sql.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% DESCRIPTION: JMYSQL interface to MySQL database via java sql.
%
% HELP:        To see the available static methods, call
%              >> methods utils.mysql
%
% VERSION:     $Id: jmysql.m,v 1.14 2010/05/19 16:40:52 nicolodi Exp $
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

classdef jmysql

  %------------------------------------------------
  %--------- Declaration of Static methods --------
  %------------------------------------------------
  methods (Static)

    %-------------------------------------------------------------
    % List other methods
    %-------------------------------------------------------------

    %%% GENERAL TOOLS
    varargout = getsinfo(varargin) % return sinfo structure of repository object

    %%% MYSQL TOOLS
    varargout = connect(varargin) % connects to an LTPDA repository and returns the connection object
    varargout = query(varargin) % perform a query on an LTPDA repository and returns the results
    varargout = resultsToCell(varargin) % convert a ResultSet to a cell-array
    varargout = displayResults(varargin) % display a ResultSet in a table
    varargout = dbquery(varargin)

  end % End static methods

end