public class SystemDaoJdbc extends java.lang.Object implements SystemDao
System
.
This table is key / value pairs so that System
can be extended without
altering the table.Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logger |
Constructor and Description |
---|
SystemDaoJdbc() |
Modifier and Type | Method and Description |
---|---|
System |
getSystem()
Return a copy of the PicMan System attributes.
|
void |
setDataSource(javax.sql.DataSource ds)
Set the database reference
|
void |
setSystem(System system)
Save the System to the database
|
public void setDataSource(javax.sql.DataSource ds)
ds
- The DataSource as generated by the Spring config/setup.public System getSystem() throws DataAccessException