Home > Back-end >  Hibernate use createSQLQuery query less than numeric value of 0 data, how be to return a responsibil
Hibernate use createSQLQuery query less than numeric value of 0 data, how be to return a responsibil

Time:09-23

When I was in a list using hibernate to check, if use createQuery check, can be normal to display the data, but if use createSQLQuery to directly manipulate the database table, the table of type int the ZT fields, all database data value is 0, the query out after the value is 1, other values including negative works, only 0 data so, how is this to return a responsibility excuse me, feel good strange, no points, thanked first

CodePudding user response:

Just try to query other table is the same way everything is normal, good magic
  • Related