Hibernate Client Details

Ankit Mutha
Schema Description
  • The relational entities are modelled by following entity classes: "User", "Friendship", "Invitation", "Resource", "Manipulation"
  • The associations among the entities are modelled by storing the collections as part of entity classes above.
  • OO-Hibernate-Client uses pure object oriented programming to implement the BG actions
  • HQL-Hibernate-Client uses HQL as much as possible to implement the BG actions
SoAR Rating# †
10,000 members, 100 friends per user, 100 resources per user, 12 Kilobytes user images
  • ViewProfileAction: 2153 actions/sec
  • ListFriendsAction: 0 actions/sec
  • VeryLowUpdateActions: 808 actions/sec
  • LowUpdateActions: 841 actions/sec
  • HighUpdateActions: 688 actions/sec
  • ViewProfileAction: 4102 actions/sec
  • ListFriendsAction: 412 actions/sec
  • VeryLowUpdateActions: 4661 actions/sec
  • LowUpdateActions: 4653 actions/sec
  • HighUpdateActions: 4562 actions/sec
Setup instructions
The source code includes sample launch configurations for Eclipse IDE. Import and modify the configuration for your database installations. No code changes are required for running the client with various database systems. The source code has been tested to work on following databases:
  • MySQL 5.5
  • MS SQL Server 2014
  • Oracle 11g
  • PostgreSQL 9.3.4

# 10,000 members, 100 friends per user, 100 resources per user, 12 Kilobytes user images.

† The reported performance numbers were obtained using following specifications, RDBMS: Intel dual core CPU E8600 (3.33GHz) with 4 Gigabytes of memory running Ubuntu 12.04 LTS. Client: Intel i7-3770 CPU (3.40GHz) with 16 Gigabytes of memory running Ubuntu 12.04 LTS.