org.dspace.browse
Class BrowseDAOUtilsOracle
java.lang.Object
org.dspace.browse.BrowseDAOUtilsDefault
org.dspace.browse.BrowseDAOUtilsOracle
- All Implemented Interfaces:
- BrowseDAOUtils
public class BrowseDAOUtilsOracle
- extends BrowseDAOUtilsDefault
Utility class for retrieving the size of the columns to be used in the browse tables,
and applying truncation to the strings that will be inserted into the tables.
Can be configured in dspace.cfg, with the following entries:
webui.browse.value_columns.max
- the maximum number of characters in 'value' columns
(0 is unlimited)
webui.browse.sort_columns.max
- the maximum number of characters in 'sort' columns
(0 is unlimited)
webui.browse.value_columns.omission_mark
- a string to append to truncated values that will be entered into
the value columns (ie. '...')
By default, the column sizes are '0' (unlimited), and no truncation is applied,
EXCEPT for Oracle, where we have to truncate the columns for it to work! (in which
case, both value and sort columns are by default limited to 2000 characters).
- Author:
- Richard Jones, Graham Triggs
|
Constructor Summary |
BrowseDAOUtilsOracle()
Create a new instance of the Oracle specific set of utilities. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BrowseDAOUtilsOracle
public BrowseDAOUtilsOracle()
- Create a new instance of the Oracle specific set of utilities. This
enforces a limit of 2000 characters on the value and sort columns
in the database. Any configuration which falls outside this boundary
will be automatically brought within it.
Copyright © 2009 The DSpace Foundation. All Rights Reserved.