Package net.sf.basedb.core.hibernate
Class GetCurrentCatalogWork
- java.lang.Object
-
- net.sf.basedb.core.hibernate.GetCurrentCatalogWork
-
- All Implemented Interfaces:
ReturningWork<String>
public class GetCurrentCatalogWork extends Object implements ReturningWork<String>
A work implementation that return the name of the current database catalog.- Since:
- 3.4
- Author:
- nicklas
-
-
Constructor Summary
Constructors Constructor Description GetCurrentCatalogWork()
Create a new work item.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
execute(Connection connection)
From the Work interface -----------------------
-
-
-
Method Detail
-
execute
public String execute(Connection connection) throws SQLException
From the Work interface ------------------------ Specified by:
execute
in interfaceReturningWork<String>
- Throws:
SQLException
-
-