-
15. Re: Generating DDL from annotated POJOs
jpav Sep 18, 2009 11:01 AM (in response to jpav)Max, is there any way I could package up and send you my project and console configuration so you can directly see what I've got and tell me what I'm doing wrong? Packaging up the project is easy, but I have no idea where the console configuration is actually stored.
-
16. Re: Generating DDL from annotated POJOs
maxandersen Sep 23, 2009 7:52 AM (in response to jpav)Double click the console configuration, go to the Common tab and tell it to save the config into the project in the workspace - then zip that up and ship it.
-
17. Re: Generating DDL from annotated POJOs
maxandersen Sep 28, 2009 9:21 AM (in response to jpav)I got your file and I can see that the console configuration refers to a hibernate.cfg.xml that does not exist.
Is that intentional ? And if it is, any reason why you got that in there and expect it to be able to load without errors ? :) -
18. Re: Generating DDL from annotated POJOs
jpav Sep 28, 2009 10:19 AM (in response to jpav)That was actually a relatively recent change. I've been playing with different options trying to get this to work. I did have a hibernate.cfg.xml. It wasn't clear initially (after deleting the file) how to get rid of the reference in the console configuration since the field is disabled, but then I remembered I have to set the configuration type to "Core". Regardless, it has nothing to do with my problem. I started out without it, and after removing it, the problem persists.
-
19. Re: Generating DDL from annotated POJOs
maxandersen Oct 5, 2009 2:31 PM (in response to jpav)Seems like my comments only make it through half of the time.
The problem is that the class name of the jdbc driver is wrong (exactly as the error message actually says).
When I look at the latest sql driver from MS it contains com.microsoft.sqlserver.jdbc.SQLServerDriver which is the new name for their driver it seems.
The name used in your project is the old server name AFAIK. -
20. Re: Generating DDL from annotated POJOs
jpav Oct 9, 2009 11:04 AM (in response to jpav)Geez! I can't believe that was it! A simple transposition of "sqlserver" and "jdbc". I had it correct in the DTP configuration and the properties file, but not the data source file (or vice-versa, I don't remember now). Thanks, Max.