removed unused items

This commit is contained in:
Scott Andrews
2008-07-03 14:39:42 +00:00
parent 1c6e2b178d
commit f20578be56
3 changed files with 0 additions and 17 deletions

View File

@@ -16,13 +16,4 @@ public interface HotelSearchAgent {
*/
public List<Hotel> findHotels(SearchCriteria criteria);
/**
* Find hotels by their identifier.
*
* @param id
* the hotel id
* @return the hotel
*/
public Hotel findHotelById(Long id);
}

View File

@@ -43,9 +43,4 @@ public class JpaHotelSearchAgent implements HotelSearchAgent {
return hotels;
}
@Transactional(readOnly = true)
public Hotel findHotelById(Long id) {
return em.find(Hotel.class, id);
}
}

View File

@@ -6,9 +6,6 @@
<!-- Deploys a in-memory "booking" datasource populated; can easily swap out-->
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<description>
commons-dbcp based datasource as org.springframework.jdbc.datasource.DriverManagerDataSource is not supported under osgi
</description>
<property name="driverClassName" value="org.hsqldb.jdbcDriver" />
<property name="url" value="jdbc:hsqldb:mem:booking" />
<property name="username" value="sa" />