Project

General

Profile

Statistics
| Revision:

metacat / src / edu / ucsb / nceas / dbadapter @ 952

Name Size Revision Age Author Comment
AbstractDatabase.java 4.09 KB 778 almost 20 years bojilova changed all mentions of DBAdapter to the new na...
OracleAdapter.java 3.08 KB 775 almost 20 years bojilova rename the DB* classes to: AbstractDatabase Ora...
PostgresqlAdapter.java 3.14 KB 899 about 19 years berkley made a ton of changes related to keeping oracle...
SqlserverAdapter.java 3.09 KB 775 almost 20 years bojilova rename the DB* classes to: AbstractDatabase Ora...

Latest revisions

# Date Author Comment
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.

778 06/08/2001 12:10 PM bojilova

changed all mentions of DBAdapter to the new name AbstractDatabase

775 06/08/2001 11:42 AM bojilova

rename the DB* classes to:
AbstractDatabase
OracleAdapter
PostgresqlAdapter
SqlserverAdapter

773 06/06/2001 01:49 PM bojilova

included new function that returns db specific non-null function name

757 05/31/2001 05:18 PM bojilova

- new db adapter for MS SQL Server
- changed the getUniqueID(conn, tableName) to return the last generated by the db unique ID
instead of generating unique ID first by the appl and then supplied to the insert,
because SQL Server doesn't have capabilities
unique ID to be generated on the client and then supplied to the insert.

753 05/24/2001 11:07 AM harris

changed the getDate method to getDateTime and changed the return
string in the postgresql implementation to "now()" from now()::date

751 05/24/2001 10:20 AM bojilova

change the method name getDateString() to getDateFunction()
return "now()::date" in the DBPostgresql implementation of that method

750 05/24/2001 09:01 AM harris

The Postgres implementation of the dbadapter package, still needs testing and
the getDate... method just returns the db function to return the date; to retreive the
current time is a second function so we may want to add a second method to return the
current time.

746 05/23/2001 03:06 PM bojilova

the abstract DBAdapter class and its Oracle implementation
for the new dbadapter package

View revisions

Also available in: Atom