-std::string createDatabasePath(int widgetHandle)
-{
- using namespace DPL::DB::ORM;
- using namespace WrtDB::WidgetConfig;
- using namespace WrtDB::GlobalConfig;
-
- WrtDB::TizenAppId appid;
-
- Try
- {
- appid = WrtDB::WidgetDAOReadOnly::getTzAppId(widgetHandle);
- }
- Catch(DPL::DB::SqlConnection::Exception::Base) {
- LogError("Failed to get database Path");
- }
- return createDatabasePath(appid);
-}
-