Joined: Sun Aug 12, 2007 7:43 pm Posts: 3 Location: Göteborg, Sweden
|
I'm using NHibernate 1.2.0 together with SQL Server 2005 Express, and it seems I have to specify fully qualified tablenames, like this:
"databasename.dbo.tablename"
when I create a query via the ISession.CreateSQLQuery() method. I only return scalar values (this is a reporting query), and the query works just fine when I specify full tablenames, but it is suboptimal as it makes the SQL depend upon a static databasename. Is there a way to correct this?
BTW: I do have the default_schema property setup correctly in the applications config.
|
|