public static void checkCaddieLifetime (Connection conn) throws BDException {
		String requete = "select duree_vie_cad from config";
		Statement stmt = null;
		ResultSet rs = null;

		try {
			conn = BDConnexion.getConnexion();

			stmt = conn.createStatement();
			rs = stmt.executeQuery(requete);

			boolean delete = false;
			if (rs.next() && rs.getInt(1) == -1){
				delete = true;
			}
			else if (rs.getInt(1) > 0){
				rs = stmt.executeQuery("select count(*) from config where date_cad + interval '"+rs.getInt(1)+"' day > CURRENT_DATE");
				if (rs.next() && rs.getInt(1) == 0){
					delete = true;
				}
			}

			if (delete)
				stmt.executeUpdate("delete from lecaddie");

		} catch (SQLException e) {
			throw new BDException("Problème lors de la vérification initiale du caddie (Code Oracle : "+e.getErrorCode()+")");
		}
	}