StuartDTO
StuartDTO

Reputation: 1051

Create an ER diagram or any DB diagram with tables already existing in postgresql

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

Upvotes: 0

Views: 4713

Answers (4)

santal
santal

Reputation: 91

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

Upvotes: 2

mmccaff
mmccaff

Reputation: 1281

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

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

Upvotes: 1

fhossfel
fhossfel

Reputation: 2191

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

Upvotes: 1

Kamil W
Kamil W

Reputation: 2376

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

Upvotes: 1

Related Questions