Questions tagged [spring-data-jpa-datatables]

This tag is for questions relating to https://github.com/darrachequesne/spring-data-jpa-datatables

Spring Data Jpa Datatables is an extension of the Spring Data JPA project to ease its use with jQuery plugin DataTables with server-side processing enabled.

This will allow you to handle the Ajax requests sent by DataTables for each draw of the information on the page (i.e. when paging, ordering, searching, etc.) from Spring @RestController.

(taken from the website of that project)

6 questions
1
vote
1 answer

I am trying to introduce 'spring-data-jpa-datatables' to my project as a maven dependency, but getting several other errors while starting the server

I am trying to introduce 'spring-data-jpa-datatables' to my project as a maven dependency, but getting several other errors while starting the server Not sure why I am getting java.lang.NoSuchMethodError:…
0
votes
0 answers

How to use EnversRevisionRepositoryFactoryBean.class andDataTablesRepositoryFactoryBean.class with @EnableJPAReposintories in spring data jpa project?

not able to use both EnversRevisionRepositoryFactoryBean.class in a project we already using DataTablesRepositoryFactoryBean.class import org.springframework.context.annotation.ComponentScan; import…
0
votes
1 answer

Insert images in database

I'm making a real estate app in spring boot - thymeleaf and I really need to ask you how to store images. I was thinking about making a table just for images and anotate it manyToOne, and insert it into Property entity because one property can have…
0
votes
2 answers

Spring JPA findAll query to return without nested field from foreign key mapping

I dont know how to ask this question, but hope my explanation help My issue is getting this result: [ { "product_id": 30001, "product_name": "shoe", "product_price": 40.5, "product_description": "for gym", "seller": { …
0
votes
2 answers

spring-data-jpa-datatables: Ignore Hibernate @Where annotation

For spring-data-jpa-datatables:4.3, how to make DataTablesRepository to return all entities, ignoring the Hibernate's @Where annotation? This is an entity with Hibernate's @Where annotation: @Entity @SQLDelete(sql = "UPDATE vehicle SET deleted_at =…
-2
votes
1 answer

Perform generic search using Spring Data JPA on my DB

For that, I have created a query like this @Query(value="SELECT"+ retreiveCol +"FROM"+tableName+"WHERE"+condition, nativeQuery = true) public Object genericSearch(@Param("retreiveCol") String retreiveCol,@Param("tableName") String…