0

I'm trying to do a reverse engineering, I mean instead of from ER diagram get the tables, the opposite way, from the tables and the JPA done, do the db diagram, is it possible?

I'm using PostgreSQL, Postico2 and InteliJ for Jpa/Hibernate

I've found this Jeddict but I guess it's not what I'm looking for.

ACLARIMENT : I want from ENTITY to TABLE (Diagram) or from Postico 2 where I see all of the tables to Diagram

StuartDTO
  • 783
  • 7
  • 26
  • 72
  • Possible duplicate of [How to get ERD diagram for an existing database?](https://stackoverflow.com/questions/3474389/how-to-get-erd-diagram-for-an-existing-database) – Peter Šály Mar 26 '19 at 18:32

4 Answers4

1

The one way to do that which I met is to use eclipse plugin called Hibernate Tools which allows to do it. Please take a look at these references:

Generating entities from tables
Using Hibernate Tools generate entity classes from Tables

Kamil W
  • 2,230
  • 2
  • 21
  • 43
1

You can simply create the tables in an empty schema and then run DB Visualizer on it.

fhossfel
  • 2,041
  • 16
  • 24
1

Navicat's Data Modeler tool might do what you want. They have a free trial.

https://www.navicat.com/en/products/navicat-data-modeler

mmccaff
  • 1,281
  • 1
  • 11
  • 20
1

Using pgAdmin 4 you can right click on database and choose option Generate ERD.

santal
  • 55
  • 5