file « Table « JPA Q&A

1. Setup hibernate config files for tables with NOLOCK

Hello, I am new to Hibernate. Can someone show the syntax to setup hibernate file to not lock a table when any particular SQL action is performed. For instance, if a table has 1 million records and the user requests all the rows, on the database backend I can see that the table has been locked. In SQL Server, there is ...

2. dynamic table generation and hibernate file creation

hi, In my application, I have to generate dynamic table name and set it into hibernate file. Is it possible? or how to do this? normally we create table and fixed the name into hibernate file. but here i know the structure of the table but table name needs to be changed based on some condition.,