| java.lang.Object org.mmbase.storage.implementation.database.DatabaseStorageManager org.mmbase.storage.implementation.database.RelationalDatabaseStorageManager
RelationalDatabaseStorageManager | public class RelationalDatabaseStorageManager extends DatabaseStorageManager (Code) | | A JDBC implementation of a storage manager for relational databases.
author: Pierre van Rooden since: MMBase-1.7 version: $Id: RelationalDatabaseStorageManager.java,v 1.12 2008/02/03 17:33:57 nklasens Exp $ |
RelationalDatabaseStorageManager | public RelationalDatabaseStorageManager()(Code) | | |
create | public void create(MMObjectNode node, MMObjectBuilder builder) throws StorageException(Code) | | Adds a node to the passed builder and all its parent builders.
Parameters: node - The node to insert. The node already needs to have a (new) number assigned Parameters: builder - the builder to store the node throws: StorageException - if an error occurred during creation |
getVersion | public double getVersion()(Code) | | |
tablesInheritFields | protected boolean tablesInheritFields()(Code) | | |
Methods inherited from org.mmbase.storage.implementation.database.DatabaseStorageManager | protected void addToTableNameCache(String name)(Code)(Java Doc) public void beginTransaction() throws StorageException(Code)(Java Doc) public void change(MMObjectNode node) throws StorageException(Code)(Java Doc) protected void change(MMObjectNode node, MMObjectBuilder builder) throws StorageException(Code)(Java Doc) protected void change(MMObjectNode node, MMObjectBuilder builder, String tableName, Collection<CoreField> changeFields)(Code)(Java Doc) public void change(MMObjectBuilder builder) throws StorageException(Code)(Java Doc) public void change(CoreField field) throws StorageException(Code)(Java Doc) protected File checkFile(File binaryFile, MMObjectNode node, CoreField field)(Code)(Java Doc) public void commit() throws StorageException(Code)(Java Doc) protected void commitChange(MMObjectNode node, String change)(Code)(Java Doc) public int convertLegacyBinaryFiles() throws org.mmbase.storage.search.SearchQueryException, SQLException(Code)(Java Doc) public int create(MMObjectNode node) throws StorageException(Code)(Java Doc) protected void create(MMObjectNode node, MMObjectBuilder builder) throws StorageException(Code)(Java Doc) protected void create(MMObjectNode node, List<CoreField> createFields, String tablename)(Code)(Java Doc) public void create(MMObjectBuilder builder) throws StorageException(Code)(Java Doc) public void create() throws StorageException(Code)(Java Doc) protected void create(Index index) throws StorageException(Code)(Java Doc) public void create(CoreField field) throws StorageException(Code)(Java Doc) protected void createIndex(Index index, String tablename)(Code)(Java Doc) protected void createIndices(CoreField field) throws StorageException(Code)(Java Doc) public int createKey() throws StorageException(Code)(Java Doc) protected void createSequence() throws StorageException(Code)(Java Doc) protected void createTable(MMObjectBuilder builder, List<CoreField> tableFields, String tableName)(Code)(Java Doc) public void delete(MMObjectNode node) throws StorageException(Code)(Java Doc) protected void delete(MMObjectNode node, MMObjectBuilder builder) throws StorageException(Code)(Java Doc) protected void delete(MMObjectNode node, MMObjectBuilder builder, List<CoreField> blobFileField, String tablename)(Code)(Java Doc) public synchronized void delete(MMObjectBuilder builder) throws StorageException(Code)(Java Doc) protected void delete(Index index) throws StorageException(Code)(Java Doc) public void delete(CoreField field) throws StorageException(Code)(Java Doc) protected void deleteIndices(CoreField field) throws StorageException(Code)(Java Doc) protected void executeUpdate(String query, MMObjectNode node, List<CoreField> fields) throws SQLException(Code)(Java Doc) protected void executeUpdateCheckConnection(String query, MMObjectNode node, List<CoreField> fields) throws SQLException(Code)(Java Doc) public boolean exists(MMObjectBuilder builder) throws StorageException(Code)(Java Doc) protected synchronized boolean exists(String tableName) throws StorageException(Code)(Java Doc) public boolean exists() throws StorageException(Code)(Java Doc) protected boolean exists(Index index, String tablename)(Code)(Java Doc) protected boolean exists(Index index) throws StorageException(Code)(Java Doc) protected void fillNode(MMObjectNode node, ResultSet result, MMObjectBuilder builder) throws StorageException(Code)(Java Doc) protected Connection getActiveConnection() throws SQLException(Code)(Java Doc) protected File getBinaryFile(MMObjectNode node, String fieldName)(Code)(Java Doc) public byte[] getBinaryValue(MMObjectNode node, CoreField field) throws StorageException(Code)(Java Doc) protected Blob getBlobFromDatabase(MMObjectNode node, CoreField field, boolean mayShorten)(Code)(Java Doc) protected Blob getBlobFromFile(MMObjectNode node, CoreField field, boolean mayShorten) throws StorageException(Code)(Java Doc) public Blob getBlobValue(MMObjectNode node, CoreField field) throws StorageException(Code)(Java Doc) public Blob getBlobValue(MMObjectNode node, CoreField field, boolean mayShorten) throws StorageException(Code)(Java Doc) protected Blob getBlobValue(ResultSet result, int index, CoreField field, boolean mayShorten) throws StorageException, SQLException(Code)(Java Doc) protected Boolean getBooleanValue(ResultSet result, int index, CoreField field) throws StorageException, SQLException(Code)(Java Doc) protected String getConstraintDefinition(CoreField field) throws StorageException(Code)(Java Doc) protected java.util.Date getDateTimeValue(ResultSet result, int index, CoreField field) throws StorageException, SQLException(Code)(Java Doc) protected String getFieldDefinition(CoreField field) throws StorageException(Code)(Java Doc) protected String getFieldList(Index index)(Code)(Java Doc) protected String getFieldTypeDefinition(CoreField field) throws StorageException(Code)(Java Doc) public InputStream getInputStreamValue(MMObjectNode node, CoreField field) throws StorageException(Code)(Java Doc) protected int getJDBCtoField(int jdbcType, int mmbaseType)(Code)(Java Doc) protected long getLogStartTime()(Code)(Java Doc) public MMObjectNode getNode(MMObjectBuilder builder, int number) throws StorageException(Code)(Java Doc) public int getNodeType(int number) throws StorageException(Code)(Java Doc) public String getStringValue(MMObjectNode node, CoreField field) throws StorageException(Code)(Java Doc) protected Object getStringValue(ResultSet result, int index, CoreField field, boolean mayShorten) throws StorageException, SQLException(Code)(Java Doc) public Object getValue(ResultSet result, int index, CoreField field, boolean mayShorten) throws StorageException(Code)(Java Doc) public double getVersion()(Code)(Java Doc) protected Object getXMLValue(ResultSet result, int index, CoreField field, boolean mayShorten) throws StorageException, SQLException(Code)(Java Doc) public void init(StorageManagerFactory factory) throws StorageException(Code)(Java Doc) protected boolean isPartOfBuilderDefinition(CoreField field)(Code)(Java Doc) public boolean isVerified(MMObjectBuilder builder)(Code)(Java Doc) final protected void logQuery(String query, long startTime)(Code)(Java Doc) protected void refresh(MMObjectNode node) throws StorageException(Code)(Java Doc) protected void releaseActiveConnection()(Code)(Java Doc) public boolean rollback() throws StorageException(Code)(Java Doc) protected void setBinaryValue(PreparedStatement statement, int index, Object objectValue, CoreField field, MMObjectNode node) throws StorageException, SQLException(Code)(Java Doc) protected void setBooleanValue(PreparedStatement statement, int index, Object value, CoreField field, MMObjectNode node) throws StorageException, SQLException(Code)(Java Doc) protected void setDateTimeValue(PreparedStatement statement, int index, Object value, CoreField field, MMObjectNode node) throws StorageException, SQLException(Code)(Java Doc) protected void setListValue(PreparedStatement statement, int index, Object value, CoreField field, MMObjectNode node) throws StorageException, SQLException(Code)(Java Doc) protected void setNodeValue(PreparedStatement statement, int index, Object nodeValue, CoreField field, MMObjectNode node) throws StorageException, SQLException(Code)(Java Doc) protected boolean setNullValue(PreparedStatement statement, int index, Object value, CoreField field, int type) throws StorageException, SQLException(Code)(Java Doc) protected void setNumericValue(PreparedStatement statement, int index, Object value, CoreField field, MMObjectNode node) throws StorageException, SQLException(Code)(Java Doc) protected Object setStringValue(PreparedStatement statement, int index, Object objectValue, CoreField field, MMObjectNode node) throws StorageException, SQLException(Code)(Java Doc) protected void setValue(PreparedStatement statement, int index, MMObjectNode node, CoreField field) throws StorageException, SQLException(Code)(Java Doc) protected void setXMLValue(PreparedStatement statement, int index, Object objectValue, CoreField field, MMObjectNode node) throws StorageException, SQLException(Code)(Java Doc) protected boolean shorten(CoreField field)(Code)(Java Doc) public int size(MMObjectBuilder builder) throws StorageException(Code)(Java Doc) public int size() throws StorageException(Code)(Java Doc) protected void storeBinaryAsFile(MMObjectNode node, CoreField field) throws StorageException(Code)(Java Doc) protected boolean tablesInheritFields()(Code)(Java Doc) protected void unloadShortedFields(MMObjectNode node, MMObjectBuilder builder)(Code)(Java Doc) public void verify(MMObjectBuilder builder) throws StorageException(Code)(Java Doc)
|
|
|