|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.uoc.pfc.social.db.EntityDAO
public class EntityDAO
Classe encarregada de implementar les funcionalitats genèriques de tots els DAO.
Constructor Summary | |
---|---|
EntityDAO(Connection conn)
Mètode constructor. |
Method Summary | |
---|---|
protected void |
closePreparedStatement(PreparedStatement ps)
Mètode privat encarregat de tancar un PreparedStatement. |
protected void |
closeResultSet(ResultSet rs)
Mètode privat encarregat de tancar un ResultSet. |
protected Connection |
getConn()
Mètode utilitat per accedir a la connexió |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EntityDAO(Connection conn)
conn
- Connexió amb la base de dadesMethod Detail |
---|
protected Connection getConn()
protected void closePreparedStatement(PreparedStatement ps) throws DatabaseException
DatabaseException
protected void closeResultSet(ResultSet rs) throws DatabaseException
DatabaseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |