I have to save this information in a database Person -> is married to -> Person Wh开发者_如何学JAVAere should I save that information? What is the proper design pattern should I apply here?
DB world is not mine, so perhaps the question is trivial Imagine designing a DB that store data from different kinds of items (like datatypes)
Hi guys I am migrating an application using hibernate from xml to JPA annotations. Currently I am stuck on mapping a map of objects with compound id using annotations
We have two assemblies A and B where B extends from A. B has a property of a type in A If 开发者_开发技巧we have a record of B in de database and we delete A wich is used by B the record will be remo
I have a question in core data: there are 2 Entities in the project, Books and Pages; there are 3 Object开发者_如何学运维s books user created in Entity Books;
I\'m having a hard time coming up with a conceptual model for a recurring transaction scheme in Core Data. So far I have:
I\'m having problems optimising data lookup with the following data structure: Order ----- Id Customer
I have a to-many relationship in my CoreData model without an inverse relationship which causes some strange behaviours.
I\'m using jpa persistance annotations. I have 2 objects, Order(parent) and Transaction(child). I want to be able to fetch my oder and get its transaction. The problem is I don\'t want my transaction
I have a typical table, e.g. id(int) name(varchar) address(varchar) date(datetime) I also have a table that references validation functions for each one, e.g.