2008-04-22:
[1:52] <zenpsycho> sorry for the dumb question. I'm building an app with the built in xml db that I plan to migrate to SQL at some point.[1:52] <zenpsycho> but I need to know that if you have a property which is mapped as a collection of prototype X[1:53] <zenpsycho> and you have a HopObject Y which _extends X[1:53] <zenpsycho> rather whose prototype extends X[1:53] <zenpsycho> Can you add HopObject Y to the collection?[1:54] <zenpsycho> or must the collection be mapped specifically as the prototype for Y?[1:55] <zenpsycho> It's an important question because the built in DB doesn't seem to apply any restrictions at all upon which object you can add where[1:55] <zenpsycho> so if I come to depend on behavior that does not work in an SQL mapped database it will present a problem[2:05] <zenpsycho> Nevermind I got the answer[2:44] <zenpsycho> though here's another question: bug or feature?[2:44] <zenpsycho> Again with the built in DB, i've got some objects populated[2:44] <zenpsycho> I add to the root's type.properties a mountpoint[2:45] <zenpsycho> however, it doesn't get added as an actual object until the application accesses it.[2:45] <zenpsycho> and when it does, its id becomes what looks like its property name[2:46] <zenpsycho> and as a result, on application restart, it disappears from the application[2:47] <zenpsycho> The workaround I've found is after adding a mountpoint, I explicitly make that property = new PrototypeName();[2:47] <zenpsycho> then the DB doesn't forget that it exists[2:58] <zenpsycho> to clarify when I said "doesn't get added as an actual object" I meant, it isn't persisted[7:27] <zumbrunn> hi zenpsycho[7:28] <zumbrunn> do you have a test app handy for this?[7:28] <zumbrunn> I'm not sure whether I'm following your config correctly[7:28] <zumbrunn> or maybe I just need a cup of coffee first[7:31] <zumbrunn> anyway... using mountpoint mappings is another things that could get you in to trouble later when switching from the xml db to sql, since mountpoint mappings with the embedded db seem to behave more like object mappings with the sql backend[7:32] <zumbrunn> (not sure whether *that* is a bug or a feature either)[15:47] <zumbrunn> http://dev.helma.org/wiki/Helma+Meeting+Spring+2008/[15:48] <zumbrunn> the place is werkzeugH in Vienna, Austria - http://www.werkzeugh.at/[15:49] <zumbrunn> the date is May 7th, or May 6th as a possible alternative, depending on feedback
In the channel now:
Logs by date: