[Activerdf] The type of a created object

Eyal Oren eyal.oren at deri.org
Wed Dec 13 22:38:07 GMT 2006


On 12/13/06/12/06 17:26 -0500, Paul Stadig wrote:
>I didn't realize you have to call 'save' before you can set properties.  
>This was counter intuitive to the way I'm used to considering things.  
>Perhaps there should be a specific example in the Wiki about creating an 
>instance and storing it to the database?
Hi, thanks for your feedback.

I definitely don't think this behaviour is good, but I didn't spend much 
time on updating data with ActiveRDF lately, so these inconsistencies and 
inconveniences slipped in I'm afraid. I'll have a look at the whole 
updating issue soonish, when I find some free time.

If you could turn your email message into a very short wiki [1] page, I'd 
be very grateful. If you would find time to file a quick bug [2] I'd be 
even more thankful.

>Also, it is counter intuitive when you consider the fact that setting the 'eye'
>property directly modifies the database even though you haven't called 'save'.
>So on the one hand creating a resource will not occur unless you explicitly
>call 'save', but on the other just setting a property will modify the database
>even without calling 'save'.
yep. sorry, that's not good.

>By the way, the exact same code (with :redland replaced with :rdflite) fails
>with :rdflite. I'm not sure if that is a bug?
I'll have to check. What's the failure message?

>Thanks for the work on ActiveRDF. I don't mean to be critical. I am excited
>about using the library, and I want to help to make it better.
no problem. feedback is good. I like it ;-)

 -eyal

[1] http://wiki.activerdf.org/
[2] https://bugs.launchpad.net/products/activerdf/+bugs


More information about the Activerdf mailing list