Allow "Table Per Heirarchy" for Persistence, (please)
Please allow the ability to use OO Inheritance in Grails domain classes that produce individual Collections in MongoDB per Child Class.
Example Current: BaseClass -> property1, property2
SubClass -> property3, property4
Expression in MongoDB is: BaseClass Collection -> class:SubClass, property1, property2, property3(nullable: true), property4(nullable: true)
Preferred Expression In MongoDB:
SubClass Collection -> property1, property2, property3, property4
** This allows us to use OO in Grails domain classes without repercussions in the persistent tier, among other benefits.
THANK YOU for the plugin and for your consideration.
Default is collection par hierarchy which works, i guess u want collection par subclass. @gravattm am i missing some thing ?