| От | Frank Lanitz |
|---|---|
| Тема | Re: Best practice on inherited tables |
| Дата | |
| Msg-id | 51989C2D.4050106@frank.uvena.de обсуждение исходный текст |
| Ответ на | Re: Best practice on inherited tables (Alfonso Afonso <aafonsoc@gmail.com>) |
| Список | pgsql-general |
Am 17.05.2013 21:21, schrieb Alfonso Afonso: > Hi Frank > > Although you are thinking in OOP, the SQL is itself one definition > model that you should not ignore and, IMHO, try to follow the > normalization statements. > > You can build a robust and normalized schema (table primarylocation , > table secondlocation that have a idprimarylocation, etc.) and later > you could build your OOP software translating this to the proper > classes (in Java you could use a DAO-POJO class or hibernate-jpa, for > example). > > With this solution you can obtain all the benefits of DBRMS besides a > OOP robust software :) I was really thinking about this way as it's tradition relational model and of course kind of a rock stable solution. But I have the fear that it will end up in a real mess of joins at database layer in the end so I thought to make usage of such a feature if available ;) Cheers, Frank
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера