public void add(String classPath,Person p) {
        try {
            //conexion
            dbc.openConnection();
            
            //adding object
            dbc.odb.getObjects(Class.forName(classPath));
            dbc.odb.store(p);
                        
        } catch (ClassNotFoundException e) {
            error.getError(101, e);
        } finally{
            dbc.closeConnection();
        }
    }