public void read(String classPath){
        Objects<Person> object = null;
        
        try {
            //conexion
            dbc.openConnection();
            
            //Reading object
            object = dbc.odb.getObjects(Class.forName(classPath));
            
            while(object.hasNext()){
                Person p = object.next();
                System.out.println(p.getName() + " "+ p.getJob() + " " + p.getAge());
            }
            
        } catch (Exception e) {    
        //} catch (ClassNotFoundException e) {
            error.getError(101, e);
        } finally{
            dbc.closeConnection();
        }
    }