资源简介

连接mysql、neo4j,实现将mysql数据插入neo4j中! 对neo4j数据进行增删改查,统计分析、关系遍历等功能 ! 通过d3对查询数据进行页面展示!

资源截图

代码片段和文件信息

package com.dbs;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.context.embedded.ConfigurableembeddedServletContainer;
import org.springframework.boot.context.embedded.embeddedServletContainerCustomizer;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import org.springframework.transaction.annotation.EnableTransactionManagement;


@EnableTransactionManagement  //开始事物管理
@SpringBootApplication  //启动springboot
public class Neo4jApplication extends SpringBootServletInitializer implements embeddedServletContainerCustomizer{  
  
private static Logger logger = LoggerFactory.getLogger(Neo4jApplication.class);

    public static void main(String[] args) throws Exception {  
            SpringApplication.run(Neo4jApplication.class args);  
            logger.info(“=======================Neo4jApplication=============启动成功“);
            
    } 
    
    @Override    
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {    
        return application.sources(Neo4jApplication.class);    
    }
    
    @Override
    public void customize(ConfigurableembeddedServletContainer configurableembeddedServletContainer) {  
     // configurableembeddedServletContainer.setPort(9090);  
    } 
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       1433  2018-01-18 18:43  project-neo4j\.classpath

     文件          9  2018-01-23 09:50  project-neo4j\.gitignore

     文件        565  2018-01-18 18:43  project-neo4j\.project

     文件        250  2018-01-18 18:43  project-neo4j\.settings\org.eclipse.core.resources.prefs

     文件        736  2018-01-18 18:43  project-neo4j\.settings\org.eclipse.jdt.core.prefs

     文件         90  2018-01-18 18:43  project-neo4j\.settings\org.eclipse.m2e.core.prefs

     文件   27459276  2018-01-18 18:43  project-neo4j\files\180118183225.psc

     文件      12118  2018-01-24 16:10  project-neo4j\files\opensearch.sql

     文件       5458  2018-01-23 15:42  project-neo4j\pom.xml

     文件       6062  2018-01-24 16:19  project-neo4j\README.md

     文件       6834  2018-01-18 18:43  project-neo4j\src\main\java\com\dbs\common\controller\baseController.java

     文件        279  2018-01-18 18:43  project-neo4j\src\main\java\com\dbs\common\mapper\baseMapper.java

     文件        317  2018-01-18 18:43  project-neo4j\src\main\java\com\dbs\common\model\Example.java

     文件       2194  2018-01-18 18:43  project-neo4j\src\main\java\com\dbs\common\model\Page.java

     文件        740  2018-01-18 18:43  project-neo4j\src\main\java\com\dbs\common\model\Result.java

     文件       2782  2018-01-18 18:43  project-neo4j\src\main\java\com\dbs\common\service\baseService.java

     文件       8280  2018-01-18 18:43  project-neo4j\src\main\java\com\dbs\common\service\impl\baseServiceImpl.java

     文件       4940  2018-01-18 18:43  project-neo4j\src\main\java\com\dbs\config\MysqlDataSourceConfig.java

     文件       1836  2018-01-23 09:49  project-neo4j\src\main\java\com\dbs\config\Neo4jDataSourceConfig.java

     文件       4230  2018-01-18 18:43  project-neo4j\src\main\java\com\dbs\config\SqlPrintInterceptor.java

     文件       1312  2018-01-18 18:43  project-neo4j\src\main\java\com\dbs\mysql\controller\DatasourceBaiduController.java

     文件        944  2018-01-18 18:43  project-neo4j\src\main\java\com\dbs\mysql\controller\DatasourceChaobenController.java

     文件        879  2018-01-18 18:43  project-neo4j\src\main\java\com\dbs\mysql\controller\DatasourceNewController.java

     文件        848  2018-01-18 18:43  project-neo4j\src\main\java\com\dbs\mysql\controller\NewsKeywordController.java

     文件        204  2018-01-18 18:43  project-neo4j\src\main\java\com\dbs\mysql\mapper\DatasourceBaiduMapper.java

     文件        209  2018-01-18 18:43  project-neo4j\src\main\java\com\dbs\mysql\mapper\DatasourceChaobenMapper.java

     文件        200  2018-01-18 18:43  project-neo4j\src\main\java\com\dbs\mysql\mapper\DatasourceNewMapper.java

     文件        191  2018-01-18 18:43  project-neo4j\src\main\java\com\dbs\mysql\mapper\NewsKeywordMapper.java

     文件       5249  2018-01-18 18:43  project-neo4j\src\main\java\com\dbs\mysql\model\DatasourceBaidu.java

     文件       5281  2018-01-18 18:43  project-neo4j\src\main\java\com\dbs\mysql\model\DatasourceChaoben.java

............此处省略205个文件信息

评论

共有 条评论