uses prepared statement instead of plain old statement.deprecated the DBConnection.createStatement() method to discourage direct parameter value use in favor of parameter binding.http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5527
Add a sleep statement between getting the dtd from source and checking for it via url. Add method names to log output.
Move access control source to it's own directory.
Create database and shared directories for database management code and shared code respectively.
Catch exception when schema exists in db but not on disk. Try to get the schema before throwing exception
Workflow scheduler and archiving fixes for TPC workflow engine
Fixes include:-Overwriting existing DTDs on the filesystem if they exist and registration in the DB failed-only registering a DTD once
do not include the column name when inserting into an auto-increment column
Append context url onto system id instead of server url.
Merge 1.9 changes into Head
Removed the release ant token from all files in 'src'.
release
Replacing MetaCatUtil.debugMessage or MetaCatUtil.logMetacat call with logMetacat (private Logger object) call
Modified a method and can be reused.
Change the debugMessage prototype.
Change checkURLConnection to public static. It can be rused.
Add some debug info.
Merge the branch for monarch.
Merge DBConnection branch to head.
Change back to Connection. DBConnection will store in a cvs branch.
Correct the parameter of getDBConnection - methodName in code.
Delete connection as a class field and make every method to check in and check out connection if it need.
reject writing DTD file if it already exists
Added license terms to source code files, and cleaned up some javadocdocumentation in a few places.
constructor DBEntityResolver(Connection conn) is needed; cleared by mistake
DBEntityResolver: - added new parameter dtd for upload on Metacat file system; optional; Reader - new routines to upload dtd if provided - systemID of metadata document is used to exctract the filename of new dtd; - the new dtd is uploaded on Metacat file system as specified by dtdPath property;...
Added "release" keyword to all metacat source files so that the releasenumber will be evident in software distributions.
changed char stream to byte stream
Fixed bug in DBEntityResolver so that it now properly delegates tothe system id found inthe database.Changed DBValidate to use DBEntityResolver, rather than the OASIScatalog, and to return validation results in XML format.
Fixed bugs associated with the new UPDATE and DELETE functions ofDBWriter. There were problematic interactions between some staticvariables used in DBEntityResolver and the way in which theServlet objects are re-used across multiple client invocations....
Merged in substantial changes to DBWriter and associated classes and tothe MetaCatServlet in order to accomodate the new UPDATE and DELETEfunctions. The command line tools and the parameters for theservlet have changed substantially.
documentation cleanup
put checkURLConnection(systemId) beforeits register in db or using from the parser
to use single transaction
reincorporated Title registration code for documents
Modifying storage model to use DOM TEXT nodes -- update is incomplete and query code doesn not work for this checkin
changed case 4/ to be like case 3/ when no doctype specified
document root node, doctype changes
made changes about document doctypes
Fixed package bugs in new Entity and comment handling code, updated Makefile
Included new features about writing XML documents into dbThis 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.