no message

git-svn-id: https://svn.coded.pt/svn/SIPRP@34 bb69d46d-e84e-40c8-a05a-06db0d633741
lxbfYeaa
Frederico Palma 22 years ago
parent bcc5b5447f
commit 6169e7e1fd

@ -311,8 +311,6 @@ public class FichaDataProvider extends MetaProvider implements SearchExecuter {
byte []pdf = (byte[]) exame.getProperty( PDF );
BlobUpdate bUpdate = new BlobUpdate( T_EXAMES, PDF, pdf, new Field( ID ).isEqual( id ) );
executer.executeQuery( bUpdate );
bUpdate = new BlobUpdate( T_EXAMES, "pdf2", pdf, new Field( ID ).isEqual( id ) );
executer.executeQuery( bUpdate );
}
public Integer getLastExameIDForTrabalhador( Integer trabalhadorID )

@ -16,10 +16,10 @@ public class Main
throws Exception
{
Insert.setDefaultKeyRetriever( JDBCAutoKeyRetriever.DEFAULT );
String server = "localhost";
String server = "ws_fpalma";
String dbase = "siprp";
String user = "admin";
String passwd = "";
String user = "root";
String passwd = "admin";
DBManager dbm = new JDBCManager( "jdbc:mysql://" + server + "/" + dbase,
user, passwd , 10, 8, 8, null );

Loading…
Cancel
Save