Pattern « Table « JPA Q&A





1. JPA Lookup table design    stackoverflow.com

I have a design dilemma at my hands and am hoping you guys could help me out with this. Problem: I have about 15 lookup tables for my application each with code and ...

2. Pattern for associating a row with one of several tables?    forum.hibernate.org

I have an 'Issue' object/table that represents a problem in our system. I'd like to be able to associate Issue objects with one of 5 different other objects/tables. One approach would be to have 5 join tables, one per source object/table. Another approach would be to have my Issues table have 5 reference columns, of which only one is used at ...

3. Architecture patterns:Repository pattern, Table Data Gateway    forum.hibernate.org

Hi all I am working on a system using NHibernate 1.2 (ok it's not on the right forum but my queries still do apply I think) where we use the Repository pattern to provide us with CRUD commands to our database. In terms of layers separation, we've got: - A services layer which is here to respond to users of the ...