/** * The Session used to manipulate entities of this type. * * @param context current DSpace context. * @return the current Session. * @throws SQLException */ protected Session getHibernateSession(Context context) throws SQLException { return ((Session) context.getDBConnection().getSession()); }