Project

General

Profile

  • svn:eol-style: native
  • svn:executable: *
  • svn:keywords: Author Date Id Revision

# Date Author Comment
2663 10/10/2005 11:06 AM sgarg

Replacing MetaCatUtil.debugMessage or MetaCatUtil.logMetacat call with logMetacat (private Logger object) call

2364 01/13/2005 04:27 PM sgarg

Added code to check for NaN valuse which converting string to double.

2358 12/30/2004 03:31 PM sgarg

Modified 'insert xml_nodes...' so that numerical data is added into numericalnodedata also.

1803 08/14/2003 04:41 PM Jing Tao

Add a new constructor to hanlde DTD node.

1495 03/19/2003 03:22 PM Jing Tao

Change the prototype for debugMessage()

1416 02/20/2003 05:52 PM Jing Tao

Every call to write into xml_nodes will return current node id.

1217 06/13/2002 11:54 AM Jing Tao

Merge DBConnection branch to head.

1001 04/10/2002 03:18 PM berkley

hopefully fixed the connection closed error.

915 01/29/2002 10:15 AM berkley

fixed error I introduced when I got postgres working

899 01/18/2002 10:24 AM berkley

made a ton of changes related to keeping oracle SQL code out of the main classes. fixed a bug where the timing of the index thread was off so when it went to index a document, the document was not already in xml_documents thus breaking the FK relation between xml_documents and xml_index. I think that bug might be the reason for the blank resultset screens in morpho. made the postgres implementation much more robust.

826 09/12/2001 02:49 PM bojilova

changes to store namespace prefixes separately from the local names of nodes (elements and attributes)
in xml_nodes.nodeprefix column

821 08/15/2001 01:38 PM bojilova

added support for Namespaces.
Metacat now can store and retrieve XML documents with Namespaces.
Namespace is stored as separate record in xml_nodes table with type "NAMESPACE"
where nodename is the prefix and nodedata is the uri of the namespace.

792 07/13/2001 12:17 PM bojilova

don't need to override the old meta_file_id tags with docid without rev
since Morpho inserts docids before sending the docs to Metacat

777 06/08/2001 12:02 PM bojilova

changed all mentions of DBAdapter to the new name AbstractDatabase

763 06/01/2001 12:12 PM bojilova

commented out the use of oracle.jdbc.driver
this was harcoded use for batching the sql calls at once in order to speed up the insert of XML Index

758 05/31/2001 05:24 PM bojilova

Changed the order of generating and getting Unique ID for
xml_nodes.nodeid and for uniqueid part of the accession#
because of SQl Server capabilities:
first let the db to generate unique id on insert (by db trigger and sequence or by IDENTITY key),
then get that unique id for further use by the application....

747 05/23/2001 03:19 PM bojilova

- changed to use the DBAdapter uniform interface for all apperance of "sysdate"
and uniqueid generation from sequence
MetaCatUtil:
- reads from metacat.properties the dbadapter class implemented the interface
and creates an instance of that class (in static public variable named dbAdapter) for use....

675 01/18/2001 03:15 PM berkley

added precise location information (class.method) to each catch statement so that errors are more easily traced.

669 01/18/2001 11:52 AM Matt Jones

Added license terms to source code files, and cleaned up some javadoc
documentation in a few places.

471 09/26/2000 04:02 PM bojilova

Separate thread used for writing into xml_index table.
This cut the time of the response on insert almost in half.
The tread is started afterwards
(on end of document parsing and inserting into xml_nodes) from
DBSAXHandler and uses new(separate) db connection....

461 09/20/2000 01:22 PM bojilova

writeDocID() not needed any more
throw SAXException from everywhere

457 09/15/2000 05:40 PM bojilova

changes related to decrease the time of INSERT of document.
With these changes I inserted 200KB file for 3 minutes, 50KB for 50sec.
This is mainly simplifing the DBSAXNode class and
using batching feature of Oracle JDBC driver.

452 09/14/2000 12:33 PM bojilova

store generated Access# in meta_file_id tag if there are any

449 09/13/2000 01:57 PM berkley

added parentnodeid to xml_index

408 08/24/2000 06:28 PM Matt Jones

Continued code redesign for the DocumentImpl class. Now the "delete" and
"write" methods are static, so a DocumentImpl objject need not be created
in order to initiate a INSERT, UPDATE, or DELETE action (it is created
implicitly by the DBSAXHandler). When doing a "READ" action, one still...

