Top "Orm" questions

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

How To Define a JPA Repository Query with a Join

I would like to make a Join query using Jpa repository with annotation @Query. I have two tables: table user …

java jpa orm repository jpql
JPA: how do I persist a String into a database field, type MYSQL Text

The requirement is that the user can write an article, therefore I choose type Text for the content field inside …

java mysql orm jpa
Select the first 10 rows - Laravel Eloquent

So far I have the following model: class Listing extends Eloquent { //Class Logic HERE } I want a basic function that …

php orm laravel eloquent
How to map calculated properties with JPA and Hibernate

My Java bean has a childCount property. This property is not mapped to a database column. Instead, it should be …

java hibernate jpa orm hibernate-mapping
Getting Database connection in pure JPA setup

We have a JPA application (using hibernate) and we need to pass a call to a legacy reporting tool that …

java hibernate orm jpa jdbc
Difference Between One-to-Many, Many-to-One and Many-to-Many?

Ok so this is probably a trivial question but I'm having trouble visualizing and understanding the differences and when to …

java hibernate orm many-to-many one-to-many
Entity Framework is Too Slow. What are my options?

I have followed the "Don't Optimize Prematurely" mantra and coded up my WCF Service using Entity Framework. However, I profiled …

.net performance entity-framework orm
How to auto generate migrations with Sequelize CLI from Sequelize models?

I have a set of Sequelize models. I want to use migrations, not DB Sync. Sequelize CLI seems to be …

mysql node.js orm sequelize.js
Hibernate Annotations - Which is better, field or property access?

This question is somewhat related to Hibernate Annotation Placement Question. But I want to know which is better? Access via …

java hibernate orm jpa annotations
What is the difference between Unidirectional and Bidirectional JPA and Hibernate associations?

What is the difference between Unidirectional and Bidirectional associations? Since the table generated in the db are all the same,…

java hibernate jpa orm associations