Basically, if your application needs to store some data, you probably want to use ORM (for example, you created some kind of business application for your company, and you need to track users and accounts). If your application is your data, then you probably want to use JDBC (for example, you created a data warehouse for your company).
as an additional note, it is only natural that an application can use both ORM and JDBC. if, for example, you created a webapp that allowed users to access your data warehouse, you could manage user / account information using ORM, but use JDBC to interact with the data warehouse.
jtahlborn
source share