396 08/22/2000 11:56 PM Matt Jones

Folded the functionality from DBSAXDocument into the DocumentImpl class.
Now DocumentImpl handles both the reads and the writes to the database.
Eventually, it will implment the full DOM Document interface. Eliminated
the DBSAXDocument.java file as it is no longer relevant....

349 08/14/2000 01:53 PM Matt Jones

Added "release" keyword to all metacat source files so that the release
number will be evident in software distributions.

314 08/03/2000 04:17 PM bojilova

DBSAXNode constructor simplified

204 06/26/2000 09:31 PM Matt Jones

Fixed bugs associated with the new UPDATE and DELETE functions of
DBWriter. There were problematic interactions between some static
variables used in DBEntityResolver and the way in which the
Servlet objects are re-used across multiple client invocations....

203 06/26/2000 03:35 AM Matt Jones

Merged in substantial changes to DBWriter and associated classes and to
the MetaCatServlet in order to accomodate the new UPDATE and DELETE
functions. The command line tools and the parameters for the
servlet have changed substantially.

177 06/19/2000 06:42 PM Matt Jones

finsihed basic functionality for structured queries based on the DBQuery and QuerySpecification classes

176 06/19/2000 05:44 PM Matt Jones

added code to build an index of the paths through the DOM tree to each node in the tree as the node is being inserted

174 06/19/2000 02:15 PM bojilova

for safe nodeid generation

168 06/15/2000 08:20 PM Matt Jones

documentation cleanup

162 06/15/2000 11:53 AM bojilova

docid is String

150 06/12/2000 06:39 PM Matt Jones

rewrote DBSimpleQuery and associated classes to no longer use Oracle's hierarchichal query syntax -- now this should work with any JDBC compliant backend DB

149 06/12/2000 12:52 PM bojilova

assign rootnodeid, docid for every node in xml_nodes table by given document

137 06/07/2000 05:28 PM Matt Jones

Renamed DBSAXElement to DBSAXNode

136 06/07/2000 05:19 PM Matt Jones

rearranged API for incrementing the node index within the parent node

134 06/07/2000 03:42 PM Matt Jones

code consolidation, cleanup, and documentation

133 06/07/2000 03:40 PM Matt Jones

code consolidation, cleanup, and documentation

131 06/07/2000 10:58 AM Matt Jones

general module cleanup

129 06/06/2000 07:08 PM Matt Jones

renamed BasicElement to BasicNode

122 06/06/2000 05:43 PM Matt Jones

Modifying storage model to use DOM TEXT nodes -- update is incomplete and query code doesn not work for this checkin

110 05/31/2000 10:50 AM bojilova

changed case 4/ to be like case 3/ when no doctype specified

109 05/30/2000 05:56 PM bojilova

document root node, doctype changes

92 05/11/2000 04:34 PM bojilova

made changes about document doctypes

75 05/04/2000 05:38 PM Matt Jones

Fixed package bugs in new Entity and comment handling code, updated Makefile

72 05/04/2000 03:30 PM bojilova

Included new features about writing XML documents into db
This includes writing data into db XML Catalog, document data into xml_documents,
comments into xml_nodes, added nodeindex for the order of elements by given parent element.

51 04/17/2000 04:06 PM Matt Jones

changed package name to edu.ucsb.nceas.metacat.*

35 04/13/2000 09:48 AM Matt Jones

documentation updates

31 04/11/2000 08:04 PM Matt Jones

documentation additions

29 04/11/2000 07:09 PM Matt Jones

general cleanup and documentation

22 04/11/2000 01:26 PM Matt Jones

created code to read XML doc from db source and emit it as an XML stream

21 04/11/2000 01:26 PM Matt Jones

created code to read XML doc from db source and emit it as an XML stream

20 04/11/2000 11:22 AM Matt Jones

consolidated table structure to eliminate xml_attributes and xml_elements in favor of a single, unified xml_nodes table

19 04/11/2000 10:57 AM Matt Jones

added attribute persistence to DB code

18 04/11/2000 09:40 AM Matt Jones

Partially functional SAS DB loader.

16 04/10/2000 09:20 PM Matt Jones

Added code to write element to DB using SAX parser model

15 04/10/2000 07:12 PM Matt Jones

Creating database loading scripts that utilize the oracle SAX parser