abstract class Service extends java.lang.Object implements UsesDependencyService
Constructor and description |
---|
Service() |
Type Params | Return Type | Name and description |
---|---|---|
|
protected Query |
createQuery(java.lang.String sql, java.lang.Object[] positionalParameters) |
|
protected java.lang.String |
file(java.lang.String scriptFileName) Reads the content of an SQL script file in the {diego.baseResource}/sql directory. |
|
void |
initialize(Database database, FileLoader fileLoader) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Reads the content of an SQL script file in the {diego.baseResource}/sql directory.
scriptFileName
- The name of the SQL script (without extension).