class ServerDao extends BaseDao {

    public Server getServerById(Long id) throws SQLException {
        Server server = new Server();
        server.setId(id);
        return this.getDasClient().queryByPk(server);
    }

}