public class CalendarioDAO extends Connection
Constructor and Description |
---|
CalendarioDAO() |
Modifier and Type | Method and Description |
---|---|
Calendario |
getCalendarioByID(int idCalendario)
Función para obtener un calendario guardado en la BBDD a partir de su identificador único
|
java.util.List<Calendario> |
getCalendarioByIdTest(int idTest)
Función para obtener todos los calendarios associados a un test mediante el identificador único del test
|
public Calendario getCalendarioByID(int idCalendario) throws org.hibernate.HibernateException
idCalendario
- identificador del calendario que queremos recogerorg.hibernate.HibernateException
- excepción hibernate al acceder a los datospublic java.util.List<Calendario> getCalendarioByIdTest(int idTest) throws org.hibernate.HibernateException
idTest
- identificador único del testorg.hibernate.HibernateException
- excepción hibernate al acceder a los datos