#78 0.6.1 _fromDatabase = True should imply a style

closed-fixed
General (125)
5
2008-03-07
2005-04-13
No

I have a column named "protectYN" in an existing database.

When I try to create a new sqlobject using
_fromDatabase = True, sqlobject takes the table's name
"protectYN" and converts it to "protect_y_n" as if it
was converting a normal user-provided property name to
a SQL table name. Then it can't find protect_y_n in the
database.

Clearly, sqlobject should not change the name of a
column when that name originates from the database itself.

Discussion

  • Oleg Broytman

    Oleg Broytman - 2008-03-07

    Logged In: YES
    user_id=4799
    Originator: NO

    Fixed in the revision 3304 in the SVN. Will be in the release 0.9.5. Thank you!

     
  • Oleg Broytman

    Oleg Broytman - 2008-03-07
    • assigned_to: nobody --> phd
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks