From: Brad C. <bra...@wo...> - 2002-03-06 01:02:58
|
it would make sense for the creation of the test case schema(s) and the running of the test cases to be ant tasks. if i get time, i will look at this sometime in the next week or so. brad ----- Original Message ----- From: <Gavin_King/Cirrus%CI...@ci...> To: "Christoph Sturm" <ch...@sc...> Cc: <hib...@li...> Sent: Wednesday, March 06, 2002 2:46 AM Subject: Re: [Hibernate-devel] database native keys > > > 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. > > > _______________________________________________ > Hibernate-devel mailing list > Hib...@li... > https://lists.sourceforge.net/lists/listinfo/hibernate-devel > |