orm
Doctrine 2 ORM and MongoDB ODM mapping on the same class
Is it possible to map the same class to both ORM and ODM using annotations? We are deciding what to use so we want to do some performance measurment and we also want to be able to switch the persist[详细]
2023-04-12 11:14 分类:问答ejp : how to save modified objects?
I am using e开发者_开发知识库jp, it\'s a simple orm framework. If 1000+ objects were loaded with ejp, but a few of them are modified, how to save change? Should I find the the modified onesmyself ?[详细]
2023-04-12 09:03 分类:问答Petapoco deleting datas while having one to many relations?
In my project we are using petapoco as our ORM for data access. But i face some difficulties while deleting datas which have one to many relations. I have two tables named user and group. Here one use[详细]
2023-04-12 07:24 分类:问答Perl DAL Design Questions
Recently I\'ve been working on some Perl projects and I\'m a very novice Perl programmer.I\'ve been experimenting with DBIx::Class and so far I\'m really please with the flexibility and the ease of us[详细]
2023-04-12 05:03 分类:问答TOPLink SchemaManager functionality
I wanted to know how SchemaManag开发者_如何学Pythoner of toplink works. I have a DataBaseSession and I create schemamanger from it. I also have some mappings in toplink. So my question is:[详细]
2023-04-12 02:10 分类:问答Usecases that really need Hibernate HQL over JPQL
I know JPQL is a subset of HQL. Are there any practical usecases (please give examples) that really need HQL specific features to be used (that means it is impossible or considerably difficult with[详细]
2023-04-12 01:09 分类:问答Doctrine2 and magic finders with more fields not working?
Doctrine2 allows you to query using magic finders based on field names. If you have an entity named User you should able to call $repo->findOneByUsernameAndPassword() assuming that the entity has u[详细]
2023-04-11 21:13 分类:问答When using Hibernate ORM should i model first a class diagram or DB diagram?
i\'m fairly new to Java and Hibernate. At work we are developing a medium sized, formprocessing J2EE web application using Spring, Hibernate, JBOSS and so on. What is 开发者_开发知识库the correct appr[详细]
2023-04-11 20:53 分类:问答Python / SQLAlchemy - load relation when foreign key is updated?
I have a class: class Chart(Base): __tablename__ = \'chart\' id = C(\'chart_id\', Integer, primary_key=True)[详细]
2023-04-11 12:00 分类:问答Hibernate 3 On delete cascade
I have a many-to-on开发者_如何学Goe mapping on bookings. A booking must belong to a room. And a room can have several bookings.[详细]
2023-04-11 11:32 分类:问答