|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.eurotech.framework.core.db.HsqlDbServiceImpl
public class HsqlDbServiceImpl
| Constructor Summary | |
|---|---|
HsqlDbServiceImpl()
|
|
| Method Summary | |
|---|---|
protected void |
activate(org.osgi.service.component.ComponentContext componentContext,
Map<String,Object> properties)
|
void |
close(Connection conn)
Releases a previously acquired JDCB connection to the DbService. |
void |
close(ResultSet... rss)
Utility method to silently close a JDBC ResultSet without throwing SQLExcepton. |
void |
close(Statement... stmts)
Utility method to silently close a JDBC Statement without throwing SQLExcepton. |
protected void |
deactivate(org.osgi.service.component.ComponentContext componentContext)
|
Connection |
getConnection()
Returns the JDBC Connection to be used to communicate with the embedded SQL database. |
boolean |
isLogDataEnabled()
|
void |
rollback(Connection conn)
Utility method to silently rollback a JDBC Connection without throwing SQLExcepton. |
void |
setSystemService(SystemService systemService)
|
void |
unsetSystemService(SystemService systemService)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HsqlDbServiceImpl()
| Method Detail |
|---|
public void setSystemService(SystemService systemService)
public void unsetSystemService(SystemService systemService)
protected void activate(org.osgi.service.component.ComponentContext componentContext,
Map<String,Object> properties)
protected void deactivate(org.osgi.service.component.ComponentContext componentContext)
public Connection getConnection()
throws SQLException
DbService
getConnection in interface DbServiceSQLExceptionpublic void rollback(Connection conn)
DbService
rollback in interface DbServicepublic void close(ResultSet... rss)
DbService
close in interface DbServicepublic void close(Statement... stmts)
DbService
close in interface DbServicepublic void close(Connection conn)
DbService
close in interface DbServiceconn - to be releasedpublic boolean isLogDataEnabled()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||