Questions tagged as 'orm'

3
answers

To what extent is it not advisable to use an ORM?

I'm working on a very large system using .NET (Asp.net MVC) application requires a critical level of performance . To what extent is it worth using an ORM? Is there any tool that I can compare in terms of ORM's performance and pure SQL? I kn...
asked by 28.04.2014 / 21:38
2
answers

What is the problem of queries N + 1?

Whenever we work with some ORM, it is common to fall into the queries N + 1 problem. It's something about performance, called up to antipattern . But what is really this problem, why it happens, what are its main causes and how, in theory,...
asked by 15.06.2018 / 05:00
2
answers

Criteria API - Hibernate vs JPA 2

I'll try to phrase this question as unthinkingly as possible in the spirit of stackoverflow in English. For a new project I need to make the decision between using the JPA 2 or Hibernate API (while it is technically possible to mix the two, for...
asked by 18.12.2013 / 15:17
1
answer

What is the difference between the design patterns Data Mapper and Active Record?

I would like to know the main differences between these two design patterns. I have this doubt because to know the news of CakePHP 3.0 I saw the change of the design pattern used by the framework. Currently in version 2.x Active Record is...
asked by 11.07.2014 / 17:18
3
answers

How to do 1: N mapping (one to many) in Dapper?

I'm using the Dapper which is a micro ORM used to map the objects according to the tables of the database following the relational model. So, I have some questions regarding mapping and class structure. To illustrate the situation I created...
asked by 27.01.2017 / 13:30
2
answers

How to save a cascaded collection in nhibernate without putting circular reference?

Always when I try to save an object with a collection of data mapped as HasMany I have to put a circular reference so that NHibernate can save this object cascade. For example I have the following mapping of the parent class. public...
asked by 12.12.2013 / 20:49
3
answers

What are the functions of an ORM? [closed]

What actions should an ORM provide? What should it or should not it provide the developer, or what role does it play within a system?     
asked by 05.07.2016 / 18:56
2
answers

Entity Framework Core x Entity Framework 7

What are the main differences between Entity Framework Core and Entity Framework 7? There are scenarios in which one is more indicated than the other. It's such a version and so much change of name that I'm lost.     
asked by 14.09.2016 / 05:22
1
answer

Object-relational impedance difference

Basic question about object-relational impedance mismatch , a topic with which I have little experience. Does it really exist? (Certainly, Martin Fowler > and Ted Neward already talked about the problem, but does it really occur in...
asked by 04.11.2014 / 00:29
1
answer

EdgeJS and Entity Framework

Next, I'm learning NodeJS and I'm thrilled with it, but I found my first stone in the path, accessing a relational database using some ORM (precisely to access PostgreSQL). At first I thought about using SequelizeJS , I even found it well do...
asked by 03.08.2015 / 13:31