Suppose you want to fetch a mobile list from mobileList table where mobile status is either 1 or 5 (in status column of mobileList tabl...
READ MORE +
Home / Hibernate
Showing posts with label Hibernate. Show all posts
Showing posts with label Hibernate. Show all posts
How to Configure C3P0 Connection Pool in Hibernate?
Hibernate supports various types of connection pooling mechanisms such as C3P0, Apache DBCP, Proxool but i am going to show you how to inte...
READ MORE +
How to fetch selected columns at run time using SQL Native Query in Hibernate?
In following example , I am selecting two columns passing columns name at run time ( by passing parameter in getAllGraphData method ). p...
READ MORE +
How to select records based on foreign key in Hibernate ?
Take a Scenario, We have two Entities: Login and AppDetails . Of these Entities AppDetails has a foreign key login references the ...
READ MORE +
Subscribe to:
Posts
(
Atom
)