[Neo] Lazy load of properties?

2010-05-20 Thread Mattias Ask
Hi, I was just wondering one thing. Are properties on Nodes and Relationships lazy loaded? I mean, if I have an AccountNode which holds 5 large images and I'm only interested in reading the name property of the account, when I read the name will the images be read from disc? Best, Mattias ___

Re: [Neo] is neo4j the correct tool to store trees?

2010-04-06 Thread Mattias Ask
LDAP, maybe? Skickat från min iPhone 6 apr 2010 kl. 22.55 skrev Michael Ludwig : > TuX RaceR schrieb am 06.04.2010 um 14:26:16 (+0100): >> Hello Neo4j Users, >> >> his is a newbie question. >> I have a tree that could be thought of as a filesystem tree, i.e: > > Neo4j will probably fit the bill,

Re: [Neo] Leaderboard?

2010-03-16 Thread Mattias Ask
gt; > Perhaps a linked list using relationships? > > > > Or even a btree should be doable? > > > > --Original Message-- > > From: Mattias Ask > > Sender: user-boun...@lists.neo4j.org > > To: Neo user discussions > > ReplyTo: Neo user discussio

[Neo] Leaderboard?

2010-03-15 Thread Mattias Ask
hat I could make all actions trigger an update to a PlayersScore-table in a relational db, and then do a "SELECT player_id, score FROM PlayersScores ORDER BY score DESC", but I would like to know how this can be done in Neo without killing performance. Any ideas? Best regar

Re: [Neo] getProperty and null...

2010-01-05 Thread Mattias Ask
jo4neo looks veeery interesting. It's passed by my eyes before, but now that I looked a bit closer at it I see that I'll have to try it out :) Thanks! /ma 2010/1/5 Anders Nawroth > Hi! > > Mattias Ask: > > that isn't set. Or maybe I feel that the default should b

Re: [Neo] getProperty and null...

2010-01-05 Thread Mattias Ask
maybe it's just me! Any other thought on the issue are welcome :) I totally agree that the method with the default value is great! No question about that, and of course I use it return other things than null as well :) Best, Mattias Ask 2010/1/5 Mattias Persson > Well, I think it's

[Neo] getProperty and null...

2010-01-05 Thread Mattias Ask
turnValue. In my case my domain objects extend a NodeDelegate, which takes an underlaying node in the constructor. This means that I can use getProperty(SOME_PROP, null) everytime I call getProperty(SOME_PROP)... but the question is if there are any downsides to doing that? What are your thoughts on

Re: [Neo] Open Session In View

2009-11-23 Thread Mattias Ask
a fit, but since LDAPTemplate works fine (LDAP is after all a type of graph), there might be some value thinking of it... PS. Peter, I don't think I've contributed to the NeoWeaver component... I'm pro NodeDelegate instead of NodeWrapper, if that's wha

[Neo] Transformer...

2009-07-29 Thread Mattias Ask
ransformer?), but I think this is really powerful. What do you think? Best regards, Mattias Ask --- Jayway AB, +46 701 469284 www.jayway.com Jayway is the founder of Öredev and Qi4J www.oredev.org www.qi4j.org _

[Neo] ID's for entities?

2009-07-23 Thread Mattias Ask
back of my head that says that I can't use the NodeId, since I seem to recall that those are re-used when e.g. deleting a node... right? Best regards, Mattias Ask --- Jayway AB, +46 701 469284 www.jayway.com Jayway is the founder of Öredev and Qi4J ww

[Neo] Load-time weaving of Node-based domain objects

2009-05-26 Thread Mattias Ask
actually not too magical... Best regards, Mattias Ask --- Jayway AB, +46 701 469284 www.jayway.com Jayway is the founder of Öredev and Qi4J www.oredev.org www.qi4j.org ___ Neo mailing list User@lists.neo4j.org

Re: [Neo] NotInTransactionException?

2009-05-24 Thread Mattias Ask
Well, of course it's a bit magical... when not proxy-based, AOP is always a bit magical :) But, as you also say, it solves the problem. I'll get a post up as soon as possible, and I'll try and have as much code as possible in it. Best regar

