Buggy code:
@ Path ( "admin" ) public class AdminService { public AdminService ( ) { } @ POST @ Path ( "login" ) public Response login ( @ FormParam ( "username" ) String pseudo , @ FormParam ( "password" ) String password ) { } @ POST @ Path ( "iOSlogin" ) public Response iOSlogin ( @ FormParam ( "username" ) String pseudo , @ FormParam ( "password" ) String password , @ FormParam ( "token" ) String token ) { } @ Path ( "follow" ) @ GET public Response follow ( @ QueryParam ( "idAnnee" ) int idAnnee , @ QueryParam ( "pseudo" ) String pseudo , @ QueryParam ( "token" ) String token , @ QueryParam ( "timestamp" ) long timestamp ) { } @ Path ( "unfollow" ) @ GET public Response unfollow ( @ QueryParam ( "idAnnee" ) int idAnnee , @ QueryParam ( "pseudo" ) String pseudo , @ QueryParam ( "token" ) String token , @ QueryParam ( "timestamp" ) long timestamp ) { } @ Path ( "logout" ) @ GET public Response logout ( @ QueryParam ( "pseudo" ) String pseudo , @ QueryParam ( "token" ) String token , @ QueryParam ( "timestamp" ) long timestamp ) { } @ Path ( "passwordOublie" ) @ GET public Response passwordOublie ( @ QueryParam ( "pseudo" ) String pseudo ) { } @ Path ( "cancelResetRequest" ) @ GET public Response cancelResetRequest ( @ QueryParam ( "pseudo" ) String pseudo ) { } @ Path ( "registerAndroidDevice" ) @ PUT public Response registerAndroidDevice ( @ QueryParam ( "idGCM" ) String idGCM , @ QueryParam ( "pseudo" ) String pseudo , @ QueryParam ( "token" ) String token , @ QueryParam ( "timestamp" ) long timestamp ) { } @ Path ( "unregisterAndroidDevice" ) @ PUT public Response unregisterAndroidDevice ( @ QueryParam ( "idGCM" ) String idGCM , @ QueryParam ( "pseudo" ) String pseudo , @ QueryParam ( "token" ) String token , @ QueryParam ( "timestamp" ) long timestamp ) { Connection connexion = null ; Statement stmt = null ; if ( ( AdminUtils . checkToken ( pseudo , token ) ) && ( AdminUtils . checkTimestamp ( pseudo , timestamp ) ) ) { try { connexion = SQLUtils . getConnexion ( ) ; stmt = connexion . createStatement ( ) ; <START_BUG> stmt . executeUpdate ( ( ( "DELETE<seq2seq4repair_space>FROM<seq2seq4repair_space>ADMIN_ANDROID<seq2seq4repair_space>WHERE<seq2seq4repair_space>(GCM_ID<seq2seq4repair_space>=<seq2seq4repair_space>" + idGCM ) + ");" ) ) ; <END_BUG> stmt . close ( ) ; } catch ( SQLException ex ) { Logger . getLogger ( EtablissementService . class . getName ( ) ) . log ( Level . SEVERE , null , ex ) ; if ( stmt != null ) { try { stmt . close ( ) ; } catch ( SQLException exc ) { Logger . getLogger ( EtablissementService . class . getName ( ) ) . log ( Level . SEVERE , null , exc ) ; } } if ( connexion != null ) { try { connexion . close ( ) ; } catch ( SQLException exc ) { Logger . getLogger ( EtablissementService . class . getName ( ) ) . log ( Level . SEVERE , null , exc ) ; } } return Response . status ( 500 ) . build ( ) ; } finally { if ( stmt != null ) { try { stmt . close ( ) ; } catch ( SQLException ex ) { Logger . getLogger ( EtablissementService . class . getName ( ) ) . log ( Level . SEVERE , null , ex ) ; } } if ( connexion != null ) { try { connexion . close ( ) ; } catch ( SQLException ex ) { Logger . getLogger ( EtablissementService . class . getName ( ) ) . log ( Level . SEVERE , null , ex ) ; } } } return Response . status ( 200 ) . build ( ) ; } else { return Response . status ( 401 ) . build ( ) ; } } @ Path ( "resetPassword" ) @ GET public Response resetPassword ( @ QueryParam ( "pseudo" ) String pseudo , @ QueryParam ( "code" ) String code ) { } @ Path ( "closeAdminAccount" ) @ GET public Response closeAdminAccount ( @ QueryParam ( "pseudo" ) String pseudo , @ QueryParam ( "token" ) String token , @ QueryParam ( "timestamp" ) long timestamp ) { } @ Path ( "deactivateAdminAccount" ) @ GET public Response deactivateAdminAccount ( @ QueryParam ( "pseudo" ) String pseudo , @ QueryParam ( "token" ) String token , @ QueryParam ( "timestamp" ) long timestamp ) { } @ Path ( "nominateAdmin" ) @ GET public Response nominateAdmin ( @ QueryParam ( "pseudoToNominate" ) String pseudoToNominate , @ QueryParam ( "pseudo" ) String pseudo , @ QueryParam ( "token" ) String token , @ QueryParam ( "timestamp" ) long timestamp ) { } @ GET @ Path ( "getAllAdminInactive" ) @ Produces ( "application//json;charset=utf-8" ) public ArrayList < Administrateur > getAllAdminInactive ( ) { } @ Path ( "subscription" ) @ GET public Response subscription ( @ QueryParam ( "nom" ) String nom , @ QueryParam ( "prenom" ) String prenom , @ QueryParam ( "email" ) String email , @ QueryParam ( "pseudo" ) String pseudo , @ QueryParam ( "password" ) String password ) { } No newline ; at end ; of file ; }

Fix:
stmt . executeUpdate ( ( ( "DELETE<seq2seq4repair_space>FROM<seq2seq4repair_space>ADMIN_ANDROID<seq2seq4repair_space>WHERE<seq2seq4repair_space>(GCM_ID<seq2seq4repair_space>=<seq2seq4repair_space>'" + idGCM ) + "');" ) ) ;