Top "Orm" questions

Object-relational mapping (ORM) is a technique for mapping object-oriented systems to relational databases.

Get the last insert id with doctrine 2?

How can I get the last insert id with doctrine 2 ORM? I didn't find this in the documentation of doctrine, …

php orm doctrine lastinsertid
JPA - Persisting a One to Many relationship

Maybe this is a stupid question but it's bugging me. I have a bi-directional one to many relationship of Employee …

java jpa orm one-to-many
What's the best strategy for unit-testing database-driven applications?

I work with a lot of web applications that are driven by databases of varying complexity on the backend. Typically, …

database unit-testing orm mocking
Connecting postgresql with sqlalchemy

I know this might be really a simple question but I don't know the solution. What is happening here when …

python database postgresql orm sqlalchemy
SQLAlchemy: how to filter date field?

Here is model: class User(Base): ... birthday = Column(Date, index=True) #in database it's like '1987-01-17' ... I …

python sql database orm sqlalchemy
Using an ORM or plain SQL?

For some of the apps I've developed (then proceeded to forget about), I've been writing plain SQL, primarily for MySQL. …

sql language-agnostic orm
JPA: How to have one-to-many relation of the same Entity type

There's an Entity Class "A". Class A might have children of the same type "A". Also "A" should hold it's …

java orm jpa hierarchy one-to-many
JPA primary key auto generate

my primary key entity look like below @GeneratedValue(strategy= GenerationType.TABLE) private Long id; when i run, i get error …

java hibernate orm jpa oracle10g
JPA/Hibernate Native Queries do not recognize Parameters

I am using Hibernate/JPA to execute native PostGIS queries. The problem with these queries is that they need parameters …

java hibernate orm jpa postgis
How do I map lists of nested objects with Dapper

I'm currently using Entity Framework for my db access but want to have a look at Dapper. I have classes …

orm dapper