Re: [Neo] NotInTransactionException?

2009-05-22 Thread Mattias Ask
hem up without having access to the NeoService... And I think that is pretty cool :) I hope this gives my prior mistake some context (no pun intended ;) I'll write a blog post on this at http://blog.jayway.com when I get the time, but for now it&

Re: [Neo] NotInTransactionException?

2009-05-22 Thread Mattias Ask
Of course! Doh! But you'll hopefully soon see why I did this error :) Best regards, Mattias Ask --- Jayway AB, +46 701 469284 www.jayway.com Jayway is the founder of Öredev and Qi4J www.oredev.org www.qi4j.org On 22 maj 2009, at 19.31, Emil E

[Neo] NotInTransactionException?

2009-05-22 Thread Mattias Ask
method call to setKvitt? And, yes, it is a problem if I have to annotate setKvitt with @Transactional... PS. If I get this to work I have something that I think is pretty cool to show :) Best regards, Mattias Ask --- Jayway AB, +46 701 469284 www.jayway

Re: [Neo] Problem with NeoIndexService

2009-05-05 Thread Mattias Ask
Well, that was easy :) Thanks! Best regards, Mattias Ask --- Jayway AB, +46 701 469284 www.jayway.com Jayway is the founder of Öredev and Qi4J www.oredev.org www.qi4j.org On 5 maj 2009, at 22.03, Tobias Ivarsson wrote: > On Tue, May 5, 2009 at 9:58

[Neo] Problem with NeoIndexService

2009-05-05 Thread Mattias Ask
output is from b8, but I get the same result in b7... Ideas, anyone? Best regards, Mattias Ask --- Jayway AB, +46 701 469284 www.jayway.com Jayway is the founder of Öredev and Qi4J www.oredev.org www.qi4j.org _

Re: [Neo] Dynamic properties...

2009-04-17 Thread Mattias Ask
t; instance), something that in my mind maps very well with how you can handle a Neo Node. Well... I guess Groovy is the next thing in my competence plan now :) Best regards, Mattias Ask --- Jayway AB, +46 701 469284 www.jayway.com Jayway is the founder

[Neo] Dynamic properties...

2009-04-17 Thread Mattias Ask
dle this flexibility in Java code? I think Rickard Öberg says "Classes are dead. Long live Objects!" when he talks about Qi4j (www.qi4j.org) and I find myself very attracted to that thought... Best regards, Mattias Ask --- Jayway AB, +46 701 4

Re: [Neo] RelationshipType but no NodeType

2008-10-19 Thread Mattias Ask
> *name*(node); > > but that is node the same as having different Node > implementations > that offer a little bit more type safety. > > Victor > ___________ > Neo mailing list > User@lists.neo4j.org > https://l

[Neo] Doc-usability...

2008-09-10 Thread Mattias Ask
. Here is a good, short article about How Users Read on the Web: http://www.useit.com/alertbox/9710a.html Best regards, Mattias Ask --- Jayway AB, +46 701 469284 www.jayway.com Jayway is the founder of Öredev and Qi4J www.oredev.org www.qi4j.org

[Neo] Re: NodeDelegate?

2007-12-18 Thread Mattias Ask
ution with this (without a big switch-case or "instanceof" comparison). Br. Mattias Ask, Jayway ___ Neo mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

[Neo] Re: Node as property value?

2007-12-18 Thread Mattias Ask
Great! Both ways (connecting nodes to relations and creating "connections nodes") are valid and there is a way to look up nodes based on id. When I thought about my specific case I found that it is better to use the "PartyInvitation"-node to express what I want. Than

[Neo] Node as property value?

2007-12-16 Thread Mattias Ask
Hi again, I just ran into a problem. I want to express the following with Neo: "Mattias Ask invited Björn Granvik to The Party". Now, when I think of this I see a Relationship "to" between the Relationship "invited" and Node "The Party". This might be wr

[Neo] NodeDelegate?

2007-12-16 Thread Mattias Ask
r is there any reason for not working like this? Br. Mattias Ask, Jayway ___ Neo mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user