In the test, change the mapping to remove the schema. On Wed, Apr 22, 2009 at 4:57 AM, Charlie M <[email protected]> wrote:
> > Hello, > > I'm trying to use the DatabaseTestFixtureBase class teamed with SQLite > to achieve speedy in-memory database unit tests. > > I was previously using AR but have since reverted to using NH > directly, a move that has seen me define a schema attribute for my > mapped entities. E.g.: > > <hibernate-mapping schema="Foo.dbo"> > <class table="Bar"> > </class> > </hibernate-mapping> > > etc. > > However, it turns out that SQLite is not fond of SQL Server's dot > notation. I'm receiving the following error: > > Unsuccessful: create table Foo.dbo_Bar > SQLite error unknown database Foo > > Are there any possible work-arounds? > > Cheers, > > Charlie. > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Rhino Tools Dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rhino-tools-dev?hl=en -~----------~----~----~----~------~----~------~--~---
