org.dspace.browse
Class BrowseDAOUtilsOracle

java.lang.Object
  extended by org.dspace.browse.BrowseDAOUtilsDefault
      extended by 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

Field Summary
 
Fields inherited from class org.dspace.browse.BrowseDAOUtilsDefault
sortColumnMaxChars, valueColumnMaxChars, valueColumnOmissionMark
 
Constructor Summary
BrowseDAOUtilsOracle()
          Create a new instance of the Oracle specific set of utilities.
 
Method Summary
 
Methods inherited from class org.dspace.browse.BrowseDAOUtilsDefault
getSortColumnMaxChars, getValueColumnMaxChars, truncateSortValue, truncateSortValue, truncateValue, truncateValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 © 2010 DuraSpace. All Rights Reserved.