|
You have a class employee and a sql database where HQL commands are used to read, edit or delete records. When the common class name (eg: Employee) is also part of a string value in a record and you want to replace the value including a preceding comma, the value will be replaced with a part of the path and the class name (see below): Record ID: 1 --> field value should be: ,Employee Number 1 Record ID: 1 --> but field value is: ,test.hibernate.bug1.Employee Number 1
I have attached the project with simple lines of code to reproduce the problem. You just need to create a new sql database "dbHibernate" (see hibernate.cfg.xml).
Best regards Manfred
|