Comments (6)
If you would like us to spend some time helping you to diagnose the problem, please spend some time describing it. Right now, we struggle to understand what you want to achieve.
from spring-data-jpa.
If you would like us to spend some time helping you to diagnose the problem, please spend some time describing it. Right now, we struggle to understand what you want to achieve.
According to the method I defined, the return value type I should get from Page.getContent()
is LinkedHashMap<String, Object>
. But actually, I get Object[]
from Page.getContent()
.
from spring-data-jpa.
We do not support Map
as query method return type, see https://docs.spring.io/spring-data/data-jpa/reference/repositories/query-return-types-reference.html.
from spring-data-jpa.
We do not support
Map
as query method return type, see https://docs.spring.io/spring-data/data-jpa/reference/repositories/query-return-types-reference.html.
@mp911de The documentation doesn't specify what type of T
is available in Page<T>
. And when I use Page<List<Object>>
, The type i get from Page.getContent()
is also Object[] instead of List.
from spring-data-jpa.
It does:
T
A unique entity.
A Map is not an entity.
from spring-data-jpa.
It does:
T
A unique entity.A Map is not an entity.
I know, but when I use Page<List<Object>>
, The type i get from Page.getContent()
is also Object[] instead of List.
And I remember that in the previous version, spring-data-jpa could use map, where the key value was the name of the column, and the value was the corresponding value of the column.
from spring-data-jpa.
Related Issues (20)
- Spring Data JPA projection to records using native queries does not work HOT 6
- potentiallyWrapWithWildcards usage is wrong in StringQuery HOT 1
- Release 3.1.11 (2023.0.11)
- Release 3.2.5 (2023.1.5)
- Release 3.3 RC1 (2024.0.0)
- Cannot use "IgnoreCase" in Spring boot data JPA with SQL server database HOT 3
- I'm curious about why SimpleJpaRepository checks twice whether the entity is in a persistent state when calling the delete method. HOT 14
- Query Generation Regression when using EntityGraphs on Version 3.2.3 and Hibernate 6.4.4.Final HOT 7
- Cannot run/debug tests with IntelliJ IDEA HOT 1
- Creation Timestamp updating in result but when I get from database nothing changes. HOT 1
- Multi-Tenancy with Spring boot(2.7.18) + Hibernate: "SessionFactory configured for multi-tenancy, but no tenant identifier specified" HOT 2
- Calling Postgres Function From Spring data jpa repository HOT 1
- Align OffsetScrolling to zero-based indexes
- Problem with Spring Data JPA with projections, specifications and SPEL HOT 3
- Repositories do not support collections mapped to SQL arrays HOT 1
- Suboptimal specification queries for object arrays HOT 5
- Broaden integration test runs against Hibernate 6
- Projections with findBy select can't / doesn't trim fields
- Spring Data JPA creates a query according to method name regardless of existing named query HOT 1
- JPA projection cannot project OffsetDateTime from timestampz HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-data-jpa.