Generate POJO's from Database types
Hello!
I am using PostgreSQL with stored procedures a lot.
Each procedure returns me a specific type so I can do something like this:
Query q = em.createNativeQuery("SELECT filename, image_id FROM mySchema.userImages(?,?,?);", Image.class);
Now I am seeking a way to let Idea generate POJO's for me based on database types within a schema. I know that
the ORM frameworks allow me to generate POJO's based on tables, but I cannot use the tables, just the types :)
Is something like this possible with Idea?
Cheers,
Ries
请先登录再写评论。
Please file a feature request for this at http://youtrack.jetbrains.com