Class DaoLog
- java.lang.Object
-
- org.hortonmachine.gears.io.geopaparazzi.geopap4.DaoLog
-
public class DaoLog extends Object
The class that handles logging to the database.- Author:
- Andrea Antonello (www.hydrologis.com)
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOLUMN_DATAORAstatic StringCOLUMN_IDstatic StringCOLUMN_LOGMSGstatic StringTABLE_LOG
-
Constructor Summary
Constructors Constructor Description DaoLog()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcreateTables(Connection connection)Create the default log table.
-
-
-
Field Detail
-
TABLE_LOG
public static final String TABLE_LOG
- See Also:
- Constant Field Values
-
COLUMN_ID
public static final String COLUMN_ID
- See Also:
- Constant Field Values
-
COLUMN_DATAORA
public static final String COLUMN_DATAORA
- See Also:
- Constant Field Values
-
COLUMN_LOGMSG
public static final String COLUMN_LOGMSG
- See Also:
- Constant Field Values
-
-
Method Detail
-
createTables
public static void createTables(Connection connection) throws Exception
Create the default log table.- Parameters:
connection- the db connection to use.- Throws:
Exception- if something goes wrong.
-
-