orm-fetch-dsl | A DSL for eagerly fetching columns with ORM queries
kandi X-RAY | orm-fetch-dsl Summary
kandi X-RAY | orm-fetch-dsl Summary
orm-fetch-dsl is a Java library. orm-fetch-dsl has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub, Maven.
What is ORM-Fetch-DSL? === A Groovy DSL for instructing ORM queries which columns to fetch eagerly. Most ORM implementations operate with partial objects - the same object can be re-used in multiple queries, but it is fetched partially - every query specifies which fields of the object (mapped to columns in the table) to fetch. Access to any field that wasn’t explicitly pre-fetched will cause the ORM to load it lazily from the DB. To prevent this lazy loading, the ORM has to be instructed up front which columns to fetch for every query. The eager-fetch configuration can become very deep (for tables with lots of joins) and cumbersome to maintain, and this tries to alleviate the strain a bit. Disclaimer === This is admittedly geared towards JPA-style ORMs, or any ORM which represents tables as entity classes that store database metadata as annotations on the fields themselves. Structure --- There is a core module 'fetch-dsl-core', which is independent of any specific ORM implementation. It simply translates the DSL into a parent-child tree. ORM-specific implementations are expected to know how to apply this relation to their queries.
What is ORM-Fetch-DSL? === A Groovy DSL for instructing ORM queries which columns to fetch eagerly. Most ORM implementations operate with partial objects - the same object can be re-used in multiple queries, but it is fetched partially - every query specifies which fields of the object (mapped to columns in the table) to fetch. Access to any field that wasn’t explicitly pre-fetched will cause the ORM to load it lazily from the DB. To prevent this lazy loading, the ORM has to be instructed up front which columns to fetch for every query. The eager-fetch configuration can become very deep (for tables with lots of joins) and cumbersome to maintain, and this tries to alleviate the strain a bit. Disclaimer === This is admittedly geared towards JPA-style ORMs, or any ORM which represents tables as entity classes that store database metadata as annotations on the fields themselves. Structure --- There is a core module 'fetch-dsl-core', which is independent of any specific ORM implementation. It simply translates the DSL into a parent-child tree. ORM-specific implementations are expected to know how to apply this relation to their queries.
Support
Quality
Security
License
Reuse
Support
orm-fetch-dsl has a low active ecosystem.
It has 0 star(s) with 0 fork(s). There are no watchers for this library.
It had no major release in the last 12 months.
orm-fetch-dsl has no issues reported. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of orm-fetch-dsl is 0.2.0
Quality
orm-fetch-dsl has no bugs reported.
Security
orm-fetch-dsl has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
orm-fetch-dsl is licensed under the Apache-2.0 License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
orm-fetch-dsl releases are available to install and integrate.
Deployable package is available in Maven.
Build file is available. You can build the component from source.
Installation instructions are not available. Examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of orm-fetch-dsl
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of orm-fetch-dsl
orm-fetch-dsl Key Features
No Key Features are available at this moment for orm-fetch-dsl.
orm-fetch-dsl Examples and Code Snippets
No Code Snippets are available at this moment for orm-fetch-dsl.
Community Discussions
No Community Discussions are available at this moment for orm-fetch-dsl.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install orm-fetch-dsl
You can download it from GitHub, Maven.
You can use orm-fetch-dsl like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the orm-fetch-dsl component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
You can use orm-fetch-dsl like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the orm-fetch-dsl component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Currently, only Ebean ORM is supported.
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page