You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by ad...@apache.org on 2007/05/11 23:36:57 UTC
svn commit: r537297 [1/10] - in /incubator/tuscany/cpp/das:
VSExpress/tuscany_das/ VSExpress/tuscany_das/das_lite/
VSExpress/tuscany_das/das_runtime/ das_java_classes/
das_java_classes/config/ runtime/core/include/ runtime/core/include/apache/
runtime/...
Author: adrianocrestani
Date: Fri May 11 14:36:45 2007
New Revision: 537297
URL: http://svn.apache.org/viewvc?view=rev&rev=537297
Log:
- deleted VC das_lite project and moved to das_runtime VC project
- source code moved from das/runtime/das_lite to das/runtime/core/
- source code was split up into two folders, .h files into include folder and .cpp files into src folder
- old das java classes implemented in c++ were moved to das/das_java_classes folder
- added namespaces apache::das and apache::das::rdb to c++ das classes
Added:
incubator/tuscany/cpp/das/das_java_classes/
incubator/tuscany/cpp/das/das_java_classes/ApplyChangesCommandImpl.cpp
incubator/tuscany/cpp/das/das_java_classes/ApplyChangesCommandImpl.h
incubator/tuscany/cpp/das/das_java_classes/BaseCommandImpl.cpp
incubator/tuscany/cpp/das/das_java_classes/BaseCommandImpl.h
incubator/tuscany/cpp/das/das_java_classes/BaseGenerator.cpp
incubator/tuscany/cpp/das/das_java_classes/BaseGenerator.h
incubator/tuscany/cpp/das/das_java_classes/CallableStatement.h
incubator/tuscany/cpp/das/das_java_classes/ChangeFactory.cpp
incubator/tuscany/cpp/das/das_java_classes/ChangeFactory.h
incubator/tuscany/cpp/das/das_java_classes/ChangeOperation.cpp
incubator/tuscany/cpp/das/das_java_classes/ChangeOperation.h
incubator/tuscany/cpp/das/das_java_classes/ChangeSummarizer.cpp
incubator/tuscany/cpp/das/das_java_classes/ChangeSummarizer.h
incubator/tuscany/cpp/das/das_java_classes/Changes.cpp
incubator/tuscany/cpp/das/das_java_classes/Changes.h
incubator/tuscany/cpp/das/das_java_classes/CollisionParameter.cpp
incubator/tuscany/cpp/das/das_java_classes/CollisionParameter.h
incubator/tuscany/cpp/das/das_java_classes/Column.h
incubator/tuscany/cpp/das/das_java_classes/ColumnImpl.cpp
incubator/tuscany/cpp/das/das_java_classes/ColumnImpl.h
incubator/tuscany/cpp/das/das_java_classes/Command.h
incubator/tuscany/cpp/das/das_java_classes/CommandImpl.cpp
incubator/tuscany/cpp/das/das_java_classes/CommandImpl.h
incubator/tuscany/cpp/das/das_java_classes/Config.h
incubator/tuscany/cpp/das/das_java_classes/ConfigFactory.cpp
incubator/tuscany/cpp/das/das_java_classes/ConfigFactory.h
incubator/tuscany/cpp/das/das_java_classes/ConfigFactoryImpl.cpp
incubator/tuscany/cpp/das/das_java_classes/ConfigFactoryImpl.h
incubator/tuscany/cpp/das/das_java_classes/ConfigHelper.cpp
incubator/tuscany/cpp/das/das_java_classes/ConfigHelper.h
incubator/tuscany/cpp/das/das_java_classes/ConfigImpl.cpp
incubator/tuscany/cpp/das/das_java_classes/ConfigImpl.h
incubator/tuscany/cpp/das/das_java_classes/ConnectionImpl.cpp
incubator/tuscany/cpp/das/das_java_classes/ConnectionImpl.h
incubator/tuscany/cpp/das/das_java_classes/ConnectionInfo.h
incubator/tuscany/cpp/das/das_java_classes/ConnectionInfoImpl.cpp
incubator/tuscany/cpp/das/das_java_classes/ConnectionInfoImpl.h
incubator/tuscany/cpp/das/das_java_classes/Converter.h
incubator/tuscany/cpp/das/das_java_classes/Create.h
incubator/tuscany/cpp/das/das_java_classes/CreateImpl.cpp
incubator/tuscany/cpp/das/das_java_classes/CreateImpl.h
incubator/tuscany/cpp/das/das_java_classes/CreateOperation.cpp
incubator/tuscany/cpp/das/das_java_classes/CreateOperation.h
incubator/tuscany/cpp/das/das_java_classes/DAS.cpp
incubator/tuscany/cpp/das/das_java_classes/DAS.h
incubator/tuscany/cpp/das/das_java_classes/DASFactory.h
incubator/tuscany/cpp/das/das_java_classes/DASFactoryImpl.cpp
incubator/tuscany/cpp/das/das_java_classes/DASFactoryImpl.h
incubator/tuscany/cpp/das/das_java_classes/DASImpl.cpp
incubator/tuscany/cpp/das/das_java_classes/DASImpl.h
incubator/tuscany/cpp/das/das_java_classes/DASObject.cpp
incubator/tuscany/cpp/das/das_java_classes/DASObject.h
incubator/tuscany/cpp/das/das_java_classes/DASPointer.h
incubator/tuscany/cpp/das/das_java_classes/DASValues.h
incubator/tuscany/cpp/das/das_java_classes/DataObjectMaker.cpp
incubator/tuscany/cpp/das/das_java_classes/DataObjectMaker.h
incubator/tuscany/cpp/das/das_java_classes/DatabaseObject.cpp
incubator/tuscany/cpp/das/das_java_classes/DatabaseObject.h
incubator/tuscany/cpp/das/das_java_classes/DefaultConverter.cpp
incubator/tuscany/cpp/das/das_java_classes/DefaultConverter.h
incubator/tuscany/cpp/das/das_java_classes/Delete.h
incubator/tuscany/cpp/das/das_java_classes/DeleteCommandImpl.cpp
incubator/tuscany/cpp/das/das_java_classes/DeleteCommandImpl.h
incubator/tuscany/cpp/das/das_java_classes/DeleteGenerator.cpp
incubator/tuscany/cpp/das/das_java_classes/DeleteGenerator.h
incubator/tuscany/cpp/das/das_java_classes/DeleteImpl.cpp
incubator/tuscany/cpp/das/das_java_classes/DeleteImpl.h
incubator/tuscany/cpp/das/das_java_classes/DeleteList.cpp
incubator/tuscany/cpp/das/das_java_classes/DeleteList.h
incubator/tuscany/cpp/das/das_java_classes/DeleteOperation.cpp
incubator/tuscany/cpp/das/das_java_classes/DeleteOperation.h
incubator/tuscany/cpp/das/das_java_classes/FactoryRegistry.cpp
incubator/tuscany/cpp/das/das_java_classes/FactoryRegistry.h
incubator/tuscany/cpp/das/das_java_classes/GraphBuilderMetadata.cpp
incubator/tuscany/cpp/das/das_java_classes/GraphBuilderMetadata.h
incubator/tuscany/cpp/das/das_java_classes/InsertCommandImpl.cpp
incubator/tuscany/cpp/das/das_java_classes/InsertCommandImpl.h
incubator/tuscany/cpp/das/das_java_classes/InsertGenerator.cpp
incubator/tuscany/cpp/das/das_java_classes/InsertGenerator.h
incubator/tuscany/cpp/das/das_java_classes/InsertList.cpp
incubator/tuscany/cpp/das/das_java_classes/InsertList.h
incubator/tuscany/cpp/das/das_java_classes/KeyPair.h
incubator/tuscany/cpp/das/das_java_classes/KeyPairImpl.cpp
incubator/tuscany/cpp/das/das_java_classes/KeyPairImpl.h
incubator/tuscany/cpp/das/das_java_classes/ManagedParameterImpl.cpp
incubator/tuscany/cpp/das/das_java_classes/ManagedParameterImpl.h
incubator/tuscany/cpp/das/das_java_classes/MappingWrapper.cpp
incubator/tuscany/cpp/das/das_java_classes/MappingWrapper.h
incubator/tuscany/cpp/das/das_java_classes/MultiTableRegistry.cpp
incubator/tuscany/cpp/das/das_java_classes/MultiTableRegistry.h
incubator/tuscany/cpp/das/das_java_classes/OptimisticWriteCommandImpl.cpp
incubator/tuscany/cpp/das/das_java_classes/OptimisticWriteCommandImpl.h
incubator/tuscany/cpp/das/das_java_classes/Pager.h
incubator/tuscany/cpp/das/das_java_classes/PagerImpl.cpp
incubator/tuscany/cpp/das/das_java_classes/PagerImpl.h
incubator/tuscany/cpp/das/das_java_classes/Parameter.h
incubator/tuscany/cpp/das/das_java_classes/ParameterImpl.cpp
incubator/tuscany/cpp/das/das_java_classes/ParameterImpl.h
incubator/tuscany/cpp/das/das_java_classes/Parameters.cpp
incubator/tuscany/cpp/das/das_java_classes/Parameters.h
incubator/tuscany/cpp/das/das_java_classes/PreparedStatement.cpp
incubator/tuscany/cpp/das/das_java_classes/PreparedStatement.h
incubator/tuscany/cpp/das/das_java_classes/QualifiedColumn.cpp
incubator/tuscany/cpp/das/das_java_classes/QualifiedColumn.h
incubator/tuscany/cpp/das/das_java_classes/ReadCommandImpl.cpp
incubator/tuscany/cpp/das/das_java_classes/ReadCommandImpl.h
incubator/tuscany/cpp/das/das_java_classes/Relationship.h
incubator/tuscany/cpp/das/das_java_classes/RelationshipImpl.cpp
incubator/tuscany/cpp/das/das_java_classes/RelationshipImpl.h
incubator/tuscany/cpp/das/das_java_classes/RelationshipWrapper.cpp
incubator/tuscany/cpp/das/das_java_classes/RelationshipWrapper.h
incubator/tuscany/cpp/das/das_java_classes/ResultDescriptor.h
incubator/tuscany/cpp/das/das_java_classes/ResultDescriptorImpl.cpp
incubator/tuscany/cpp/das/das_java_classes/ResultDescriptorImpl.h
incubator/tuscany/cpp/das/das_java_classes/ResultMetadata.cpp
incubator/tuscany/cpp/das/das_java_classes/ResultMetadata.h
incubator/tuscany/cpp/das/das_java_classes/ResultSet.h
incubator/tuscany/cpp/das/das_java_classes/ResultSetMetaData.h
incubator/tuscany/cpp/das/das_java_classes/ResultSetShape.cpp
incubator/tuscany/cpp/das/das_java_classes/ResultSetShape.h
incubator/tuscany/cpp/das/das_java_classes/SDODataTypeHelper.cpp
incubator/tuscany/cpp/das/das_java_classes/SDODataTypeHelper.h
incubator/tuscany/cpp/das/das_java_classes/SDODataTypes.h
incubator/tuscany/cpp/das/das_java_classes/SPCommandImpl.cpp
incubator/tuscany/cpp/das/das_java_classes/SPCommandImpl.h
incubator/tuscany/cpp/das/das_java_classes/Statement.cpp
incubator/tuscany/cpp/das/das_java_classes/Statement.h
incubator/tuscany/cpp/das/das_java_classes/Table.h
incubator/tuscany/cpp/das/das_java_classes/TableData.cpp
incubator/tuscany/cpp/das/das_java_classes/TableData.h
incubator/tuscany/cpp/das/das_java_classes/TableImpl.cpp
incubator/tuscany/cpp/das/das_java_classes/TableImpl.h
incubator/tuscany/cpp/das/das_java_classes/TableWrapper.cpp
incubator/tuscany/cpp/das/das_java_classes/TableWrapper.h
incubator/tuscany/cpp/das/das_java_classes/Update.h
incubator/tuscany/cpp/das/das_java_classes/UpdateCommandImpl.cpp
incubator/tuscany/cpp/das/das_java_classes/UpdateCommandImpl.h
incubator/tuscany/cpp/das/das_java_classes/UpdateGenerator.cpp
incubator/tuscany/cpp/das/das_java_classes/UpdateGenerator.h
incubator/tuscany/cpp/das/das_java_classes/UpdateImpl.cpp
incubator/tuscany/cpp/das/das_java_classes/UpdateImpl.h
incubator/tuscany/cpp/das/das_java_classes/UpdateList.cpp
incubator/tuscany/cpp/das/das_java_classes/UpdateList.h
incubator/tuscany/cpp/das/das_java_classes/UpdateOperation.cpp
incubator/tuscany/cpp/das/das_java_classes/UpdateOperation.h
incubator/tuscany/cpp/das/das_java_classes/WriteCommandImpl.cpp
incubator/tuscany/cpp/das/das_java_classes/WriteCommandImpl.h
incubator/tuscany/cpp/das/das_java_classes/config/
incubator/tuscany/cpp/das/das_java_classes/config/Command.h
incubator/tuscany/cpp/das/das_java_classes/config/CommandImpl.cpp
incubator/tuscany/cpp/das/das_java_classes/config/CommandImpl.h
incubator/tuscany/cpp/das/runtime/core/include/
incubator/tuscany/cpp/das/runtime/core/include/apache/
incubator/tuscany/cpp/das/runtime/core/include/apache/das/
incubator/tuscany/cpp/das/runtime/core/include/apache/das/Command.h
incubator/tuscany/cpp/das/runtime/core/include/apache/das/DAS.h
incubator/tuscany/cpp/das/runtime/core/include/apache/das/DASFactory.h
incubator/tuscany/cpp/das/runtime/core/include/apache/das/NullPointerException.h
incubator/tuscany/cpp/das/runtime/core/include/apache/das/RefCountingObject.h
incubator/tuscany/cpp/das/runtime/core/include/apache/das/RefCountingPointer.h
incubator/tuscany/cpp/das/runtime/core/include/apache/das/rdb/
incubator/tuscany/cpp/das/runtime/core/include/apache/das/rdb/Column.h
incubator/tuscany/cpp/das/runtime/core/include/apache/das/rdb/ColumnData.h
incubator/tuscany/cpp/das/runtime/core/include/apache/das/rdb/CommandImpl.h
incubator/tuscany/cpp/das/runtime/core/include/apache/das/rdb/Config.h
incubator/tuscany/cpp/das/runtime/core/include/apache/das/rdb/Connection.h
incubator/tuscany/cpp/das/runtime/core/include/apache/das/rdb/DASFactoryImpl.h
incubator/tuscany/cpp/das/runtime/core/include/apache/das/rdb/DASImpl.h
incubator/tuscany/cpp/das/runtime/core/include/apache/das/rdb/Database.h
incubator/tuscany/cpp/das/runtime/core/include/apache/das/rdb/GraphBuilder.h
incubator/tuscany/cpp/das/runtime/core/include/apache/das/rdb/GraphBuilderMetaData.h
incubator/tuscany/cpp/das/runtime/core/include/apache/das/rdb/KeyPair.h
incubator/tuscany/cpp/das/runtime/core/include/apache/das/rdb/ODBCTypeHelper.h
incubator/tuscany/cpp/das/runtime/core/include/apache/das/rdb/PreparedStatement.h
incubator/tuscany/cpp/das/runtime/core/include/apache/das/rdb/ReadCommandImpl.h
incubator/tuscany/cpp/das/runtime/core/include/apache/das/rdb/Relationship.h
incubator/tuscany/cpp/das/runtime/core/include/apache/das/rdb/RelationshipWrapper.h
incubator/tuscany/cpp/das/runtime/core/include/apache/das/rdb/ResultSet.h
incubator/tuscany/cpp/das/runtime/core/include/apache/das/rdb/ResultSetMetaData.h
incubator/tuscany/cpp/das/runtime/core/include/apache/das/rdb/ResultSetPtr.h
incubator/tuscany/cpp/das/runtime/core/include/apache/das/rdb/SqlException.h
incubator/tuscany/cpp/das/runtime/core/include/apache/das/rdb/Statement.h
incubator/tuscany/cpp/das/runtime/core/include/apache/das/rdb/StatementPtr.h
incubator/tuscany/cpp/das/runtime/core/include/apache/das/rdb/Table.h
incubator/tuscany/cpp/das/runtime/core/include/apache/das/rdb/TableData.h
incubator/tuscany/cpp/das/runtime/core/include/apache/das/rdb/das_constants.h
incubator/tuscany/cpp/das/runtime/core/src/apache/
incubator/tuscany/cpp/das/runtime/core/src/apache/das/
incubator/tuscany/cpp/das/runtime/core/src/apache/das/Command.cpp
incubator/tuscany/cpp/das/runtime/core/src/apache/das/DAS.cpp
incubator/tuscany/cpp/das/runtime/core/src/apache/das/DASFactory.cpp
incubator/tuscany/cpp/das/runtime/core/src/apache/das/NullPointerException.cpp
incubator/tuscany/cpp/das/runtime/core/src/apache/das/RefCountingPointer.cpp
incubator/tuscany/cpp/das/runtime/core/src/apache/das/rdb/
incubator/tuscany/cpp/das/runtime/core/src/apache/das/rdb/Column.cpp
incubator/tuscany/cpp/das/runtime/core/src/apache/das/rdb/ColumnData.cpp
incubator/tuscany/cpp/das/runtime/core/src/apache/das/rdb/CommandImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/apache/das/rdb/Config.cpp
incubator/tuscany/cpp/das/runtime/core/src/apache/das/rdb/Connection.cpp
incubator/tuscany/cpp/das/runtime/core/src/apache/das/rdb/DASFactoryImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/apache/das/rdb/DASImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/apache/das/rdb/GraphBuilder.cpp
incubator/tuscany/cpp/das/runtime/core/src/apache/das/rdb/GraphBuilderMetaData.cpp
incubator/tuscany/cpp/das/runtime/core/src/apache/das/rdb/KeyPair.cpp
incubator/tuscany/cpp/das/runtime/core/src/apache/das/rdb/ODBCTypeHelper.cpp
incubator/tuscany/cpp/das/runtime/core/src/apache/das/rdb/PreparedStatement.cpp
incubator/tuscany/cpp/das/runtime/core/src/apache/das/rdb/ReadCommandImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/apache/das/rdb/Relationship.cpp
incubator/tuscany/cpp/das/runtime/core/src/apache/das/rdb/RelationshipWrapper.cpp
incubator/tuscany/cpp/das/runtime/core/src/apache/das/rdb/ResultSet.cpp
incubator/tuscany/cpp/das/runtime/core/src/apache/das/rdb/ResultSetMetaData.cpp
incubator/tuscany/cpp/das/runtime/core/src/apache/das/rdb/SqlException.cpp
incubator/tuscany/cpp/das/runtime/core/src/apache/das/rdb/Statement.cpp
incubator/tuscany/cpp/das/runtime/core/src/apache/das/rdb/Table.cpp
incubator/tuscany/cpp/das/runtime/core/src/apache/das/rdb/TableData.cpp
incubator/tuscany/cpp/das/runtime/core/src/apache/das/rdb/database.cpp
incubator/tuscany/cpp/das/runtime/core/src/apache/das/refcountingobject.cpp
Removed:
incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_lite/
incubator/tuscany/cpp/das/runtime/core/src/ApplyChangesCommandImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/ApplyChangesCommandImpl.h
incubator/tuscany/cpp/das/runtime/core/src/BaseCommandImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/BaseCommandImpl.h
incubator/tuscany/cpp/das/runtime/core/src/BaseGenerator.cpp
incubator/tuscany/cpp/das/runtime/core/src/BaseGenerator.h
incubator/tuscany/cpp/das/runtime/core/src/CallableStatement.h
incubator/tuscany/cpp/das/runtime/core/src/ChangeFactory.cpp
incubator/tuscany/cpp/das/runtime/core/src/ChangeFactory.h
incubator/tuscany/cpp/das/runtime/core/src/ChangeOperation.cpp
incubator/tuscany/cpp/das/runtime/core/src/ChangeOperation.h
incubator/tuscany/cpp/das/runtime/core/src/ChangeSummarizer.cpp
incubator/tuscany/cpp/das/runtime/core/src/ChangeSummarizer.h
incubator/tuscany/cpp/das/runtime/core/src/Changes.cpp
incubator/tuscany/cpp/das/runtime/core/src/Changes.h
incubator/tuscany/cpp/das/runtime/core/src/CollisionParameter.cpp
incubator/tuscany/cpp/das/runtime/core/src/CollisionParameter.h
incubator/tuscany/cpp/das/runtime/core/src/Column.h
incubator/tuscany/cpp/das/runtime/core/src/ColumnImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/ColumnImpl.h
incubator/tuscany/cpp/das/runtime/core/src/Command.h
incubator/tuscany/cpp/das/runtime/core/src/CommandImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/CommandImpl.h
incubator/tuscany/cpp/das/runtime/core/src/Config.h
incubator/tuscany/cpp/das/runtime/core/src/ConfigFactory.cpp
incubator/tuscany/cpp/das/runtime/core/src/ConfigFactory.h
incubator/tuscany/cpp/das/runtime/core/src/ConfigFactoryImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/ConfigFactoryImpl.h
incubator/tuscany/cpp/das/runtime/core/src/ConfigHelper.cpp
incubator/tuscany/cpp/das/runtime/core/src/ConfigHelper.h
incubator/tuscany/cpp/das/runtime/core/src/ConfigImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/ConfigImpl.h
incubator/tuscany/cpp/das/runtime/core/src/ConnectionImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/ConnectionImpl.h
incubator/tuscany/cpp/das/runtime/core/src/ConnectionInfo.h
incubator/tuscany/cpp/das/runtime/core/src/ConnectionInfoImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/ConnectionInfoImpl.h
incubator/tuscany/cpp/das/runtime/core/src/Converter.h
incubator/tuscany/cpp/das/runtime/core/src/Create.h
incubator/tuscany/cpp/das/runtime/core/src/CreateImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/CreateImpl.h
incubator/tuscany/cpp/das/runtime/core/src/CreateOperation.cpp
incubator/tuscany/cpp/das/runtime/core/src/CreateOperation.h
incubator/tuscany/cpp/das/runtime/core/src/DAS.cpp
incubator/tuscany/cpp/das/runtime/core/src/DAS.h
incubator/tuscany/cpp/das/runtime/core/src/DASFactory.h
incubator/tuscany/cpp/das/runtime/core/src/DASFactoryImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/DASFactoryImpl.h
incubator/tuscany/cpp/das/runtime/core/src/DASImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/DASImpl.h
incubator/tuscany/cpp/das/runtime/core/src/DASObject.cpp
incubator/tuscany/cpp/das/runtime/core/src/DASObject.h
incubator/tuscany/cpp/das/runtime/core/src/DASPointer.h
incubator/tuscany/cpp/das/runtime/core/src/DASValues.h
incubator/tuscany/cpp/das/runtime/core/src/DataObjectMaker.cpp
incubator/tuscany/cpp/das/runtime/core/src/DataObjectMaker.h
incubator/tuscany/cpp/das/runtime/core/src/DatabaseObject.cpp
incubator/tuscany/cpp/das/runtime/core/src/DatabaseObject.h
incubator/tuscany/cpp/das/runtime/core/src/DefaultConverter.cpp
incubator/tuscany/cpp/das/runtime/core/src/DefaultConverter.h
incubator/tuscany/cpp/das/runtime/core/src/Delete.h
incubator/tuscany/cpp/das/runtime/core/src/DeleteCommandImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/DeleteCommandImpl.h
incubator/tuscany/cpp/das/runtime/core/src/DeleteGenerator.cpp
incubator/tuscany/cpp/das/runtime/core/src/DeleteGenerator.h
incubator/tuscany/cpp/das/runtime/core/src/DeleteImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/DeleteImpl.h
incubator/tuscany/cpp/das/runtime/core/src/DeleteList.cpp
incubator/tuscany/cpp/das/runtime/core/src/DeleteList.h
incubator/tuscany/cpp/das/runtime/core/src/DeleteOperation.cpp
incubator/tuscany/cpp/das/runtime/core/src/DeleteOperation.h
incubator/tuscany/cpp/das/runtime/core/src/FactoryRegistry.cpp
incubator/tuscany/cpp/das/runtime/core/src/FactoryRegistry.h
incubator/tuscany/cpp/das/runtime/core/src/GraphBuilderMetadata.cpp
incubator/tuscany/cpp/das/runtime/core/src/GraphBuilderMetadata.h
incubator/tuscany/cpp/das/runtime/core/src/InsertCommandImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/InsertCommandImpl.h
incubator/tuscany/cpp/das/runtime/core/src/InsertGenerator.cpp
incubator/tuscany/cpp/das/runtime/core/src/InsertGenerator.h
incubator/tuscany/cpp/das/runtime/core/src/InsertList.cpp
incubator/tuscany/cpp/das/runtime/core/src/InsertList.h
incubator/tuscany/cpp/das/runtime/core/src/KeyPair.h
incubator/tuscany/cpp/das/runtime/core/src/KeyPairImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/KeyPairImpl.h
incubator/tuscany/cpp/das/runtime/core/src/ManagedParameterImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/ManagedParameterImpl.h
incubator/tuscany/cpp/das/runtime/core/src/MappingWrapper.cpp
incubator/tuscany/cpp/das/runtime/core/src/MappingWrapper.h
incubator/tuscany/cpp/das/runtime/core/src/MultiTableRegistry.cpp
incubator/tuscany/cpp/das/runtime/core/src/MultiTableRegistry.h
incubator/tuscany/cpp/das/runtime/core/src/OptimisticWriteCommandImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/OptimisticWriteCommandImpl.h
incubator/tuscany/cpp/das/runtime/core/src/Pager.h
incubator/tuscany/cpp/das/runtime/core/src/PagerImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/PagerImpl.h
incubator/tuscany/cpp/das/runtime/core/src/Parameter.h
incubator/tuscany/cpp/das/runtime/core/src/ParameterImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/ParameterImpl.h
incubator/tuscany/cpp/das/runtime/core/src/Parameters.cpp
incubator/tuscany/cpp/das/runtime/core/src/Parameters.h
incubator/tuscany/cpp/das/runtime/core/src/PreparedStatement.cpp
incubator/tuscany/cpp/das/runtime/core/src/PreparedStatement.h
incubator/tuscany/cpp/das/runtime/core/src/QualifiedColumn.cpp
incubator/tuscany/cpp/das/runtime/core/src/QualifiedColumn.h
incubator/tuscany/cpp/das/runtime/core/src/ReadCommandImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/ReadCommandImpl.h
incubator/tuscany/cpp/das/runtime/core/src/Relationship.h
incubator/tuscany/cpp/das/runtime/core/src/RelationshipImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/RelationshipImpl.h
incubator/tuscany/cpp/das/runtime/core/src/RelationshipWrapper.cpp
incubator/tuscany/cpp/das/runtime/core/src/RelationshipWrapper.h
incubator/tuscany/cpp/das/runtime/core/src/ResultDescriptor.h
incubator/tuscany/cpp/das/runtime/core/src/ResultDescriptorImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/ResultDescriptorImpl.h
incubator/tuscany/cpp/das/runtime/core/src/ResultMetadata.cpp
incubator/tuscany/cpp/das/runtime/core/src/ResultMetadata.h
incubator/tuscany/cpp/das/runtime/core/src/ResultSet.h
incubator/tuscany/cpp/das/runtime/core/src/ResultSetMetaData.h
incubator/tuscany/cpp/das/runtime/core/src/ResultSetShape.cpp
incubator/tuscany/cpp/das/runtime/core/src/ResultSetShape.h
incubator/tuscany/cpp/das/runtime/core/src/SDODataTypeHelper.cpp
incubator/tuscany/cpp/das/runtime/core/src/SDODataTypeHelper.h
incubator/tuscany/cpp/das/runtime/core/src/SDODataTypes.h
incubator/tuscany/cpp/das/runtime/core/src/SPCommandImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/SPCommandImpl.h
incubator/tuscany/cpp/das/runtime/core/src/Statement.cpp
incubator/tuscany/cpp/das/runtime/core/src/Statement.h
incubator/tuscany/cpp/das/runtime/core/src/Table.h
incubator/tuscany/cpp/das/runtime/core/src/TableData.cpp
incubator/tuscany/cpp/das/runtime/core/src/TableData.h
incubator/tuscany/cpp/das/runtime/core/src/TableImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/TableImpl.h
incubator/tuscany/cpp/das/runtime/core/src/TableWrapper.cpp
incubator/tuscany/cpp/das/runtime/core/src/TableWrapper.h
incubator/tuscany/cpp/das/runtime/core/src/Update.h
incubator/tuscany/cpp/das/runtime/core/src/UpdateCommandImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/UpdateCommandImpl.h
incubator/tuscany/cpp/das/runtime/core/src/UpdateGenerator.cpp
incubator/tuscany/cpp/das/runtime/core/src/UpdateGenerator.h
incubator/tuscany/cpp/das/runtime/core/src/UpdateImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/UpdateImpl.h
incubator/tuscany/cpp/das/runtime/core/src/UpdateList.cpp
incubator/tuscany/cpp/das/runtime/core/src/UpdateList.h
incubator/tuscany/cpp/das/runtime/core/src/UpdateOperation.cpp
incubator/tuscany/cpp/das/runtime/core/src/UpdateOperation.h
incubator/tuscany/cpp/das/runtime/core/src/WriteCommandImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/WriteCommandImpl.h
incubator/tuscany/cpp/das/runtime/core/src/config/
incubator/tuscany/cpp/das/runtime/das_lite/
Modified:
incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.sln
incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.suo
incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.vcproj
incubator/tuscany/cpp/das/VSExpress/tuscany_das/tuscany_das.sln
incubator/tuscany/cpp/das/VSExpress/tuscany_das/tuscany_das.suo
Modified: incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.sln
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.sln?view=diff&rev=537297&r1=537296&r2=537297
==============================================================================
--- incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.sln (original)
+++ incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.sln Fri May 11 14:36:45 2007
@@ -3,8 +3,6 @@
# Visual C++ Express 2005
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "das_runtime", "das_runtime.vcproj", "{964F3F93-8D1C-46BE-9724-2313CE7380AA}"
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "das_lite", "..\das_lite\das_lite.vcproj", "{FFDC7773-6FA6-4477-8624-8D96AACB6BF0}"
-EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
@@ -14,10 +12,6 @@
{964F3F93-8D1C-46BE-9724-2313CE7380AA}.Debug|Win32.ActiveCfg = Debug|Win32
{964F3F93-8D1C-46BE-9724-2313CE7380AA}.Release|Win32.ActiveCfg = Release|Win32
{964F3F93-8D1C-46BE-9724-2313CE7380AA}.Release|Win32.Build.0 = Release|Win32
- {FFDC7773-6FA6-4477-8624-8D96AACB6BF0}.Debug|Win32.ActiveCfg = Debug|Win32
- {FFDC7773-6FA6-4477-8624-8D96AACB6BF0}.Debug|Win32.Build.0 = Debug|Win32
- {FFDC7773-6FA6-4477-8624-8D96AACB6BF0}.Release|Win32.ActiveCfg = Release|Win32
- {FFDC7773-6FA6-4477-8624-8D96AACB6BF0}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Modified: incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.suo
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.suo?view=diff&rev=537297&r1=537296&r2=537297
==============================================================================
Binary files - no diff available.
Modified: incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.vcproj
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.vcproj?view=diff&rev=537297&r1=537296&r2=537297
==============================================================================
--- incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.vcproj (original)
+++ incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.vcproj Fri May 11 14:36:45 2007
@@ -114,13 +114,13 @@
</Configuration>
<Configuration
Name="Debug|Win32"
- OutputDirectory=".\Debug"
- IntermediateDirectory=".\Debug"
- ConfigurationType="2"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="4"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
- CharacterSet="2"
+ CharacterSet="0"
>
<Tool
Name="VCPreBuildEventTool"
@@ -146,16 +146,16 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
- AdditionalIncludeDirectories="..\..\..\runtime\core\src,$(LIBXML2_HOME)\include,$(ICONV_HOME)\include,$(ZLIB_HOME)\include, ..\..\..\..\..\sdo\include"
- PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;SDO_EXPORTS;_CRT_SECURE_NO_DEPRECATE"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
+ AdditionalIncludeDirectories=""$(VCInstallDir)\include";..\..\..\runtime\core\include;"C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\crt";"C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include";"$(TUSCANY_SDOCPP)\include";"%LIBXML2_HOME%\include";"%ZLIB_HOME%\include";"%ICONV_HOME%\include""
+ PreprocessorDefinitions="WIN32;_DEBUG"
+ MinimalRebuild="false"
+ BasicRuntimeChecks="0"
RuntimeLibrary="3"
- PrecompiledHeaderFile=".\Debug/sdo_runtime.pch"
- AssemblerListingLocation=".\Debug/"
- ObjectFile=".\Debug/"
- ProgramDataBaseFileName=".\Debug/"
- WarningLevel="3"
+ PrecompiledHeaderFile=""
+ AssemblerListingLocation=""
+ ObjectFile="$(IntDir)\"
+ ProgramDataBaseFileName="$(IntDir)\vc80.pdb"
+ WarningLevel="1"
SuppressStartupBanner="true"
DebugInformationFormat="4"
/>
@@ -171,24 +171,12 @@
Name="VCPreLinkEventTool"
/>
<Tool
- Name="VCLinkerTool"
- AdditionalDependencies="libxml2.lib $(NOINHERIT)"
- OutputFile="Debug\tuscany_sdo.dll"
- LinkIncremental="2"
- SuppressStartupBanner="true"
- AdditionalLibraryDirectories="$(LIBXML2_HOME)\lib"
- GenerateDebugInformation="true"
- ProgramDatabaseFile=".\Debug/tuscany_sdo.pdb"
- ImportLibrary=".\Debug/tuscany_sdo.lib"
- TargetMachine="1"
+ Name="VCLibrarianTool"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
- Name="VCManifestTool"
- />
- <Tool
Name="VCXDCMakeTool"
/>
<Tool
@@ -200,15 +188,8 @@
Name="VCFxCopTool"
/>
<Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
Name="VCPostBuildEventTool"
- Description="deploy"
- CommandLine="..\..\..\runtime\core\src\deploy.bat ..\..\..\ Debug"
+ CommandLine=""
/>
</Configuration>
</Configurations>
@@ -219,654 +200,270 @@
Name="Source Files"
Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
>
- <File
- RelativePath="..\..\..\runtime\core\src\ApplyChangesCommandImpl.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\BaseCommandImpl.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\BaseGenerator.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ChangeFactory.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ChangeOperation.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\Changes.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ChangeSummarizer.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\CollisionParameter.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ColumnImpl.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\CommandImpl.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ConfigFactory.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ConfigFactoryImpl.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ConfigHelper.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ConfigImpl.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ConnectionImpl.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ConnectionInfoImpl.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\CreateImpl.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\CreateOperation.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\DAS.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\DASFactoryImpl.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\DASImpl.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\DASObject.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- ObjectFile="$(IntDir)\$(InputName)1.obj"
- XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- ObjectFile="$(IntDir)\$(InputName)1.obj"
- XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\DatabaseObject.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\DataObjectMaker.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\DefaultConverter.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\DeleteCommandImpl.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\DeleteGenerator.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\DeleteImpl.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\DeleteList.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\DeleteOperation.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\FactoryRegistry.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\GraphBuilderMetadata.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\InsertCommandImpl.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\InsertGenerator.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\InsertList.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\KeyPairImpl.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ManagedParameterImpl.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\MappingWrapper.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\MultiTableRegistry.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\OptimisticWriteCommandImpl.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\PagerImpl.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ParameterImpl.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\Parameters.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\PreparedStatement.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\QualifiedColumn.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ReadCommandImpl.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\RelationshipImpl.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\RelationshipWrapper.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ResultDescriptorImpl.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ResultMetadata.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ResultSetShape.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\SDODataTypeHelper.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\SPCommandImpl.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\Statement.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\TableData.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\TableImpl.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\TableWrapper.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\UpdateCommandImpl.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\UpdateGenerator.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\UpdateImpl.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\UpdateList.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\UpdateOperation.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\WriteCommandImpl.cpp"
- >
- </File>
<Filter
- Name="Config"
+ Name="apache"
>
- <File
- RelativePath="..\..\..\runtime\core\src\config\CommandImpl.cpp"
+ <Filter
+ Name="das"
>
- <FileConfiguration
- Name="Release|Win32"
+ <File
+ RelativePath="..\..\..\runtime\core\src\apache\das\Command.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\apache\das\DAS.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\apache\das\DASFactory.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\apache\das\NullPointerException.cpp"
>
- <Tool
- Name="VCCLCompilerTool"
- ObjectFile="$(IntDir)\$(InputName)1.obj"
- XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- ObjectFile="$(IntDir)\$(InputName)1.obj"
- XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
- />
- </FileConfiguration>
- </File>
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\apache\das\RefCountingObject.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\apache\das\RefCountingPointer.cpp"
+ >
+ </File>
+ <Filter
+ Name="rdb"
+ >
+ <File
+ RelativePath="..\..\..\runtime\core\src\apache\das\rdb\Column.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\apache\das\rdb\ColumnData.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\apache\das\rdb\CommandImpl.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\apache\das\rdb\Config.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\apache\das\rdb\Connection.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\apache\das\rdb\DASFactoryImpl.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\apache\das\rdb\DASImpl.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\apache\das\rdb\Database.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\apache\das\rdb\GraphBuilder.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\apache\das\rdb\GraphBuilderMetaData.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\apache\das\rdb\KeyPair.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\apache\das\rdb\ODBCTypeHelper.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\apache\das\rdb\PreparedStatement.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\apache\das\rdb\ReadCommandImpl.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\apache\das\rdb\Relationship.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\apache\das\rdb\RelationshipWrapper.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\apache\das\rdb\ResultSet.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\apache\das\rdb\ResultSetMetaData.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\apache\das\rdb\SqlException.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\apache\das\rdb\Statement.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\apache\das\rdb\Table.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\apache\das\rdb\TableData.cpp"
+ >
+ </File>
+ </Filter>
+ </Filter>
</Filter>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl"
>
- <File
- RelativePath="..\..\..\runtime\core\src\ApplyChangesCommandImpl.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\BaseCommandImpl.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\BaseGenerator.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\CallableStatement.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ChangeFactory.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ChangeOperation.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\Changes.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ChangeSummarizer.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\CollisionParameter.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\Column.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ColumnImpl.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\Command.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\CommandImpl.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\Config.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ConfigFactory.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ConfigFactoryImpl.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ConfigHelper.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ConfigImpl.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ConnectionImpl.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ConnectionInfo.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ConnectionInfoImpl.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\Converter.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\Create.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\CreateImpl.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\CreateOperation.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\DAS.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\DASFactory.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\DASFactoryImpl.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\DASImpl.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\DASObject.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\DASPointer.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\DASValues.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\DatabaseObject.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\DataObjectMaker.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\DefaultConverter.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\Delete.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\DeleteCommandImpl.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\DeleteGenerator.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\DeleteImpl.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\DeleteList.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\DeleteOperation.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\FactoryRegistry.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\GraphBuilderMetadata.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\InsertCommandImpl.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\InsertGenerator.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\InsertList.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\KeyPair.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\KeyPairImpl.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ManagedParameterImpl.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\MappingWrapper.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\MultiTableRegistry.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\OptimisticWriteCommandImpl.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\Pager.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\PagerImpl.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\Parameter.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ParameterImpl.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\Parameters.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\PreparedStatement.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\QualifiedColumn.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ReadCommandImpl.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\Relationship.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\RelationshipImpl.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\RelationshipWrapper.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ResultDescriptor.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ResultDescriptorImpl.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ResultMetadata.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ResultSet.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ResultSetMetaData.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\ResultSetShape.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\SDODataTypeHelper.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\SDODataTypes.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\SPCommandImpl.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\Statement.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\Table.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\TableData.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\TableImpl.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\TableWrapper.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\Update.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\UpdateCommandImpl.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\UpdateGenerator.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\UpdateImpl.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\UpdateList.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\UpdateOperation.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\WriteCommandImpl.h"
- >
- </File>
<Filter
- Name="Config"
+ Name="apache"
>
- <File
- RelativePath="..\..\..\runtime\core\src\config\Command.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\core\src\config\CommandImpl.h"
+ <Filter
+ Name="das"
>
- </File>
+ <File
+ RelativePath="..\..\..\runtime\core\include\apache\das\Command.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\include\apache\das\DAS.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\include\apache\das\DASFactory.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\include\apache\das\NullPointerException.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\include\apache\das\RefCountingObject.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\include\apache\das\RefCountingPointer.h"
+ >
+ </File>
+ <Filter
+ Name="rdb"
+ >
+ <File
+ RelativePath="..\..\..\runtime\core\include\apache\das\rdb\Column.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\include\apache\das\rdb\ColumnData.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\include\apache\das\rdb\CommandImpl.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\include\apache\das\rdb\Config.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\include\apache\das\rdb\Connection.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\include\apache\das\rdb\das_constants.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\include\apache\das\rdb\DASFactoryImpl.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\include\apache\das\rdb\DASImpl.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\include\apache\das\rdb\Database.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\include\apache\das\rdb\GraphBuilder.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\include\apache\das\rdb\GraphBuilderMetaData.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\include\apache\das\rdb\KeyPair.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\include\apache\das\rdb\ODBCTypeHelper.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\include\apache\das\rdb\PreparedStatement.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\include\apache\das\rdb\ReadCommandImpl.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\include\apache\das\rdb\Relationship.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\include\apache\das\rdb\RelationshipWrapper.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\include\apache\das\rdb\ResultSet.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\include\apache\das\rdb\ResultSetMetaData.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\include\apache\das\rdb\ResultSetPtr.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\include\apache\das\rdb\SqlException.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\include\apache\das\rdb\Statement.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\include\apache\das\rdb\StatementPtr.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\include\apache\das\rdb\Table.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\include\apache\das\rdb\TableData.h"
+ >
+ </File>
+ </Filter>
+ </Filter>
</Filter>
</Filter>
<Filter
Modified: incubator/tuscany/cpp/das/VSExpress/tuscany_das/tuscany_das.sln
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/VSExpress/tuscany_das/tuscany_das.sln?view=diff&rev=537297&r1=537296&r2=537297
==============================================================================
--- incubator/tuscany/cpp/das/VSExpress/tuscany_das/tuscany_das.sln (original)
+++ incubator/tuscany/cpp/das/VSExpress/tuscany_das/tuscany_das.sln Fri May 11 14:36:45 2007
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 9.00
# Visual C++ Express 2005
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Build", "Build\Build.vcproj", "{9540B934-24BA-45F0-965B-8231E256DF03}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "das_runtime", "das_runtime\das_runtime.vcproj", "{964F3F93-8D1C-46BE-9724-2313CE7380AA}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -9,10 +9,10 @@
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {9540B934-24BA-45F0-965B-8231E256DF03}.Debug|Win32.ActiveCfg = Debug|Win32
- {9540B934-24BA-45F0-965B-8231E256DF03}.Debug|Win32.Build.0 = Debug|Win32
- {9540B934-24BA-45F0-965B-8231E256DF03}.Release|Win32.ActiveCfg = Release|Win32
- {9540B934-24BA-45F0-965B-8231E256DF03}.Release|Win32.Build.0 = Release|Win32
+ {964F3F93-8D1C-46BE-9724-2313CE7380AA}.Debug|Win32.ActiveCfg = Debug|Win32
+ {964F3F93-8D1C-46BE-9724-2313CE7380AA}.Debug|Win32.Build.0 = Debug|Win32
+ {964F3F93-8D1C-46BE-9724-2313CE7380AA}.Release|Win32.ActiveCfg = Release|Win32
+ {964F3F93-8D1C-46BE-9724-2313CE7380AA}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Modified: incubator/tuscany/cpp/das/VSExpress/tuscany_das/tuscany_das.suo
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/VSExpress/tuscany_das/tuscany_das.suo?view=diff&rev=537297&r1=537296&r2=537297
==============================================================================
Binary files - no diff available.
Added: incubator/tuscany/cpp/das/das_java_classes/ApplyChangesCommandImpl.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/das_java_classes/ApplyChangesCommandImpl.cpp?view=auto&rev=537297
==============================================================================
--- incubator/tuscany/cpp/das/das_java_classes/ApplyChangesCommandImpl.cpp (added)
+++ incubator/tuscany/cpp/das/das_java_classes/ApplyChangesCommandImpl.cpp Fri May 11 14:36:45 2007
@@ -0,0 +1,64 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+#include "ApplyChangesCommandImpl.h"
+
+ApplyChangesCommandImpl::ApplyChangesCommandImpl(MappingWrapper* aConfig, HSTMT* connection) {
+ iConfigWrapper = aConfig;
+
+ if (connection != NULL) {
+ BaseCommandImpl::setConnection(connection, aConfig->getConfig());
+ }
+
+}
+
+ApplyChangesCommandImpl::~ApplyChangesCommandImpl() {
+}
+
+void ApplyChangesCommandImpl::setConnection(ConnectionImpl* connection) {
+ summarizer->setConnection(connection);
+}
+
+void ApplyChangesCommandImpl::execute(DataObject* root) {
+
+ if (summarizer->getConnection() == NULL) {
+ //throw new RuntimeException("A connection must be provided");
+ }
+
+ if (root != root->getDataObject("/")) {
+ //throw new RuntimeException("'root' argument must be the root of the datagraph");
+ }
+
+ summarizer->setMapping(iConfigWrapper);
+
+ Changes* changes = summarizer->loadChanges(root);
+
+ bool success = false;
+
+ //try {
+ changes->execute();
+ success = true;
+ //} finally {
+ if (success) {
+ summarizer->getConnection()->cleanUp();
+ } else {
+ summarizer->getConnection()->errorCleanUp();
+ }
+ //}
+
+}
\ No newline at end of file
Added: incubator/tuscany/cpp/das/das_java_classes/ApplyChangesCommandImpl.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/das_java_classes/ApplyChangesCommandImpl.h?view=auto&rev=537297
==============================================================================
--- incubator/tuscany/cpp/das/das_java_classes/ApplyChangesCommandImpl.h (added)
+++ incubator/tuscany/cpp/das/das_java_classes/ApplyChangesCommandImpl.h Fri May 11 14:36:45 2007
@@ -0,0 +1,48 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+#ifndef APPLY_CHANGES_COMMAND_IMPL_H
+#define APPLY_CHANGES_COMMAND_IMPL_H
+
+#include <windows.h>
+#include <sql.h>
+#include <string>
+
+#include "commonj/sdo/DataObject.h"
+
+#include "BaseCommandImpl.h"
+#include "ChangeSummarizer.h"
+#include "ConnectionImpl.h"
+#include "MappingWrapper.h"
+
+using namespace commonj::sdo;
+
+class ApplyChangesCommandImpl : public BaseCommandImpl {
+
+ private:
+ ChangeSummarizer* summarizer;
+
+ public:
+ ApplyChangesCommandImpl(MappingWrapper* config, HSTMT* connection);
+ virtual ~ApplyChangesCommandImpl(void);
+ void setConnection(ConnectionImpl* connection);
+ void execute(DataObject* root);
+
+};
+
+#endif //APPLY_CHANGES_COMMAND_IMPL_H
\ No newline at end of file
Added: incubator/tuscany/cpp/das/das_java_classes/BaseCommandImpl.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/das_java_classes/BaseCommandImpl.cpp?view=auto&rev=537297
==============================================================================
--- incubator/tuscany/cpp/das/das_java_classes/BaseCommandImpl.cpp (added)
+++ incubator/tuscany/cpp/das/das_java_classes/BaseCommandImpl.cpp Fri May 11 14:36:45 2007
@@ -0,0 +1,53 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+#include "BaseCommandImpl.h"
+
+BaseCommandImpl::BaseCommandImpl(void) {
+ iConfigWrapper = new MappingWrapper;
+}
+
+BaseCommandImpl::~BaseCommandImpl(void) {
+}
+
+void BaseCommandImpl::setConnection(HDBC* connection) {
+ setConnection(new ConnectionImpl(connection));
+}
+
+void BaseCommandImpl::setConnection(HDBC* connection, Config* config) {
+ bool managed = true;
+
+ if (config != NULL && config->getConnectionInfo() != NULL) {
+ managed = config->getConnectionInfo()->isManagedtx();
+ }
+
+ setConnection(connection, managed);
+
+}
+
+void BaseCommandImpl::setConnection(HDBC* connection, bool manageTransaction) {
+ ConnectionImpl* c = new ConnectionImpl(connection);
+
+ c->setManageTransactions(manageTransaction);
+ setConnection(c);
+
+}
+
+void BaseCommandImpl::setConfigWrapper(MappingWrapper* configWrapper) {
+ iConfigWrapper = configWrapper;
+}
\ No newline at end of file
Added: incubator/tuscany/cpp/das/das_java_classes/BaseCommandImpl.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/das_java_classes/BaseCommandImpl.h?view=auto&rev=537297
==============================================================================
--- incubator/tuscany/cpp/das/das_java_classes/BaseCommandImpl.h (added)
+++ incubator/tuscany/cpp/das/das_java_classes/BaseCommandImpl.h Fri May 11 14:36:45 2007
@@ -0,0 +1,45 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+#ifndef BASE_COMMAND_IMPL_H
+#define BASE_COMMAND_IMPL_H
+
+#include <windows.h>
+#include <sql.h>
+
+#include "MappingWrapper.h"
+#include "ConnectionImpl.h"
+#include "Config.h"
+
+class BaseCommandImpl {
+
+ protected:
+ MappingWrapper* iConfigWrapper;
+
+ public:
+ BaseCommandImpl(void);
+ virtual ~BaseCommandImpl(void);
+ void setConnection(HDBC* connection);
+ virtual void setConnection(HDBC* connection, Config* config);
+ void setConnection(HDBC* connection, bool manageTransaction);
+ virtual void setConnection(ConnectionImpl* c);
+ void setConfigWrapper(MappingWrapper* configWrapper);
+
+};
+
+#endif //BASE_COMMAND_IMPL_H
Added: incubator/tuscany/cpp/das/das_java_classes/BaseGenerator.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/das_java_classes/BaseGenerator.cpp?view=auto&rev=537297
==============================================================================
--- incubator/tuscany/cpp/das/das_java_classes/BaseGenerator.cpp (added)
+++ incubator/tuscany/cpp/das/das_java_classes/BaseGenerator.cpp Fri May 11 14:36:45 2007
@@ -0,0 +1,35 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+#include "BaseGenerator.h"
+
+Converter* BaseGenerator::getConverter(const string* converter) const {
+
+ if (converter != NULL) {
+
+ //try {
+// return (Converter*) Thread.currentThread().getContextClassLoader().loadClass(converter).newInstance();
+ // } catch (Exception ex) {
+ // throw new RuntimeException(ex);
+ // }
+
+ }
+
+ return NULL;
+
+}
\ No newline at end of file
Added: incubator/tuscany/cpp/das/das_java_classes/BaseGenerator.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/das_java_classes/BaseGenerator.h?view=auto&rev=537297
==============================================================================
--- incubator/tuscany/cpp/das/das_java_classes/BaseGenerator.h (added)
+++ incubator/tuscany/cpp/das/das_java_classes/BaseGenerator.h Fri May 11 14:36:45 2007
@@ -0,0 +1,35 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+#ifndef BASE_GENERATOR_H
+#define BASE_GENERATOR_H
+
+#include <string>
+
+#include "Converter.h"
+
+using namespace std;
+
+class BaseGenerator {
+
+ protected:
+ Converter* getConverter(const string* converter) const;
+
+};
+
+#endif //BASE_GENERATOR_H
\ No newline at end of file
Added: incubator/tuscany/cpp/das/das_java_classes/CallableStatement.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/das_java_classes/CallableStatement.h?view=auto&rev=537297
==============================================================================
--- incubator/tuscany/cpp/das/das_java_classes/CallableStatement.h (added)
+++ incubator/tuscany/cpp/das/das_java_classes/CallableStatement.h Fri May 11 14:36:45 2007
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+#ifndef CALLABLE_STATEMENT_H
+#define CALLABLE_STATEMENT_H
+
+class CallableStatement {
+
+ public:
+ CallableStatement(void);
+
+};
+
+#endif //CALLABLE_STATEMENT_H
\ No newline at end of file
Added: incubator/tuscany/cpp/das/das_java_classes/ChangeFactory.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/das_java_classes/ChangeFactory.cpp?view=auto&rev=537297
==============================================================================
--- incubator/tuscany/cpp/das/das_java_classes/ChangeFactory.cpp (added)
+++ incubator/tuscany/cpp/das/das_java_classes/ChangeFactory.cpp Fri May 11 14:36:45 2007
@@ -0,0 +1,198 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+#include "ChangeFactory.h"
+
+ChangeFactory::ChangeFactory(MappingWrapper* aMapping, ConnectionImpl* aConnection) {
+ iMapping = aMapping;
+ iConnection = aConnection;
+
+}
+
+ChangeFactory::~ChangeFactory(void) {
+}
+
+void ChangeFactory::setCreateCommand(InsertCommandImpl* cmd) {
+ iCreateCommand = cmd;
+}
+
+void ChangeFactory::setUpdateCommand(UpdateCommandImpl* cmd) {
+ iUpdateCommand = cmd;
+}
+
+void ChangeFactory::setDeleteCommand(DeleteCommandImpl* cmd) {
+ iDeleteCommand = cmd;
+}
+
+ChangeOperation* ChangeFactory::createUpdateOperation(DataObject* changedObject, string propagatedID) {
+ return new UpdateOperation(getUpdateCommand(changedObject), changedObject, propagatedID);
+}
+
+ChangeOperation* ChangeFactory::createUpdateOperation(DataObject* changedObject) {
+ return createUpdateOperation(changedObject, NULL);
+}
+
+ChangeOperation* ChangeFactory::createDeleteOperation(DataObject* changedObject) {
+ return new DeleteOperation(getDeleteCommand(changedObject), changedObject);
+}
+
+ChangeOperation* ChangeFactory::createInsertOperation(DataObject* changedObject, string propagatedID) {
+ return new CreateOperation(getCreateCommand(changedObject), changedObject, propagatedID);
+}
+
+InsertCommandImpl* ChangeFactory::getCreateCommand(DataObject* changedObject) {
+
+ if (iCreateCommand == NULL) {
+ Table* table = iMapping->getTableByTypeName(changedObject->getType().getName());
+
+ if (table == NULL) {
+
+ const Property* prop = NULL;
+
+ try {
+ prop = &(changedObject->getType().getProperty("ID"));
+ } catch (SDOPropertyNotFoundException& ex) {
+ //delete allocated objects
+ //throw new RuntimeException("Table " + changedObject.getType().getName()
+ // + " was changed in the DataGraph but is not present in the Config");
+ throw;
+
+ }
+
+ // If the table is not defined in the config, assume it has a primary key of "ID"
+ iMapping->addPrimaryKey(((string) changedObject->getType().getName()) + ".ID");
+ table = iMapping->getTableByTypeName(changedObject->getType().getName());
+
+
+ }
+
+ Create* create = table->getCreate();
+
+ if (create == NULL) {
+ iCreateCommand = InsertGenerator::INSTANCE.getInsertCommand(iMapping, changedObject, table);
+ } else {
+ iCreateCommand = new InsertCommandImpl(create);
+ }
+
+ iCreateCommand->setConnection(iConnection);
+ iCreateCommand->setConfigWrapper(iMapping);
+
+ }
+
+ return iCreateCommand;
+
+}
+
+DeleteCommandImpl* ChangeFactory::getDeleteCommand(DataObject* changedObject) {
+
+ if (iDeleteCommand == NULL) {
+ Table* table = iMapping->getTableByTypeName(changedObject->getType().getName());
+
+ if (table == NULL) {
+
+ const Property* prop = NULL;
+
+ try {
+ prop = &(changedObject->getType().getProperty("ID"));
+ } catch (SDOPropertyNotFoundException& ex) {
+ //delete allocated objects
+ //throw new RuntimeException("Table " + changedObject.getType().getName()
+ // + " was changed in the DataGraph but is not present in the Config");
+ throw;
+
+ }
+
+ // If the table is not defined in the config, assume it has a primary key of "ID"
+ iMapping->addPrimaryKey(changedObject->getType().getName() + ((string) ".ID"));
+ table = iMapping->getTableByTypeName(changedObject->getType().getName());
+
+ }
+
+ Delete* delet = table->getDelete();
+
+ if (delet == NULL) {
+ iDeleteCommand = DeleteGenerator::INSTANCE.getDeleteCommand(table);
+ } else {
+ iDeleteCommand = new DeleteCommandImpl(delet);
+ }
+
+ iDeleteCommand->setConnection(iConnection);
+ iDeleteCommand->setConfigWrapper(iMapping);
+
+ }
+
+ return iDeleteCommand;
+
+}
+
+UpdateCommandImpl* ChangeFactory::getUpdateCommand(DataObject* changedObject) {
+
+ if (iUpdateCommand == NULL) {
+ Table* table = iMapping->getTableByTypeName(changedObject->getType().getName());
+
+ if (table == NULL) {
+
+ const Property* prop = NULL;
+
+ try {
+ prop = &(changedObject->getType().getProperty("ID"));
+ } catch (SDOPropertyNotFoundException& ex) {
+ //delete allocated objects
+ //throw new RuntimeException("Table " + changedObject.getType().getName()
+ // + " was changed in the DataGraph but is not present in the Config");
+ throw;
+
+ }
+
+ iMapping->addPrimaryKey(((string) changedObject->getType().getName()) + ((string) ".ID"));
+ table = iMapping->getTableByTypeName(changedObject->getType().getName());
+
+ }
+
+ Update* update = table->getUpdate();
+
+ if (update == NULL) {
+ iUpdateCommand = UpdateGenerator::INSTANCE.getUpdateCommand(iMapping, changedObject, table);
+ } else {
+
+ TableWrapper t(table);
+
+ if (t.getCollisionColumn() != NULL) {
+ iUpdateCommand = new OptimisticWriteCommandImpl(update);
+ } else {
+ iUpdateCommand = new UpdateCommandImpl(update);
+ }
+
+ }
+
+ iUpdateCommand->setConnection(iConnection);
+ iUpdateCommand->setConfigWrapper(iMapping);
+
+ }
+
+ /*if (this.logger.isDebugEnabled()) {
+ this.logger.debug("Returning updateCommand: " + updateCommand);
+ }*/
+
+ return iUpdateCommand;
+
+}
+
+MappingWrapper* ChangeFactory::getConfig(void) {
+ return iMapping;
+}
\ No newline at end of file
Added: incubator/tuscany/cpp/das/das_java_classes/ChangeFactory.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/das_java_classes/ChangeFactory.h?view=auto&rev=537297
==============================================================================
--- incubator/tuscany/cpp/das/das_java_classes/ChangeFactory.h (added)
+++ incubator/tuscany/cpp/das/das_java_classes/ChangeFactory.h Fri May 11 14:36:45 2007
@@ -0,0 +1,69 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+#ifndef CHANGE_FACTORY_H
+#define CHANGE_FACTORY_H
+
+#include "ConnectionImpl.h"
+#include "ChangeOperation.h"
+#include "InsertCommandImpl.h"
+#include "UpdateCommandImpl.h"
+#include "DeleteCommandImpl.h"
+#include "CreateOperation.h"
+#include "DeleteOperation.h"
+#include "UpdateOperation.h"
+#include "DeleteGenerator.h"
+#include "InsertGenerator.h"
+#include "UpdateGenerator.h"
+#include "Table.h"
+#include "Create.h"
+#include "TableWrapper.h"
+#include "OptimisticWriteCommandImpl.h"
+#include "MappingWrapper.h"
+
+#include "commonj/sdo/DataFactory.h"
+
+using namespace commonj::sdo;
+
+class ChangeFactory {
+
+ private:
+ InsertCommandImpl* iCreateCommand;
+ UpdateCommandImpl* iUpdateCommand;
+ DeleteCommandImpl* iDeleteCommand;
+ MappingWrapper* iMapping;
+ ConnectionImpl* iConnection;
+
+ public:
+ ChangeFactory(MappingWrapper* mapping, ConnectionImpl* connection);
+ virtual ~ChangeFactory(void);
+ void setCreateCommand(InsertCommandImpl* cmd);
+ void setUpdateCommand(UpdateCommandImpl* cmd);
+ void setDeleteCommand(DeleteCommandImpl* cmd);
+ ChangeOperation* createUpdateOperation(DataObject* changedObject, string propagatedID);
+ ChangeOperation* createUpdateOperation(DataObject* changedObject);
+ ChangeOperation* createDeleteOperation(DataObject* changedObject);
+ ChangeOperation* createInsertOperation(DataObject* changedObject, string propagatedID);
+ InsertCommandImpl* getCreateCommand(DataObject* changedObject);
+ DeleteCommandImpl* getDeleteCommand(DataObject* changedObject);
+ UpdateCommandImpl* getUpdateCommand(DataObject* changedObject);
+ MappingWrapper* getConfig(void);
+
+};
+
+#endif //CHANGE_FACTORY_H
\ No newline at end of file
Added: incubator/tuscany/cpp/das/das_java_classes/ChangeOperation.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/das_java_classes/ChangeOperation.cpp?view=auto&rev=537297
==============================================================================
--- incubator/tuscany/cpp/das/das_java_classes/ChangeOperation.cpp (added)
+++ incubator/tuscany/cpp/das/das_java_classes/ChangeOperation.cpp Fri May 11 14:36:45 2007
@@ -0,0 +1,83 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+#include "ChangeOperation.h"
+
+ChangeOperation::ChangeOperation(DeleteCommandImpl* command) {
+ writeCommand = command;
+ dObject = NULL;
+ isInsert = false;
+ propagatedID = NULL;
+
+}
+
+ChangeOperation::ChangeOperation(InsertCommandImpl* command, DataObject* changedObject) {
+ writeCommand = command;
+ dObject = new DatabaseObject(command->getMappingModel(), changedObject);
+ isInsert = true;
+ propagatedID = NULL;
+
+}
+
+ChangeOperation::ChangeOperation(UpdateCommandImpl* command, DataObject* changedObject) {
+ writeCommand = command;
+ dObject = new DatabaseObject(command->getMappingModel(), changedObject);
+ isInsert = false;
+ propagatedID = NULL;
+
+}
+
+ChangeOperation::~ChangeOperation(void) {
+}
+
+void ChangeOperation::execute(void) {
+ /*if (this.logger.isDebugEnabled()) {
+ this.logger.debug("Executing change operation");
+ }*/
+
+ list<ParameterImpl*>* parameters = writeCommand->getParameters();
+ list<ParameterImpl*>::iterator i;
+ for( i = parameters->begin(); i != parameters->end(); i++ ) {
+ ParameterImpl* param = *i;
+
+ /*if (this.logger.isDebugEnabled()) {
+ this.logger.debug("setting " + parm.getName() + " to " + dObject.get(parm.getName()));
+ }*/
+
+ param->setValue(dObject->get(param->getName()));
+
+ }
+
+ writeCommand->execute();
+
+ if (isInsert && (propagatedID != NULL)) {
+
+ /*if (this.logger.isDebugEnabled()) {
+ this.logger.debug("Propagating key " + propagatedID);
+ }*/
+
+ int id = writeCommand->getGeneratedKey();
+ dObject->setPropagatedID(*propagatedID, id);
+
+ }
+
+}
+
+string ChangeOperation::getTableName(void) {
+ return dObject->getTableName();
+}
\ No newline at end of file
Added: incubator/tuscany/cpp/das/das_java_classes/ChangeOperation.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/das_java_classes/ChangeOperation.h?view=auto&rev=537297
==============================================================================
--- incubator/tuscany/cpp/das/das_java_classes/ChangeOperation.h (added)
+++ incubator/tuscany/cpp/das/das_java_classes/ChangeOperation.h Fri May 11 14:36:45 2007
@@ -0,0 +1,53 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+#ifndef CHANGE_OPERATION_H
+#define CHANGE_OPERATION_H
+
+#include "WriteCommandImpl.h"
+#include "DatabaseObject.h"
+#include "DeleteCommandImpl.h"
+#include "InsertCommandImpl.h"
+#include "UpdateCommandImpl.h"
+#include "ParameterImpl.h"
+
+#include "commonj/sdo/DataFactory.h"
+
+using namespace commonj::sdo;
+
+class ChangeOperation {
+
+ private:
+ WriteCommandImpl* writeCommand;
+ bool isInsert;
+
+ protected:
+ DatabaseObject* dObject;
+ string propagatedID;
+
+ public:
+ ChangeOperation(DeleteCommandImpl* command);
+ ChangeOperation(InsertCommandImpl* command, DataObject* changedObject);
+ ChangeOperation(UpdateCommandImpl* command, DataObject* changedObject);
+ virtual ~ChangeOperation(void);
+ void execute(void);
+ string getTableName(void);
+
+};
+
+#endif //CHANGE_OPERATION_H
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org