Jump to content
  • Advertisement
Sign in to follow this  
Sparks

[web] Anyone use ORMs?

This topic is 3547 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey does anyone use any object relational mapping software/dlls/wateva for your website or are they just too much trouble. I'm using Nhibernate at work and i'm having trouble with objects not being instantiated or being 'lost' even though the session has not ended... i've obviously made a mistake somewhere but im starting to think ORMs are a pain.

Share this post


Link to post
Share on other sites
Advertisement
Try this :

http://www.garret.ru/goods.html

It is a true OODBMS, with bindings to C++ and Java. I have been using it for several years very successufully.

My current web-project uses it for all aspects of the service from data storage of 1,000,000+ articles to subscribers and so on.

Good luck!

Share this post


Link to post
Share on other sites
I use ORMs for my work in Python. They are a pain, especially if you're quite good at SQL and expect to be able to perform complex and efficient queries rather than a load of slow nested loops. So make sure you use one which makes it simple to execute arbitrary queries and pull back raw data, in addition to handling the typical row-as-an-object case.

Share this post


Link to post
Share on other sites
Quote:
Original post by Kylotan
I use ORMs for my work in Python. They are a pain, especially if you're quite good at SQL and expect to be able to perform complex and efficient queries rather than a load of slow nested loops. So make sure you use one which makes it simple to execute arbitrary queries and pull back raw data, in addition to handling the typical row-as-an-object case.

Thats why I like Entity Framework and Linq to SQL, both of them get excellent arbitrary query support through Linq. On top of that, you get a typesafe way to compose queries, without the possibility of SQL injection. It basically made all of the instances where people dynamically built SQL queries obsolete.

And Linq (to Databases) is my least favorite part of all the Linq bits.

Can you tell I like Linq?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!