-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Tables and Columns represented as rows in DB?
PostPosted: Tue Aug 01, 2006 1:20 am 
Newbie

Joined: Tue Aug 01, 2006 12:57 am
Posts: 1
All,

This is a bit leftfield but worth asking. I've been through the docs but here goes:

Is there a way to map tables and their columns onto a (say) TABLE table that has a row for each table type, and the columns of an entity onto a (say) COLUMN table that contains the definition of the columns.

The actual 'rows' of the table would be stored in a (say) third table that is keyed by table and column and contains a value.

Essentially the data model is reduced to name/value pairs defined by three (or more) tables.

The idea is to be able to extend the data model without actually touching the SQL data model. Ideally, the SQL/HQL up front would perceive the table to be normalised and the structure behind would be transparent.

??? ... or should I just have another drink ...

Greg.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.