Mercurial > hg > ltpda
annotate 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 |
rev | line source |
---|---|
0 | 1 % JMYSQL interface to MySQL database via java sql. |
2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
3 % | |
4 % DESCRIPTION: JMYSQL interface to MySQL database via java sql. | |
5 % | |
6 % HELP: To see the available static methods, call | |
7 % >> methods utils.mysql | |
8 % | |
9 % VERSION: $Id: jmysql.m,v 1.14 2010/05/19 16:40:52 nicolodi Exp $ | |
10 % | |
11 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
12 | |
13 classdef jmysql | |
14 | |
15 %------------------------------------------------ | |
16 %--------- Declaration of Static methods -------- | |
17 %------------------------------------------------ | |
18 methods (Static) | |
19 | |
20 %------------------------------------------------------------- | |
21 % List other methods | |
22 %------------------------------------------------------------- | |
23 | |
24 %%% GENERAL TOOLS | |
25 varargout = getsinfo(varargin) % return sinfo structure of repository object | |
26 | |
27 %%% MYSQL TOOLS | |
14
6d43f39633b8
Remove unused functions from utils.jmysql
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
0
diff
changeset
|
28 varargout = connect(varargin) % connects to an LTPDA repository and returns the connection object |
6d43f39633b8
Remove unused functions from utils.jmysql
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
0
diff
changeset
|
29 varargout = query(varargin) % perform a query on an LTPDA repository and returns the results |
0 | 30 varargout = resultsToCell(varargin) % convert a ResultSet to a cell-array |
31 varargout = displayResults(varargin) % display a ResultSet in a table | |
32 varargout = dbquery(varargin) | |
33 | |
34 end % End static methods | |
35 | |
36 end | |
37 |