I have a table with a name Samplesin my database, and it has a column with a name baselinethat is a boolean variable. I wanted to search among the rows that have baselineinstalled as 1, so I created a view in the database (MySQL). Now, instead of querying the table, SamplesI want to query this view (names like Baselines).
Do I need to add a declaration for this view to the hibernate cfg file? Also, do I need to create another Java class with the name for this Baselines?
source
share