datastore.setId(121212);
datastore.setName("Hbase");
//connection 1
Connection connection1 = new Connection();
ConnectionProperty connectionProperty1 = new ConnectionProperty(connection1, CruxConstants.HBASE_ZOOKEEPER_PROPERTY,"value1");
ConnectionProperty connectionProperty2 = new ConnectionProperty(connection1, CruxConstants.HBASE_ZOOKEEPER_PROPERTY,"value2");
connection1.addProperty(connectionProperty1);
connection1.addProperty(connectionProperty2);
connection1.setDatastore(datastore);
connection1.setUser(user);
connection1.setId(1);
connection1.setName("ConnectionName1");
//connection 2
Connection connection2 = new Connection();
ConnectionProperty connectionProperty3 = new ConnectionProperty(connection2, CruxConstants.HBASE_ZOOKEEPER_PROPERTY, "value1");
ConnectionProperty connectionProperty4 = new ConnectionProperty(connection2, CruxConstants.HBASE_ZOOKEEPER_PROPERTY, "value2");
connection2.addProperty(connectionProperty3);
connection2.addProperty(connectionProperty4);
connection2.setDatastore(datastore);
connection2.setUser(user);
connection2.setId(2);
connection2.setName("ConnectionName2");
//connection 3
Connection connection3 = new Connection();
ConnectionProperty connectionProperty5 = new ConnectionProperty(connection3, CruxConstants.HBASE_ZOOKEEPER_PROPERTY, "value1");
ConnectionProperty connectionProperty6 = new ConnectionProperty(connection3, CruxConstants.HBASE_ZOOKEEPER_PROPERTY, "value2");
connection3.addProperty(connectionProperty5);
connection3.addProperty(connectionProperty6);
connection3.setDatastore(datastore);
connection3.setUser(user);