Based on my last post: Spring JPA long SQL String for NativeQuery
I've managed to find a "place" to write clean SQLs so that I can directly copy and paste it in the DB software for faster testing.
But another problem comes, if I wan to segregate my orm.xml file, say:
- student_orm.xml
- teacher_orm.xml
I tried renaming the files as seen above, but it says the methods in the files are not found during startup. Any idea how I can let the project understand the multiple orm.xml files?