function aa=java_db_test

conn = database('patchlog_data_dwn', 'root', 'testpass', 'com.mysql.jdbc.Driver','jdbc:mysql://localhost:3306/patchlog_data_dwn')
 
ping(conn)

curs=exec(conn,'select first_patchlogfile_this_expt from patchlog_expts_table where first_patchlogfile_this_expt like ''%2%'';')
 
setdbprefs('DataReturnFormat','cellarray')

curs=fetch(curs);

aa=curs.Data