Coder Social home page Coder Social logo

hanatomysql's Introduction

hanaToMysql

主要功能

连接hana与mysql数据库,实现数据从hana库中同步到mysql中

使用要求

本项目采用mybatis-plus实现对MySQL的crud,当前只实现了从hana库中查出,存入到mysql中;

  1. 先创建mysql数据库中的表,表结构要跟hana库中表结构相同
  2. 使用mp生成持久层的crud
  3. 实体类中第一个字段为序列化ID(必须)因为在具体实现中是从第二个字段开始的
  4. 当前demo,调用接口需要传入两个内容,sql为:查询hana库的sql,className为对应的实体类名称(注意大小写)

后续内容暂时不准备继续写下去,也有已经实现好的比如treesoft很不错的一个工具,只是因为开发环境原因不能使用,从而开发了这个项目,代码写的比较简单。 如果大家有需要的话,可以直接pr或者联系我一起。

hanatomysql's People

Contributors

heixxwowotou avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.