-
1. Re: JBDS 7 - Create entities from tables doesn't seem to work in JPA projects
maxandersen Sep 17, 2013 11:25 AM (in response to simplex-software)Sorry to hear you are having problems.
Can you actually browse the hr-model in the console configuration view ?
Maybe there is some issue there that the jpa generate model menu item "swallows" instead of logging properly.
-
2. Re: JBDS 7 - Create entities from tables doesn't seem to work in JPA projects
simplex-software Sep 18, 2013 5:26 AM (in response to simplex-software)I'm updating the case. I created exactly the same schema in a MySQL database and then the "Generate entities from tables" works properly. But it still continues to silently fail with the Oracle database. I think it has something to do with the notions of catalog and schemas. In MySQL, schema and catalog are synonyms. But in Oracle, upon the creation of the JDBC connection, the field catalog is a non editable combo box which only proposes USERS, SYS and ALL. These corresponds with the tablespaces in the database. And it seems to me that, when trying to generate entities, it trie to generate from all the tables in the catalog, for example USERS. And the process never finishes, giving the impression that nothing happens.
So, I would be very obligated if anyone using Oracle databases to generate entity from tables could give me a hint of how to handle this catalog stuff.