I have this requirement where I need to present horizontal rows as vertical columns in SQL Server native query. For example, my select query returns ...
I have this requirement where I need to present horizontal rows as vertical columns in SQL Server native query. For example, my select query returns ...
I am trying to retrieve the generated data via Reactjs. However, the data that is generated with a native SQL query in spring boot is without metadata ...
I want to use tortoise ORM to execute native SQL. What should I do? I can not find the methods or class to do it. ...
I use Spring-orm 4.3.30 . At Hibernate 5.1.17, class createSqlQuery use AbstractQueryImpl and we can use Custom Type with prepareStatement for exampl ...
I am experiencing various things while studying JPA, but I am too unfamiliar with it, so I would like to get some advice. The parts I got stuck in du ...
The code is as follow: sql = " select '--', staff_no from staff where staff_no = ?"; Session session2 = HibernateUtil.getCurrentSession(); ...
I have a spring boot application with JPA configured. While querying the database i am running native sql query with the help of spring data @query an ...
I'm new to Spring Boot. I've stucked in the problem of creating new data (POST) for a whole day. The error shows that I did not connect successfully t ...
i have two entity classes both are in relation.am skipping annoatation part and remaining fields in the below code. when i try to access department ...
Is there a performance difference between: and and if yes, is it high enough to use 1 approach over the another? I am making a performance comp ...
I am stuck in very strange condition and trying to find solution from last two weeks. We have migrated one relational package and reports using it as ...
I made two count queries with query build doctrine but after I found that there is several query count that repeats so I must work with UNION but ther ...
I'm trying to execute query , but got Resolved exception caused by handler execution: org.springframework.dao.InvalidDataAccessApiUsageException: org. ...
I have native sql query using in global NHibernate common session like Is NHibernate cache result of this query? ...
I'm developping an application with symfony 3.4. I want to execute a specific query. So i have two entities: the first is PrPurchaseRequest. the secon ...
I am using Spring Boot 2.0.2.RELEASE with Spring Data JPA. I am trying to do implement pagination with native query in MySql, my code is : I got th ...
I have a following query which starts with "WITH" clause. And If I fire same query in SQuirrel which is having DB2 connection - It works. But same que ...
I am trying the below dynamic query where I get the column names , table names from one query and I need those values in a variable which I will make ...
I have a report where a query named "Query1" is created using the default data items present in the package. When I look into the Tools ---> Show G ...
This is the query which is running properly in sql . But when i am ruuning it with java code. Showing query syntax exception My java code where ...