Generation

text to sql syntaxMon, 27 Mar 2023

SELECT MAX(received_volumetry) FROM audit.input_audit ORDER BY creation_date DESC LIMIT 30; pasarlo a JPA

TypedQuery<Integer> query = entityManager.createQuery("SELECT MAX(received_volumetry) FROM audit.input_audit ORDER BY creation_date DESC LIMIT 30",Integer.class);

Want to kickstart your project?Use the new AI Studio to create your code