Ok, many thanks! El viernes, 26 de abril de 2013 14:54:48 UTC+2, Gunnar Liljas escribió: > > While JPA is an industry standard, NPA isn't and I don't think it will > ever be. The .NET world is not as keen on implementing standardization > as the Java world (in some areas it feels like there are more > standards than implementations). I also feel that adding an > abstraction layer (NPA) on top of an abstraction layer (NHibernate) is > just a recipe for a world of hurt, and there's not much merit to the > idea. If you feel comfortable with the Criteria model in JPA, you will > have no problem learning NHibernate Criteria, and mapping with > attributes instead of XML is also possible. > > /Gunnar > > 2013/4/26 Pete Appleton <[email protected] <javascript:>>: > > I'm not familiar with NPersistence - NHibernate supports XML and a > Criteria > > API which superficially looks similar to JPA, see > > http://nhforge.org/doc/nh/en/index.html#querycriteria > > > > > > > > /Pete > > > > > > > > From: [email protected] <javascript:> [mailto: > [email protected] <javascript:>] On Behalf > > Of Jose Antonio Lopez > > Sent: 26 April 2013 13:04 > > To: [email protected] <javascript:> > > Subject: [nhusers] NHibernate and Criteria or NPersistence with other > Query > > > > > > > > I would like to ask from some advice. I usually use Java JPA with > Criteria > > Queries and PostgreSQL in my projects (I work with Tapestry Framework > which > > is based on Maven). I feel so comfortable with this tools and I can > develop > > quickly. But now I must develop a proyect in C#. I have been studing > similar > > tools in this platform and I have found NHibernate and NPersistence. The > > problem is that with NPersistence you can not use Criteria > > (http://www.npersistence.org/content/how-use-criteria), and with > NHibernate > > you can not mapping with NPersistence. So, what do you thing could be > more > > interesting for learn and quickly development?? May I use NHibernate > with > > XML mapping and Criteria or could be better use NPeristence with another > > kind of queries?? > > > > Thanks in advance! > > > > -- > > 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] <javascript:>. > > To post to this group, send email to [email protected]<javascript:>. > > > Visit this group at http://groups.google.com/group/nhusers?hl=en-US. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > > > -- > > 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] <javascript:>. > > To post to this group, send email to [email protected]<javascript:>. > > > Visit this group at http://groups.google.com/group/nhusers?hl=en-US. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > >
-- 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-US. For more options, visit https://groups.google.com/groups/opt_out.
