src/it/finsiel/siged/dao/jdbc/DocumentaleDAOjdbc.java
public FileVO newFileVO(FileVO file) throws DataException {
        FileVO f;
        Connection connection = null;
        try {
            connection = jdbcMan.getConnection();
            connection.setAutoCommit(false);
            f = newFileVO(connection, file);
            connection.commit();
        } catch (Exception e) {
            jdbcMan.rollback(connection);
            throw new DataException(e.getMessage());
        } finally {
            jdbcMan.close(connection);
        }
        return f;
    }
/*
     * Crea un file con relativi attributi nella base dati
     */
Crea un file con relativi attributi nella base dati
Crea un file con relativi attributi nella base dati
public FileVO newFileVO(FileVO file) throws DataException {
        FileVO f;
        Connection connection = null;
        try {
            connection = jdbcMan.getConnection();
            connection.setAutoCommit(false);
            f = newFileVO(connection, file);
            connection.commit();
        } catch (Exception e) {
            jdbcMan.rollback(connection);
            throw new DataException(e.getMessage());
        } finally {
            jdbcMan.close(connection);
        }
        return f;
    }
public FileVO newFileVO ( FileVO file ) throws DataException { FileVO f ; Connection connection = null ; try { connection = jdbcMan . getConnection ( ) ; connection . setAutoCommit ( false ) ; f = newFileVO ( connection , file ) ; connection . commit ( ) ; } catch ( Exception e ) { jdbcMan . rollback ( connection ) ; throw new DataException ( e . getMessage ( ) ) ; } finally { jdbcMan . close ( connection ) ; } return f ; }
Crea un file con relativi attributi nella base dati
Crea un file con relativi attributi nella base dati