Do ORMs normally allow circular relations? If so, how would they handle it?

Circular references aren't a problem in an ORM. ORMS are lazy in their evaluation, meaning that they don't retrieve records until the record is accessed. In this way, there's no infinite loop issue.

The same can go for writes, if you are lazy when you write, then the issues go away.

I believe most ORMs enforce a single unique object in memory. So, the first time you access car, car gets loaded into memory and it can be identified by a unique key. After going to the wheel and back to the car, the ORM realizes is already has that car in memory, so it doesn't load it again.

This approach isn't without downsides, but each ORM works around those downsides in various ways.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions