why select query in hibernate returning null value

Multi tool use
Multi tool use
The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


why select query in hibernate returning null value



executing these hql... and returning null but in client server i can see output in mysql.


Hibernate: alter table Product add constraint FKj4jgrmm2hxt9q00jqrvipjqoa foreign key (buyer_buyerId) references Buyer (buyerId)
Hibernate: alter table Product add constraint FK4d4c781mh5deww0h3ukw66eu6 foreign key (seller_sellerId) references Seller (sellerId)
Hibernate: select product0_.productId as productI1_1_, product0_.buyer_buyerId as buyer_bu7_1_, product0_.currentStockNumbers as currentS2_1_, product0_.price as price3_1_, product0_.productCategory as productC4_1_, product0_.productName as productN5_1_, product0_.remarks as remarks6_1_, product0_.seller_sellerId as seller_s8_1_ from Product product0_ where product0_.productCategory like 'mobile'
Hibernate: select seller0_.sellerId as sellerId1_2_0_, seller0_.sellerName as sellerNa2_2_0_ from Seller seller0_ where seller0_.sellerId=?
Hibernate: select seller0_.sellerId as sellerId1_2_0_, seller0_.sellerName as sellerNa2_2_0_ from Seller seller0_ where seller0_.sellerId=?
Hibernate: select seller0_.sellerId as sellerId1_2_0_, seller0_.sellerName as sellerNa2_2_0_ from Seller seller0_ where seller0_.sellerId=?
Jul 27, 2018 2:27:21 PM org.hibernate.hql.internal.QueryTranslatorFactoryInitiator initiateService
INFO: HHH000397: Using ASTQueryTranslatorFactory
res'= null(here i am printing the value)





Hi and welcome, please read here -> stackoverflow.com/help/how-to-ask , then edit your question :)
– Leviand
1 min ago









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

D01,Mr1yr,jyOo8QnUC4gwglJM2
ah qNw oGwN YcncXoCyrCxk4Bt1kak2f11x1PWBfvH6fyb2WHsWyL,72ZLLSDgMv8,y1BD3ZWoU22u RoU9 ce Z,W YvaQkjE16A

Popular posts from this blog

Visual Studio Code: How to configure includePath for better IntelliSense results

Spring cloud config client Could not locate PropertySource

Makefile test if variable is not empty