Ferda-Ozdemir-Sonmez
Ferda-Ozdemir-Sonmez

Reputation: 697

Can I somehow use JHipster Microservice application with DB2

My application would mostly depend on already running stored procedures. I may do hibernate or native jdbc calls to DB2 from microservices. Is there a way to use DB2 database (cause I can not change the database)?

I may also accept generation of the microservices, gateways in jhipster and changing db configuration manually for DB2 as answer or anything similar which allows automatic code generation with jhipster and benefiting from gateway, service registry and load balancing.

May be I can configure a second db for Jhipster configuration? and use DB2 for data only??

I need quick answer on this subject.

Regards, Ferda

Upvotes: 2

Views: 629

Answers (1)

Gaël Marziou
Gaël Marziou

Reputation: 16284

JHipster does not support DB2 but you can modify generated code and datasource definition, Liquibase supports DB2, so it's probably a reasonable work as long as you are fluent in Spring Boot, JPA and Hibernate.

Doing this manually after code generation will probably makes it harder for you to run jhipster upgrade so an alternative would be to create a JHipster module or a blueprint.

I don't think that microservices would help here as it's the same code generation that would be impacted.

Upvotes: 2

Related Questions