|
|||||||||||||||||||
| 30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| JdbcServerService.java | - | - | - | - |
|
||||||||||||||
| 1 |
/*
|
|
| 2 |
* Joey and its relative products are published under the terms
|
|
| 3 |
* of the Apache Software License.
|
|
| 4 |
*/
|
|
| 5 |
/*
|
|
| 6 |
* Created on 2004/02/23
|
|
| 7 |
*/
|
|
| 8 |
package org.asyrinx.brownie.jdbc.util;
|
|
| 9 |
|
|
| 10 |
import java.sql.Connection;
|
|
| 11 |
import java.sql.Date;
|
|
| 12 |
import java.sql.SQLException;
|
|
| 13 |
import java.sql.Time;
|
|
| 14 |
import java.sql.Timestamp;
|
|
| 15 |
|
|
| 16 |
/**
|
|
| 17 |
* @author akima
|
|
| 18 |
*/
|
|
| 19 |
public interface JdbcServerService { |
|
| 20 |
|
|
| 21 |
public Connection getConnection();
|
|
| 22 |
|
|
| 23 |
public void setConnection(Connection connection); |
|
| 24 |
|
|
| 25 |
public Date getCurrentDate() throws SQLException; |
|
| 26 |
|
|
| 27 |
public Time getCurrentTime() throws SQLException; |
|
| 28 |
|
|
| 29 |
public Timestamp getCurrentTimestamp() throws SQLException; |
|
| 30 |
|
|
| 31 |
} |
|
||||||||||