Home > Back-end >  Hibernate conversion SQL executeUpdate error
Hibernate conversion SQL executeUpdate error

Time:01-23

The original code for:

GetSession (). CreateQuery (" delete from "+ getEntityClass () getSimpleName () +" where sys_index_object_type_code!=8). ExecuteUpdate ();

The output of this SQL is:
Original STR:

SysIndexQueue
The delete from SysIndexQueue where sys_index_object_type_code!=8
Be converted to:
Hibernate:
The delete
The from
. SYS_INDEX_QUEUE
Where
Sys_index_object_type_code & lt;> 8

Results before the table name should have one more point, don't know how the decimal point, the old project for development of,
  • Related