This commit is contained in:
Lucas Pleß 2012-03-20 23:25:23 +01:00
parent dd7225cbbe
commit 7dfb3f91a3
3 changed files with 3 additions and 7 deletions

View File

@ -47,7 +47,6 @@
<version>${org.springframework.version}</version> <version>${org.springframework.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId> <artifactId>slf4j-api</artifactId>

View File

@ -2,14 +2,10 @@ package de.ctdo.bunti.dao;
import de.ctdo.bunti.model.Room; import de.ctdo.bunti.model.Room;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport; import org.springframework.orm.hibernate3.support.HibernateDaoSupport;
import org.springframework.stereotype.Repository;
import java.util.List; import java.util.List;
/**
* @author: lucas
* @date: 15.03.12 22:01
*/
public final class RoomsDAOImpl extends HibernateDaoSupport implements RoomsDAO { public final class RoomsDAOImpl extends HibernateDaoSupport implements RoomsDAO {
public RoomsDAOImpl() { public RoomsDAOImpl() {
@ -28,7 +24,7 @@ public final class RoomsDAOImpl extends HibernateDaoSupport implements RoomsDAO
@Override @Override
public Room getRoom(int id) { public Room getRoom(int id) {
return (Room) getHibernateTemplate().get(Room.class, new Integer(id)); return getHibernateTemplate().get(Room.class, id);
} }
@Override @Override

View File

@ -73,6 +73,7 @@
$("#messages").append("type: " + data.type + " name=" + data.deviceName + "<br/>" ); $("#messages").append("type: " + data.type + " name=" + data.deviceName + "<br/>" );
}); });
}); });
$( "#tabs" ).tabs({ cookie: { expires: 1 } }); $( "#tabs" ).tabs({ cookie: { expires: 1 } });