Announcement Announcement Module
No announcement yet.
Rowlevel security Spring + Hibernate + Jboss Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Rowlevel security Spring + Hibernate + Jboss

    Hey guys,

    I came up with a question that I can't seem to find on the internet.
    I'm developping a program in spring that uses 1 database for all the users.

    Atm I'm trying to seperate data from different users on a way that I don't need to pay attention to it on DAO level..
    Basicly, every query that i run on dao level needs to have to apply automatically some filter like " where user.userId == books.ownerId".

    I saw some Hibernate filter examples which isn't an option cause the hibernatemappings and pojo are created by an external program which doesn't allow us to add any filtering options in that way.

    Does anyone know a way of doing this on the most effecient manner?

    Thanks alot,

    Greetz YcKe

  • #2
    Isn't there anyone who ever came accross this problem?

    greetz YcKe