From: Gavin_King/Cirrus%<CI...@ci...> - 2002-03-05 16:57:39
|
> One problem that i realized now is that the Classpersister is not aware > of the DatabaseDialect. The Database Dialect is only set when a schema > is generated. For the database native keys to work, it will be necessary > that this Property is set. I'm quite happy with it being a property, > because i want to use one mapping file for different databases. A recent change made the SessionFactory know the dialect. If necessary, pass it in to RelationalDatabaseSession. The 0.9.8 will be the first version where hibernate will issue platform-dependent SQL at runtime. Thats okay, it had to happen eventually.... > One more thing: How can I run the unit tests? Is this documented somewhere? Not documented. Guess it should be. Its easy enough, just run FooBarTest from the main method, passing in the name of the database as an argument. It will need to be able to find connection.properties and you will need to edit connection.properties with the correct values for you db. |