spring-data Questions
5
I use Spring-Boot and want to connect it to Hive by spring-data-hadoop 2.3.0.M1-hdp23. The problem is that my application doesn't start if I add hive-jdbc to my pom.xml. The errorlog (partly) is:
...
Forehand asked 11/8, 2015 at 13:18
4
i work with a spring-boot project,
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.4.RE...
Witherspoon asked 17/11, 2020 at 7:26
3
We have a fairly complex data model and are using Hibernate and Spring Data JPA on top of MySQL. We have a base class that all domain objects extend to minimize boiler plate code. I would like to b...
Worthless asked 5/1, 2012 at 15:42
8
I am trying to build a web application, I didn't add any classes or packages I have just ran the app but it says
java.lang.NullPointerException: Cannot invoke "org.hibernate.engine.jdbc.spi.Sq...
Forerunner asked 1/11, 2023 at 22:30
13
Solved
I am a novice in hibernate world and facing,
WARN: GenerationTarget encountered exception accepting command : Error executing DDL via JDBC Statement
org.hibernate.tool.schema.spi.CommandAcceptance...
Civilization asked 14/4, 2017 at 7:47
2
Solved
there are few answers to the question already. But none of them works for me.
I can't figure it out for the life of me why the error is coming.
Following are the approaches I tried:
using Abst...
Bracer asked 28/4, 2018 at 14:31
5
Solved
I am trying to set up a spring rest api using hibernate. When trying to use the userRespository I set up I am getting this error
org.springframework.beans.factory.UnsatisfiedDependencyException: E...
Nominee asked 2/10, 2019 at 2:39
5
In spring-data-redis, How do we need configure custom converters that can be auto-wired/injected from Spring boot application or configuration.
I read about @ReadingConverter and @WritingConverter...
Pritchett asked 20/3, 2017 at 23:5
13
Solved
I have the following exception when running Java app for MongoDB:
[localhost:27017] org.mongodb.driver.cluster : Exception in monitor thread while connecting to server localhost:27017 while access...
Brendanbrenden asked 15/2, 2016 at 17:19
7
I am currently migrating a SpringBoot 2.7 application to SpringBoot 3. The following query is used within a SpringData repository:
@Query("select b from #{#entityName} b where (trunc(b.date) ...
Uninterested asked 10/12, 2022 at 13:36
17
Solved
I have a maven-spring project in Eclipse and I have this annoying error message in one of my spring contexts:
Referenced file contains errors (jar:file:/M2_HOME/repository/org/springframework/sp...
Knockabout asked 3/12, 2012 at 22:40
5
We can select specific columns by writing custom @Query methods in our Repository Interface. However, I don't want to write so many methods for different properties.
I tried this, but it returns t...
Stablish asked 4/3, 2014 at 12:19
7
I am having a problem integrating liquibase with springboot.
I have added the liquibase dependency in the pom file like below:
<dependencies>
<dependency>
<groupId>org.sprin...
Homerhomere asked 14/3, 2020 at 13:9
5
Is there a simple way to use spring data couchbase with documents that do not have _class attribute?
In the couchbase I have something like this in my sampledata bucket:
{
"username" : "alice",
...
Edmondedmonda asked 9/8, 2016 at 9:57
1
I am getting below exception for a jpa query
org.springframework.orm.jpa.JpaSystemException: Unknown wrap conversion requested: java.util.ArrayList to java.lang.string: 'org.hibernate.type.descript...
Tenorrhaphy asked 14/6, 2023 at 9:14
1
Recently I noticed that our spring-boot services are logging a warning from org.springframework.data.convert.CustomConversions.
The message is this:
Registering converter from class microsoft.sql....
Mcdougall asked 22/2, 2022 at 15:16
3
Solved
I have an entity Rental with the following userId field:
@Column(name = "user_id", updatable = false, nullable = false)
private UUID userId;
I also have a JpaRepository for it:
public interface...
Subscription asked 31/1, 2020 at 9:59
5
Solved
The methods come with JpaSpecificationExecutor are inadequate, none of them give me what I want:
Page<T> findAll(Specification<T> spec, Pageable pageable)
List<T> findAll(Specif...
Thesis asked 4/11, 2014 at 14:53
3
Solved
Using spring-data-mongodb-1.5.4 and mongodb-driver-3.4.2
I've a class Hotel
public class Hotel {
private String name;
private int pricePerNight;
private Address address;
private List<Rev...
Defective asked 10/9, 2017 at 10:49
5
For the below code, Get and update operation in the repository work fine. But save operation is not persisting the data into the tables. It works fine if I implement the Repository myself. After th...
Koosis asked 29/1, 2019 at 8:12
4
Solved
I tried to upgrade my data-mongo example project to Spring Boot 2.6.0. There is a test designed to run against Testcontainers, I also included the embedded mongo dep for other tests, so I have to e...
Damsel asked 20/11, 2021 at 15:35
4
Solved
This will be my first time connecting Spring to Redis. The documentation for jedis connection factory: http://www.baeldung.com/spring-data-redis-tutorial
Offers the following code:
@Bean
JedisCo...
Exsanguine asked 28/2, 2018 at 4:28
5
Solved
it seems that SpringData ES don't provide classes to fetch highlights returned by ES. Spring Data can return Lists of Objects but the highlights sections in the Json returned by ES is in a separate...
Vellicate asked 5/5, 2016 at 11:45
2
Solved
I am using Spring Data Elastic Search for querying from elastic search DB.
I need to highlight and display the searched text in the search results.
I have my setting like below
SearchQuery sear...
Duty asked 26/2, 2017 at 6:12
3
Solved
I'm studying Transaction Routing in Spring, but my application has a runtime problem.
I have two MySQL databases, one for reading and one for reading/write, but my routing configuration is not work...
Hopefully asked 17/6, 2021 at 3:24
1 Next >
© 2022 - 2024 — McMap. All rights reserved.