GithubHelp home page GithubHelp logo

bilalam / self-erp Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 102 KB

Collection of small microservices building up a small erp with JavaFX and Springboot

Java 99.46% CSS 0.54%
javafx springboot spring-rest-api maven pom

self-erp's People

Contributors

bilalam avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

tanbinh123

self-erp's Issues

Create a class to download , unzip and start mysql

We need to have a custom maven plugin that will be executed in the compile phase of our project and will be responsible for :
1 ) Checking if mysql is already running or not .
2 ) If it is not running , then download the binary of mysql , unzip it and run command to install it .
3 ) Then start up the mysql service , create database in it , create tables in it .

NamedNative query not giving correct results. HELP!!

The NamedNativeQuery defined in Visit pojo is not giving correct results , it should give the last id of the record from my table but instead it is giving me 0 , also if i execute it directly using entityManager it is still giving me 0.
Running it on the database in console is giving me right results.
VisitRepositoryCustomImpl.java has the implementation of it .

Path is https://github.com/BilalAM/self-erp/blob/master/visitorservice/src/main/java/self/erp/visitorservice/repositories/VisitRepositoryCustomImpl.java
help......@MSaifAsif

Controller has repository

It is not best practice to have repository in the controller. Best practices suggests to have a service injected into the controller and then the service talks to the repository.

NamedNative

The NamedNativeQuery defined in Visit pojo is not giving correct results , it should give the last id of the record from my table but instead it is giving me 0 , also if i execute it directly using entityManager it is still giving me 0.
Running it on the database in console is giving me right results.
VisitRepositoryCustomImpl.java has the implementation of it .

Path is https://github.com/BilalAM/self-erp/blob/master/visitorservice/src/main/java/self/erp/visitorservice/repositories/VisitRepositoryCustomImpl.java
help......@MSaifAsif

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.