Glad it helped :). Not sure what you mean about adding that code to the project - ISQLQuery.AddEntity() is documented at http://nhforge.org/doc/nh/en/index.html#d0e10858, or have I misunderstood something?
Models don't *have* to have an Id, but's it a very good idea to do so - see http://nhforge.org/doc/nh/en/index.html#persistent-classes-poco-identifier . /Pete From: [email protected] [mailto:[email protected]] On Behalf Of Tay Sent: 07 March 2013 16:33 To: [email protected] Subject: [nhusers] Re: NHibernate + Intersystems Caché OODBMS Connection Issues That worked brilliantly, thank you :). Might be an idea that some of that code to be added to project as it would be useful for others. Would centralize it as well. Also a quick question, do models which are mapped to hbm files have to have an ID? On Thursday, 7 March 2013 15:42:22 UTC, Tay wrote: Hi, I was wondering if anybody has any pointers to connecting/querying an Intersystems Cache database? I've tried implementing a solution already but there seems to be issues with the Driver/Dialect that i found (See below link): https://nhibernate.jira.com/browse/NH-2574 I can connect to the database but any sort of SQL query will not work. I'm currently running the latest version of NHB from nuget (v3.3.0). Any help with this would be fantastic (page error can be seen below). <https://lh4.googleusercontent.com/-BBXu7A-gzQ8/UTizE0KUbiI/AAAAAAAAAB4/niLoKGHnLFk/s1600/NHB+Error.png> -- You received this message because you are subscribed to the Google Groups "nhusers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/nhusers?hl=en. For more options, visit https://groups.google.com/groups/opt_out. !DSPAM:1,5138cd5f1871747697754! -- You received this message because you are subscribed to the Google Groups "nhusers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/nhusers?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
