Top "Orm" questions

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

How to map a composite key with JPA and Hibernate?

In this code, how to generate a Java class for the composite key (how to composite key in hibernate): create …

java hibernate jpa orm composite-key
Hibernate throws org.hibernate.AnnotationException: No identifier specified for entity: com..domain.idea.MAE_MFEView

Why am I getting this exception? package com.domain.idea; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.…

hibernate jpa orm identifier hibernate-annotations
Good PHP ORM Library?

Is there a good object-relational-mapping library for PHP? I know of PDO/ADO, but they seem to only provide abstraction …

php database orm
Default value in Doctrine

How do I set a default value in Doctrine 2?

php orm doctrine-orm
Infinite Recursion with Jackson JSON and Hibernate JPA issue

When trying to convert a JPA object that has a bi-directional association into JSON, I keep getting org.codehaus.jackson.…

java json orm spring-mvc jackson
Get Specific Columns Using “With()” Function in Laravel Eloquent

I have two tables, User and Post. One User can have many posts and one post belongs to only one …

php laravel orm eloquent laravel-query-builder
Doctrine - How to print out the real sql, not just the prepared statement?

We're using Doctrine, a PHP ORM. I am creating a query like this: $q = Doctrine_Query::create()->select(…

php mysql orm doctrine doctrine-query
What is lazy loading in Hibernate?

What is lazy loading in Java? I don't understand the process. Can anybody help me to understand the process of …

java hibernate orm lazy-loading
How to persist a property of type List<String> in JPA?

What is the smartest way to get an entity with a field of type List persisted? Command.java package persistlistofstring; …

java orm jpa
Laravel - Eloquent "Has", "With", "WhereHas" - What do they mean?

I've found the concept and meaning behind these methods to be a little confusing, is it possible for somebody to …

laravel orm eloquent relational-database relationship