Enhancement #104
Let Hades also execute modifying queries
| Status: | Closed | Start: | 07/28/2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | % Done: | 100% |
||
| Category: | Core DAO | Spent time: | - | |
| Target version: | 0.7 |
Description
Currently Hades is only capable of executing finder queries. It would be useful if it also could execute modifing queries (updates, inserts) via DAO interface methods. Note, that deriving the query from the method name is not resaonable for this case so Hades should reject methods not backed by a Hades @Query annotation or a @NamedQuery. Regarrding terminology we should move from "finder method" to "query method".
Related issues
| related to Hades - Task #105: Update documentation to extensions in query methods | Closed | 07/29/2009 |
Associated revisions
- fixes #104 - allow execution of manipulating queries via finders
- extracted query execution into own enum
- renamed
FinderMethodtoQueryMethoddue to change in concepts - transformed semantics of
HadesQueryto only create and prepare an JPA query instead of also executing it - reflect changes in dependent classes
- added method to test interface to test new behaviour
- references #104 - updated reference documentation
History
Updated by Oliver Gierke about 1 year ago
- Status changed from New to In progress
Updated by Oliver Gierke about 1 year ago
- Status changed from In progress to Fixed
- % Done changed from 0 to 100
Status geƤndert durch Changeset r6534.
Updated by Oliver Gierke 11 months ago
- Target version set to 0.7
Updated by Oliver Gierke 11 months ago
- Status changed from Fixed to Closed