no message

git-svn-id: https://svn.coded.pt/svn/SIPRP@34 bb69d46d-e84e-40c8-a05a-06db0d633741
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
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 ); byte []pdf = (byte[]) exame.getProperty( PDF );
BlobUpdate bUpdate = new BlobUpdate( T_EXAMES, PDF, pdf, new Field( ID ).isEqual( id ) ); BlobUpdate bUpdate = new BlobUpdate( T_EXAMES, PDF, pdf, new Field( ID ).isEqual( id ) );
executer.executeQuery( bUpdate ); executer.executeQuery( bUpdate );
bUpdate = new BlobUpdate( T_EXAMES, "pdf2", pdf, new Field( ID ).isEqual( id ) );
executer.executeQuery( bUpdate );
} }
public Integer getLastExameIDForTrabalhador( Integer trabalhadorID ) public Integer getLastExameIDForTrabalhador( Integer trabalhadorID )

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

Loading…
Cancel
Save