|
I have a working database I would like to create a model from using Hibernate, so I am reverse engineering the mapping. This is a database with many tables, many foreign keys between tables, uniqueness constraints, etc.
I can setup a Hibernate Configuration File (hibernate.cfg.xml) with all the params, and can create a Console from the configuration. When I attempt to create a reveng.xml file, the database cannot be opened and I get a NPE error without any message or stacktrace to indicate why.
I've turned up debugging in the plugin log4j configuration and I only see INFO and DEBUG messages in the log file of my .metadata folder. It is all regurgitation of my configuration file and some warnings about using builtin connection pools which is not meant for production. There are no ERROR messages logged when I get the NPE.
I have created a pretty trivial database (1 table, 1 column as INT) which is on the same database server, and using the same replication methods. I can get the Reverse Engineering dialog to show the database details. So I have all but eliminated crazy Microsoft availability technology as the culprit.
If only there was a stack trace in the dialog or in an log file, I could figure out what is troublesome with my real database.
This defect is more about not having enough info in the dialog than my database troubles, to be clear.
|