# Django ORM vs Hibernate ORM

| Attribute | Django ORM | Hibernate ORM |
|---|---|---|
| **Vioscale score** | 72.1 (33% (low)) | 72.7 (45% (low)) |
| activity.commits_last_30d | 73 | 100 |
| adoption.dependent_repos | 114,817 | 145,451 |
| adoption.github_stars | 88,955 | 6,470 |
| deployment.options | `{"self_hosted":true}` | `{"self_hosted":true}` |
| description.long | Django provides a database-abstraction API for structuring and manipulating application data through an object-relational mapping layer. It enables creation, retrieval, updating, and deletion of database objects using Python models. | An object/relational mapping framework for Java that enables developers to work with relational database data as native Java objects, supporting complex queries, transactions, and comprehensive data synchronization. |
| features.capabilities | `{"raw_sql":true,"multi_db":true,"languages":"Python","relations":true,"migrations":true,"type_safe_queries":true}` | `{"multi_db":true,"languages":"Java","relations":true,"migrations":true,"type_safe_queries":true,"connection_pooling":true}` |
| integrations.count | - | 16 |
| integrations.list | - | `[{"name":"Jakarta Persistence"},{"name":"Jakarta Data"},{"name":"Jakarta Query"},{"name":"Bean Validation"},{"name":"Jakarta Validation"},{"name":"Java EE"},{"name":"Jakarta EE"},{"name":"Vert.x"},{"name":"MongoDB Extension"},{"name":"Apache Lucene"},{"name":"Elasticsearch"},{"name":"OpenSearch"},{"name":"Quarkus"},{"name":"WildFly"},{"name":"Red Hat EAP"},{"name":"Spring Boot"}]` |
| language.primary | Python | Java |
| license.spdx | BSD-3-Clause | Apache-2.0 |
| market.availability | - | `{"primaryMarkets":[],"availabilityScope":"global","availableCountries":[],"notAvailableCountries":[]}` |
| platform.support | `{"cli":true,"web":true}` | - |
| pricing | `{"type":"open_source","sourceUrl":"https://docs.djangoproject.com/en/stable/topics/db/queries/","retrievedAt":"2026-08-14T09:19:25.676Z"}` | `{"type":"open_source","summary":"Free and open source under Apache License 2.0","sourceUrl":"https://hibernate.org/orm","retrievedAt":"2026-08-14T21:39:02.080Z"}` |
| pricing.free_tier | yes | yes |
| pricing.model | open_source | commercial |
| pricing.price_level | free | free |
| pricing.transparent | yes | yes |
| release.history | - | `[{"url":"https://github.com/hibernate/hibernate-orm/releases/tag/7.4.6","date":"2026-08-23T00:23:45Z","type":"stable","version":"7.4.6"},{"url":"https://github.com/hibernate/hibernate-orm/releases/tag/6.6.56","date":"2026-08-23T00:19:23Z","type":"stable","version":"6.6.56"},{"url":"https://github.com/hibernate/hibernate-orm/releases/tag/7.3.13","date":"2026-08-02T00:17:48Z","type":"stable","version":"7.3.13"},{"url":"https://github.com/hibernate/hibernate-orm/releases/tag/7.2.24","date":"2026-08-02T00:49:35Z","type":"stable","version":"7.2.24"},{"url":"https://github.com/hibernate/hibernate-orm/releases/tag/7.1.35","date":"2026-08-02T00:24:54Z","type":"stable","version":"7.1.35"},{"url":"https://github.com/hibernate/hibernate-orm/releases/tag/6.6.55","date":"2026-08-02T00:18:00Z","type":"stable","version":"6.6.55"},{"url":"https://github.com/hibernate/hibernate-orm/releases/tag/7.4.5","date":"2026-07-12T00:25:18Z","type":"stable","version":"7.4.5"},{"url":"https://github.com/hibernate/hibernate-orm/releases/tag/7.3.12","date":"2026-07-12T00:50:08Z","type":"stable","version":"7.3.12"},{"url":"https://github.com/hibernate/hibernate-orm/releases/tag/7.2.23","date":"2026-07-12T00:18:54Z","type":"stable","version":"7.2.23"},{"url":"https://github.com/hibernate/hibernate-orm/releases/tag/7.1.34","date":"2026-07-12T00:18:37Z","type":"stable","version":"7.1.34"},{"url":"https://github.com/hibernate/hibernate-orm/releases/tag/7.4.4","date":"2026-07-05T00:51:11Z","type":"stable","version":"7.4.4"},{"url":"https://github.com/hibernate/hibernate-orm/releases/tag/7.3.11","date":"2026-07-05T00:20:27Z","type":"stable","version":"7.3.11"},{"url":"https://github.com/hibernate/hibernate-orm/releases/tag/7.2.22","date":"2026-07-05T00:18:28Z","type":"stable","version":"7.2.22"},{"url":"https://github.com/hibernate/hibernate-orm/releases/tag/7.1.33","date":"2026-07-05T00:20:02Z","type":"stable","version":"7.1.33"},{"url":"https://github.com/hibernate/hibernate-orm/releases/tag/5.3.39","date":"2026-06-29T13:26:22Z","type":"stable","version":"5.3.39"},{"url":"https://github.com/hibernate/hibernate-orm/releases/tag/7.4.3","date":"2026-06-28T00:54:02Z","type":"stable","version":"7.4.3"},{"url":"https://github.com/hibernate/hibernate-orm/releases/tag/7.3.10","date":"2026-06-28T00:20:18Z","type":"stable","version":"7.3.10"},{"url":"https://github.com/hibernate/hibernate-orm/releases/tag/7.2.21","date":"2026-06-28T00:47:20Z","type":"stable","version":"7.2.21"},{"url":"https://github.com/hibernate/hibernate-orm/releases/tag/7.1.32","date":"2026-06-28T00:20:26Z","type":"stable","version":"7.1.32"},{"url":"https://github.com/hibernate/hibernate-orm/releases/tag/6.6.54","date":"2026-06-28T00:19:13Z","type":"stable","version":"6.6.54"}]` |
| security.disclosure_policy | yes | - |
| security.scorecard | 6.6 | 8 |
| security.vulnerabilities | `{"count":100,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=pypi&package_name=django&per_page=100","last_12m":31,"max_severity":"CRITICAL"}` | `{"count":3,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=maven&package_name=org.hibernate%3Ahibernate-core&per_page=100","last_12m":1,"max_severity":"HIGH"}` |

## Capabilities (ORM & Database Tools)

| Capability | Django ORM | Hibernate ORM |
|---|:--:|:--:|
| **Core** |  |  |
| Type-safe queries | ✓ | ✓ |
| Schema migrations | ✓ | ✓ |
| Relations / joins API | ✓ | ✓ |
| Languages | Python | Java |
| **Modelling** |  |  |
| Schema-first modelling | - | - |
| **Flexibility** |  |  |
| Raw SQL escape hatch | ✓ | - |
| **Portability** |  |  |
| Multiple database backends | ✓ | ✓ |
| **Ops** |  |  |
| Connection pooling | - | ✓ |
| **DX** |  |  |
| Data browser / studio | - | - |

*Source: Vioscale. Generated 2026-09-01T15:00:32.062Z. "-" = undocumented, not absent.*
