close nav

close nav

Thread: facing issue while using JPA with teradata

Forum : Problem Solving   12 Mar, 2021
User Image
KeyRun

Newbie

Joined: 26 Jul, 2019

Points: 100

Threads: 1

Posts: 0

facing issue while using JPA with teradata

| Quote Date : 12 Mar, 2021    Views:263    

I am using jpa to fetch the data from teradata my query is as follows
I am using native query
SELECT * FROM shipment WHERE cust_nbr = :id AND date BETWEEN :startDate AND :endDate;
but i am getting empty data i am not getting what is issue
is there any date issue but i am passing date in Java.uti.date
please kindly solve this
(With "SELECT * FROM shipment WHERE cust_nbr = :id" query i am getting the result)

tags: java
Load More

No More Comments