Jukien / POJO-Generator

Plugin for JetBrains IntelliJ IDEA Ultimate. Generate JPA Entity POJO from database table

Home Page:https://plugins.jetbrains.com/plugin/12297-pojo-generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Relation Between Tables

christiansum opened this issue · comments

Good day !

There is a way to make a relation between classes based on the relations from the database ?

Like:

@Column(name = "prd_period_type_id")
private TblPeriodType prdPeriodTypeId;

TblPeriodType is a database table.

Hello @christiansum, I think yes but I need to see the feasibility first.
However I can't give you a date of resolution for now.

I have a question: do you store all your Entity classes at the same location/path?

Oh ! I think that will be an amazing feature.

Yes ! I store all the Entity Classes in the same location/path
com.company.pojos.DbEntity

I love how your plugin handle the generator. The current generator for IntelliJ, STS even Netbeans works but not like yours.

Thank you for your response and for your feedback :) I'm glad you like it!
I will keep you informed.