removed unused items
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user