Adds message to an exiting exception or if that exception doesn't exists
create a new one, add the message to it and return the newly created
exception.
Adds message to an exiting exception or if that exception doesn't exists
create a new one, add the message to it and return the newly created
exception.
Custom tag to generate all HTML code necessary to display block element (DIV
or SPAN), for which we can set id and style and the ID is remembered so that
child containers can access it and use it to generate compound IDs.
This configuration setting is used to name parameters such as
oss.database.schema.0, oss.database.schema.1 which specify what database
schemas the application consists of.
Name of the property specifying if to use an separate datasource to obtain
administration connection instead of just using the default data source
with separate credentials.
Adapter to simplify writing of batched database inserts, which takes care of
requesting and returning connections, transaction management and
exception handling.
Adapter to simplify writing of database updates which delete single data object,
which takes care of requesting and returning connections, transaction
management, query preparation and exception handling.
Base class for adapter to simplify writing of database operations, which
should take care of requesting and returning connections, transaction
management and exception handling.
Adapter to simplify writing of database reads which read multiple items,
which takes care of requesting and returning connections, transaction
management, query preparation and exception handling.
Adapter to simplify writing of database reads, which takes care of
requesting and returning connections, transaction management and
exception handling.
Adapter to simplify writing of database reads which read single data object,
which takes care of requesting and returning connections, transaction
management, query preparation and exception handling.
Base class implementation for database schemas that provides the common
functionality needed by all schemas that allow to read data from the tables
managed by this schema.
Constructor allowing to specify attributes for database schema that
doesn't provide any operations that would modify any of the tables it is
accessing.
Adapter to simplify writing of batched database updates, which takes care of
requesting and returning connections, transaction management and
exception handling.
Adapter to simplify writing of database updates, which takes care of
requesting and returning connections, transaction management and
exception handling.
Configuration setting for how many times to retry file commit or rollback
operations in case of error before the commit or rollback of file
manipulation operation is aborted.
Filter the specified string for characters that are senstive to
HTML interpreters, returning the string with these characters replaced
by the corresponding character entities.
Get identification of current session, which is jus a unique string which
can identify the each individual session established between client and
application.
Returns the identifier for the type of database currently in use which can
be used to construct package and class names.
It will be one of the constants defined in this class (SAPDB, HSQLDB, etc.).
Because there is limitation for sql statement length (in sap db is default
64 kb) and in() expression can contain lot of members, this function will
construct list of strings with maximum number of allowed members
(representing ids) each.
Different databases have different bugs about what they support so this
method will take the desired transaction isolation level and convert it
to the one supported by database.
Different databases have different bugs about what they support so this
method will take the desired transaction isolation level and convert it
to the one supported by database.
Different databases have different bugs about what they support so this
method will take the desired transaction isolation level and convert it
to the one supported by database.
Find out if database allows us to support rows limitation. This means that
database has to provide a way how to construct EFFICIENT SQL which allows
us to retrieve items starting from row X and ending at row Y.
Find out if database allows us to support rows limitation. This means that
database has to provide a way how to construct EFFICIENT SQL which allows
us to retrieve items starting from row X and ending at row Y.
Find out if database allows us to support rows limitation. This means that
database has to provide a way how to construct EFFICIENT SQL which allows
us to retrieve items starting from row X and ending at row Y.
Find out if database allows us to support rows limitation. This means that
database has to provide a way how to construct EFFICIENT SQL which allows
us to retrieve items starting from row X and ending at row Y.
Find out if database allows us to support rows limitation. This means that
database has to provide a way how to construct EFFICIENT SQL which allows
us to retrieve items starting from row X and ending at row Y.
Find out if database allows us to support rows limitation. This means that
database has to provide a way how to construct EFFICIENT SQL which allows
us to retrieve items starting from row X and ending at row Y.
HOUR_CODE -
Static variable in class org.opensubsystems.core.util.DateUtils
Constant for dynamic date code used in date/time formulas
Check if this record was loaded from some persistence store and therefore
it is existing data object which was already created in the persistence
store or it came from somewhere else (was created in memory).
Base class for implementation of j2ee factories for retrieving and returning of
database connections, which are maintained in a pool of always ready connections.
This is concrete implementation of database transaction factory, which
will be used to manage transactions across connections allocated
by this database connection factory.
Number specifying maximal safe length for members within the IN () clause
Because there is limitation for sql statement length (in sap db is default
64 kb) and in() expression can contain lot of members.
Custom tag to display messages defined using call to
CallContext.getInstance().getMessages().addXYZ() on the UI processed using
servlet derived from WebUIServlet.
Constructor allowing to specify attributes for database schema that
support multiple data object types and therefore have multiple sets of
tables that can be modified and columns sets.
Constructor allowing to specify attributes for database schema that
support only single data object type and therefore have most likely only
one table name that can be modified and single columns sets.
Management layer for MS SQL Server database (www.microsoft.com/sqlserver)
Currently we are using @@IDENTITY to select the last generated value from
a table.
MS SQL Server versioned database schema provide functionality of creating
and upgrading of MS SQL Server database schemas in the database based on
their versions.
Management layer for My SQL database (www.mysql.com)
TODO: Improve: Consider storing all data in UTF-8
See http://uwstopia.nl/blog/2007/01/simple-utf-8-and-mysql-how-to
- Make sure you append CHARACTER SET 'UTF8' to each CREATE TABLE statement.
Name of the generic attribute used to pass some string representation of
the current request to the message box page in case it wants to display
some troubleshooting information.
This class allows to throw multiple exceptions at once for example in
scenario when we need to propagate one exception even though anothe
exception has occured.
Base class for implementation of factories for retrieving and returning of
database connections, which are maintained in a pool of always ready connections.
PostgreSQL versioned database schema provide functionality of creating
and upgrading of Postgre SQL database schemas in the database based on
their versions.
Find out if when trying to find out size of the result set we should use
rather count(*)/count(1)/count(id) instead of using hasAbsolutePositioningSupport.
Find out if when trying to find out size of the result set we should use
rather count(*)/count(1)/count(id) instead of using hasAbsolutePositioningSupport.
Find out if when trying to find out size of the result set we should use
rather count(*)/count(1)/count(id) instead of using hasAbsolutePositioningSupport.
Find out if when trying to find out size of the result set we should use
rather count(*)/count(1)/count(id) instead of using hasAbsolutePositioningSupport.
Find out if when trying to find out size of the result set we should use
rather count(*)/count(1)/count(id) instead of using hasAbsolutePositioningSupport.
Find out if when trying to find out size of the result set we should use
rather count(*)/count(1)/count(id) instead of using hasAbsolutePositioningSupport.
Find out if when trying to find out size of the result set we should use
rather count(*)/count(1)/count(id) instead of using hasAbsolutePositioningSupport.
Find out if when trying to find out size of the result set we should use
rather count(*)/count(1)/count(id) instead of using hasAbsolutePositioningSupport.
Find out if when trying to find out size of the result set we should use
rather count(*)/count(1)/count(id) instead of using hasAbsolutePositioningSupport.
This method is a delegation method for now final
org.opensubsystems.core.persist.db.DatabaseConnectionFactory#requestConnection()
to get connection which is not tied to the transactional manager.
This method is a delegation method for now final
org.opensubsystems.core.persist.db.DatabaseConnectionFactory
#requestConnection(String, String)
to get connection which is not tied to the transactional manager.
This method is a delegation method for now final
org.opensubsystems.core.persist.db.DatabaseConnectionFactory
#requestConnection(String)
to get connection which is not tied to the transactional manager.
This method is a delegation method for now final
org.opensubsystems.core.persist.db.DatabaseConnectionFactory
#requestConnection(String, String, String)
to get connection which is not tied to the transactional manager.
This method is a delegation method for now final
org.opensubsystems.core.persist.db.DatabaseConnectionFactory#requestConnection()
to get connection which is not tied to the transactional manager.
This method is a delegation method for now final
org.opensubsystems.core.persist.db.DatabaseConnectionFactory
#requestConnection(String, String)
to get connection which is not tied to the transactional manager.
This method is a delegation method for now final
org.opensubsystems.core.persist.db.DatabaseConnectionFactory
#requestConnection(String)
to get connection which is not tied to the transactional manager.
This method is a delegation method for now final
org.opensubsystems.core.persist.db.DatabaseConnectionFactory
#requestConnection(String, String, String)
to get connection which is not tied to the transactional manager.
Check if there is an transaction in progress, if there is and it has
already associated connection then the connection associated with the
transaction will be returned.
This method is here mainly for testing and it should reset the transaction
manager to initial status to that tests can start from known environment
instead of being influenced by other tests.
This method is here mainly for testing and it should reset the transaction
manager to initial status to that tests can start from known environment
instead of being influenced by other tests.
This method is here mainly for testing and it should reset the transaction
manager to initial status to that tests can start from known environment
instead of being influenced by other tests.
This method is here mainly for testing and it should reset the transaction
manager to initial status to that tests can start from known environment
instead of being influenced by other tests.
This method is a delegation method for now final
org.opensubsystems.core.persist.db.DatabaseConnectionFactory
#returnConnection(java.sql.Connection)
to return connection which is not tied to the transactional manager.
This method is a delegation method for now final
org.opensubsystems.core.persist.db.DatabaseConnectionFactory
#returnConnection(java.sql.Connection)
to return connection which is not tied to the transactional manager.
Flag, which is telling us if we should monitor transactions that is use
a delegating class which intercepts and monitors calls to UserTransaction
class.
Name of the property specifying how many times we should try to restart
the embedded web server if it cannot be started at the port specified by
oss.webserver.port.
Configuration setting specifying name of the class implementing
SessionValidator interface to verify validity of a session each time a
request is submitted to the server.
This class is the simplest case of modifiable data object and it is useful in
situations when we need transfer only the most basic identification information
skipping the business data.
MS SQL Server versioned database schema provide functionality of creating
and upgrading of Sybase database schemas in the database based on
their versions.
Boolean flag, which specifies if the system should monitor transactions
that is use a delegating class which intercepts and monitors calls to
UserTransaction class.
Transactional connection is wrapper around real database connection to ensure
that the connection can be made part of global transaction spanning several
code components which do not know about each other.
This is used to name parameters such as oss.webclient.module.url.0,
oss.webclient.module.url.1 and they are used for defining URL related
to particular web module.
Interface representing web module which is a module of an application, which
has distinct section in a web user interface and can be switched to and from.
Configuration setting specifying the URL of handshake page to which user
will be redirected if handshake is required and session wasn't confirmed
at the time when the request is submitted to the server.
Configuration setting specifying the URL of login page to which user will
be redirected if login is required and user is not logged in at the time
when request is submitted to the server.
Base class for all servlets developed as part of this project, which perform
web form processing or execute an action based on request from the user
interface.