79794806

Date: 2025-10-20 10:42:11
Score: 2
Natty:
Report link

String hash = HashUtil.hash(hanaDok.getFileName());

Query query = entityManager.createQuery("SELECT o FROM OracleDok o WHERE o.fileNameHash = :hash", OracleDok.class);

query.setParameter("hash", hash);

This avoids encryption issues and is efficient for lookups.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: script kiddo