Avatar of DebeG
Flag for United States of America

asked on 

How to still read a locked iseries file using Hibernate in Java

Using Hibernate to create a list of data from an iseries file.  I dont want to update this file, just want to retrieve data.  If the file is already open on iseries, my java code pauses at this statement (List list = loggedQuery.list();)  until the lock on the file is gone.  Is there a way to still read this file, even if it has a  *SHRRD lock?
Java* hibernate

Avatar of undefined
Last Comment

8/22/2022 - Mon