Results 1 to 2 of 2

Thread: reliable object relational mapping frameworks to work with spring python

  1. #1
    Join Date
    Nov 2009
    Posts
    6

    Default reliable object relational mapping frameworks to work with spring python

    Hi,
    I've worked with spring and hibernate for many years, and we successful implemented many applications! I am trying to integrate spring-python on a new project that will be using python, and I would like to ask the community about reliable object relational mapping frameworks in python. We are planing to use MySQL db. Any experiences? preferences?, does spring-python offers sport for ORM frameworks as spring does? please advise.
    Thank you very much in advance.

  2. #2
    Join Date
    Aug 2006
    Posts
    382

    Default

    Quote Originally Posted by seth1 View Post
    Hi,
    I've worked with spring and hibernate for many years, and we successful implemented many applications! I am trying to integrate spring-python on a new project that will be using python, and I would like to ask the community about reliable object relational mapping frameworks in python. We are planing to use MySQL db. Any experiences? preferences?, does spring-python offers sport for ORM frameworks as spring does? please advise.
    Thank you very much in advance.
    Glad to hear you are interested in Spring Python! I hope we have some useful features to rev up your development effort.

    Right now, Spring Python doesn't have any direct ORM abstractions, like HibernateTemplate or JpaTemplate. Python itself has a couple of useful ORMs, such as SQLObject and SQLAlchemy, so I would check them out if you are looking for some ORM support. To be honest, I haven't spotted anything that Spring Python could enhance them with.

    Spring Python does have a DatabaseTemplate that looks very similar to JdbcTemplate with support for MySQL. If you need to write some customized query that doesn't fit your ORM model very well, then I would definitely suggest utilizing that.

    And I don't think its an either/or decision. I think both DatabaseTemplate and a Pythonic ORM can work in the same app nicely. Good luck!
    Greg L. Turnquist (@gregturn), SpringSource/VMware
    Project Lead: Spring Python and author of Spring Python 1.1 and Python Testing Cookbook.
    Listen to Pond Jumpers, the international podcast for open source developers.
    These comments are my own personal opinions, and do not reflect those of my company.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •