1 /***************************************************************************
3 * Copyright (C) Lakshya Solutions Ltd. All rights reserved. *
5 ***************************************************************************/
10 #include<AbsSqlConnection.h>
11 #include<AbsSqlStatement.h>
28 * @brief Factory class to create appropriate implementation of SQL API
31 class DllExport SqlFactory
35 /** creates appropriate implementation of AbsSqlConnection based on implFlag passed
36 * @param implFlag 1->SqlConnection, 2->?
37 * @return AbsSqlConnection
39 static AbsSqlConnection
* createConnection (SqlApiImplType implFlag
);
41 /** creates appropriate implementation of AbsSqlStatement based on implFlag passed
42 * @param implFlag 1->SqlConnection, 2->?
43 * @return AbsSqlStatement
45 static AbsSqlStatement
* createStatement (SqlApiImplType implFlag
);