Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.helmo.othello.tools;
- import com.helmo.othello.data.TournamentDataSource;
- public class TournamentCleaner {
- public static void main(String[] args) {
- TournamentDataSource source = new TournamentDataSource();
- String requete = "DELETE FROM InternalGames; DELETE FROM LeafGames; DELETE FROM Games";
- source.connect();
- int test = source.getSession().executeUpdate(requete);
- System.err.println(source.getSession().getLastError());
- source.disconnect();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement