Project

General

Profile

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

# Date Author Comment
6595 11/02/2011 08:40 PM ben leinfelder

http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5527

5350 05/11/2010 04:49 PM berkley

amost have update working. still need to get unit test squared away.

5189 01/11/2010 08:54 AM daigle

Add comments

5186 01/06/2010 04:18 PM Jing Tao

Fix the bug of http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4645. handleGetRevisionAndDocTypeAction will search both xml_documents and xml_revisions table.
It also changed some constrain in AccessionNumber when user update a document, of which all previous versions are in xml_revisions table.

5030 08/24/2009 02:34 PM daigle

Change location of PropertyService to properties directory

5015 08/04/2009 02:32 PM daigle

Create database and shared directories for database management code and shared code respectively.

4684 12/18/2008 04:14 PM daigle

revert the changes for: -- On update, check if the accession number exists in the db. If not, change the action to insert.

4682 12/18/2008 02:14 PM daigle

On update, check if the accession number exists in the db. If not, change the action to insert.

4335 08/29/2008 10:20 AM daigle

Move the DBAdaptor accessor into a DatabaseService class

4212 08/05/2008 05:33 PM daigle

Continue to qualify property names

4080 07/06/2008 09:25 PM daigle

Merge 1.9 changes into Head

3077 11/10/2006 10:25 AM Matt Jones

Removed the release ant token from all files in 'src'.

2768 11/18/2005 04:44 PM Matt Jones

Cleaned up AccessionNumber class to get rid of unused methods. It seems the entire accession_number table is no longer used but has not been deleted from the build. Will do in subsequent commit.

2253 08/24/2004 03:35 PM sgarg

Fixed handling of various docid formats.

2246 08/19/2004 06:20 PM sgarg

Added eml-2.0.1 tags for eml processing.

Also fixed a bug. The error returned in case of no revision number specified was just null. Now it says that revision number is required.

2164 05/10/2004 03:41 PM Jing Tao

Change method accessNumberUsed to static method.

1215 06/13/2002 11:37 AM Jing Tao

Merge DBConnection branch to head.

1140 05/24/2002 03:51 PM Jing Tao

Change back to using Connection. The DBConnection will be store in a cvs branch.

1137 05/23/2002 10:33 PM Jing Tao

Change the API for dbAdopter.

1130 05/23/2002 08:42 PM Jing Tao

Change for every method to use getDBConnection and returnDBConnection to manage DBConnection.

1054 05/07/2002 04:52 PM Jing Tao

Delete the control that when action="insert", rev should be 1

954 03/05/2002 11:28 AM Jing Tao

A method named getLastRevisionNumber was added. And condition for checking accession number was revised too. Now metacat wouldn't refuse a revsion number which is 2 or more greater than current revision number in the database. This is for bug 417.

779 06/12/2001 10:15 AM bojilova

changes according to bug# 234 - metacat accession # handling, done

777 06/08/2001 12:02 PM bojilova

changed all mentions of DBAdapter to the new name AbstractDatabase

770 06/04/2001 01:47 PM bojilova

changed like with =

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....

735 05/04/2001 09:16 AM bojilova

fix - added back generate(docid, action) method called from DataFileServer.java where rev is defaulted to 1

734 05/03/2001 05:12 PM bojilova

- changes to expect revisionid to come from the client on INSERT/UPDATE/DELETE;
now the client should send accession# as:
sitecode.uniqueid.revisionid
INSERT checks if sitecode.uniqueid part does not exist in xml_documents and xml_revisions and revisionid=1...

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.

618 12/14/2000 03:07 PM bojilova

changed acc# generation to use db sequence instead of timestamp

582 12/06/2000 09:59 AM berkley

made replication on insert or update us. Also made a method in AccessionNumber public so that you can tell if an accession number has already been used.e place be

576 11/30/2000 02:41 PM bojilova

change the generation of Accession# in the form of <sidecode>.<createdate>

476 09/28/2000 11:05 AM bojilova

Changed to prevent the insertion if the provided Accession# is in use as Dan suggested.

459 09/20/2000 01:15 PM bojilova

change Assession# generation to use the same db connection

421 08/30/2000 11:19 AM bojilova

cleared static methods in AccessionNumber classes for fixing bug found
when multiple requests to the servlet at a time.

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.

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.

185 06/21/2000 07:20 PM Matt Jones

1) Simplified database connection creation by adding new utility routine in MetaCatUtil that reads configuration information from the properties file.
2) Created MetaCatUtil.getOption() to retrieve options from properties file.
3) Unified SAX Parser creation by specifying parser driver in the properties file and dynamically loading it using the XMLReaderFactory interface....

171 06/16/2000 03:39 PM bojilova

added missed conn.close()

169 06/16/2000 09:42 AM Matt Jones

fixed string broken over two lines

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

documentation cleanup

165 06/15/2000 06:53 PM Matt Jones

minor modifications to fix problems introduced with AccessionNumber module

160 06/15/2000 11:51 AM bojilova

gen acc # in new connection
changing to static methods
include action parameter

147 06/12/2000 09:06 AM bojilova

no message

145 06/08/2000 01:34 PM bojilova

new class for registering of Accession numbers into metacat db