This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes Db driven menu system Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Db driven menu system" Watch "Db driven menu system" New topic

Db driven menu system

Luke Gee

Joined: Apr 11, 2012
Posts: 5
I want to create a database driven menu system that will populate a menu depending on the current users permissions. I have the idea of a table that would hold the collection name and another that maps sub menus to this parent menu item in collection. I would then map user types to the collection, defining whether they have access to this. The problem is im new to this kind of concept and I cant quite grasp how this would map to objects in java and just wondered if anyone could point me into the right direction.

Any help would be much appreciated.

Vijitha Kumara

Joined: Mar 24, 2008
Posts: 3886

So you need to know how ORM (from Hibernate) works?

[How to ask questions] [Twitter]
James Sutherland
Ranch Hand

Joined: Oct 01, 2007
Posts: 553

TopLink : EclipseLink : Book:Java Persistence : Blog:Java Persistence Performance
Consider Paul's rocket mass heater.
subject: Db driven menu system
It's not a secret anymore!