-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 
Author Message
 Post subject: NHibernate Query Analyzer
PostPosted: Fri Dec 02, 2005 11:08 am 
Anybody tried the NHibernate Query Analyzer http://www.ayende.com/projects/nhiberna ... lyzer.aspx

I cant get it work, it says that he cant connect to the database. I try to change the db connection from sqlite to my ms sql server and the Query Analyzer wont open then.

Thanks!


Top
  
 
 Post subject:
PostPosted: Fri Dec 02, 2005 4:05 pm 
Contributor
Contributor

Joined: Thu May 12, 2005 8:45 am
Posts: 226
I've used it, and it worked fine. That was version 0.9 on .NET 1.1, about 6 months ago.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 05, 2005 6:27 am 
Beginner
Beginner

Joined: Mon Oct 03, 2005 4:59 am
Posts: 26
Location: Cambridge, UK
I used it a week or two ago, with NHibernate 1.0 and MS SQL Server, and it worked okay. Getting a "project" set up was a bit confusing, but once I figured that out, it worked fine.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 05, 2005 9:10 am 
Contributor
Contributor

Joined: Thu May 12, 2005 9:45 am
Posts: 593
Location: nhibernate.org
IIRC, The difficulty I had was related to the creation of NHQA internal database (on SQLite)... I wonder why it is not packaged with an empty (local) database.

_________________
Pierre Henri Kuaté.
Get NHibernate in Action Now!


Top
 Profile  
 
 Post subject: NHibernate Query Analyzer
PostPosted: Mon Dec 05, 2005 2:56 pm 
KPixel wrote:
IIRC, The difficulty I had was related to the creation of NHQA internal database (on SQLite)... I wonder why it is not packaged with an empty (local) database.


Do you remember what was it?

This is the error im having:

System.Exception: NHibernate.ADOException: Could not execute query ---> Finisar.SQLite.SQLiteException: no such table: Entity

Entity is part of my project, wich runs with ms sql database.

These are my steps:

> New Project
> Select my project dlls
> Build them
> New Query
> Query: "from Entity"

Thats all, perhaps im missing something.

Thanks in advance

Martin


Top
  
 
 Post subject:
PostPosted: Tue Dec 06, 2005 7:46 am 
Contributor
Contributor

Joined: Thu May 12, 2005 9:45 am
Posts: 593
Location: nhibernate.org
My issue was related to the loading of NQA; once it is loaded, it means that the database is accessible.

You have to create the table "Entity" in your database, NQA doesn't do this for you...

_________________
Pierre Henri Kuaté.
Get NHibernate in Action Now!


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.