Package net.sf.basedb.core.hibernate
Class TableInfoWork
- java.lang.Object
-
- net.sf.basedb.core.hibernate.TableInfoWork
-
- All Implemented Interfaces:
ReturningWork<TableInfo>
public class TableInfoWork extends Object implements ReturningWork<TableInfo>
A work implementation that loads database metadata for a table and returns it as aTableInfo
object.- Version:
- 2.9
- Author:
- nicklas
- Last modified
- $Date: 2018-11-05 15:01:50 +0100 (må, 05 nov 2018) $
-
-
Constructor Summary
Constructors Constructor Description TableInfoWork(Table table)
Create a new work item.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TableInfo
execute(Connection connection)
From the Work interface -----------------------
-
-
-
Field Detail
-
table
private final Table table
-
-
Constructor Detail
-
TableInfoWork
public TableInfoWork(Table table)
Create a new work item.- Parameters:
table
- The table to get metadata information about
-
-
Method Detail
-
execute
public TableInfo execute(Connection connection) throws SQLException
From the Work interface ------------------------ Specified by:
execute
in interfaceReturningWork<TableInfo>
- Throws:
SQLException
-
-