@@ -0,0 +1,2150 @@
+package com.kiselev.dataframework.example.main;%0A%0Aimport com.kiselev.dataframework.core.loader.impl.ConfigLoader;%0Aimport com.kiselev.dataframework.core.loader.impl.DataSourceLoader;%0Aimport com.kiselev.dataframework.core.resource.api.ResourceManager;%0Aimport com.kiselev.dataframework.core.resource.impl.ConfigManager;%0Aimport com.kiselev.dataframework.core.resource.impl.ConnectionManager;%0Aimport com.kiselev.dataframework.example.entity.EntityExample;%0Aimport com.kiselev.dataframework.example.handler.QueryExecutorExample;%0Aimport com.kiselev.dataframework.example.handler.QueryUpdaterExample;%0A%0Aimport java.util.List;%0A%0A/**%0A * @author Vadim Kiselev%0A * @version 1.0%0A * @since 02/05/2017%0A */%0A%0Apublic class Main %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A%0A        ////////////////////////////////////////////////////////////%0A        ///Framework initialization/////////////////////////////////%0A        ResourceManager configManager = new ConfigManager();%0A        ResourceManager connectionManager = new ConnectionManager();%0A%0A        ConfigLoader configLoader = new ConfigLoader();%0A        configLoader.setConfigManager(configManager);%0A        configLoader.load();%0A%0A        DataSourceLoader dataSourceLoader = new DataSourceLoader();%0A        dataSourceLoader.setConfigManager(configManager);%0A        dataSourceLoader.setConnectionManager(connectionManager);%0A        dataSourceLoader.load();%0A        ////////////////////////////////////////////////////////////%0A%0A        QueryExecutorExample executor = new QueryExecutorExample();%0A        executor.setConnectionManager(connectionManager);%0A%0A        List%3CEntityExample%3E result = executor%0A                .executeQuery(%22SELECT * FROM test WHERE id %3C 8%22);%0A%0A        for (EntityExample entity : result) %7B%0A            System.out.println(%22Table's row : %22 + entity.getId() + %22 %22 + entity.getName());%0A        %7D%0A%0A        QueryUpdaterExample updater = new QueryUpdaterExample();%0A        updater.setConnectionManager(connectionManager);%0A%0A        Integer affectedRows = updater%0A                .executeQuery(%22INSERT INTO test VALUES(8, 'Vadim')%22);%0A        System.out.println(%22Affected rows : %22 + affectedRows);%0A    %7D%0A%7D%0A

Add first version of framework's execution