single-table-inheritance
Getting right row while using inheritance of tables in PostgreSQL
I\'m recently trying to drop Doctrine due to performance and problems with abstraction and move todatabase driven logic. I\'m using mostly PostgreSQL.[详细]
2023-03-22 01:21 分类:问答Rails 3, Devise and single table inheritance issue
I reproduced the issue I\'m getting in a simple rails project available at githu开发者_运维技巧b :[详细]
2023-03-18 18:41 分类:问答Rails: Structuring a query involving a polymorphic association and STI
I\'m trying to find the 10 most recent comments on photos so I can integrate them into an activity feed on my Rails 3.0.3 application.[详细]
2023-03-17 15:16 分类:问答JVM crashing when using any other Hibernate inheritance strategy besides SINGLE_TABLE
Ok, this is probably a longshot but here goes. In Java (JRE 1.6.0_26-b03) I have two classes, SuperControl and its subclass SubControl. They both need to be persistent objects and I\'m using Hibernat[详细]
2023-03-17 00:00 分类:问答How to get single table inheritance for a single class hierarchy
I use FluentNHibernate with AutoMapping to map my persistent classes. The default Table per Sub-Class mapping works fine for almost all of my class hierarchies, except one:Here I have an abstract base[详细]
2023-03-14 07:03 分类:问答Doctrine ORM Single Table Inheritance association problem (always Eager loading contrary to documentation))
I have an issue with single table inheritance and I\'m not sure if I\'m interpreting the documentation correctly.[详细]
2023-03-13 09:13 分类:问答How do I handle a simple polymorphic association in my views?
I\'ve got some models that look like this: class Basket has_many :fruits, :dependent => :destroy end class Fruit[详细]
2023-03-12 19:39 分类:问答Is this how django does Single Table Inheritance?
In this SO question I see the following: class MediaContent(models.Model): uploader = models.ForeignKey(User)[详细]
2023-03-11 20:47 分类:问答How to convert entity leaving it id
There are some entities (Region, Country, City)开发者_高级运维 which used STI (or even CTI). How it possible convert Country to City leaving old id?This is not supported in Doctrine 2 because type cas[详细]
2023-03-10 18:22 分类:问答Rails - Single Table Inheritance problems. Any solutions / alternatives
For my project management application, I am currently using Single Table Inheritance so that: Lead < Requirement[详细]
2023-03-09 05:02 分类:问答
加载中,请稍侯......