Re: [2.0-STABLE] 2 patches : db relationship pks, caseless datarows

From: Mikaël Cluseau (mc.isi.n..mail.com)
Date: Tue Dec 11 2007 - 17:37:25 EST

  • Next message: Mikaël Cluseau: "Re: [JIRA] Created: (CAY-939) Add a means of updating custom superclass for all client classes."

    Normalisation doesn't happen in the query but in the DataRow. More
    precisely, using get("MyField") will still work (and will return the
    same value as get("myfield")). My question was : should we allow
    dbattributes which are "equalsIgnoreCase" ? (currently it works)

    Of course, I don't mind maintaining this small patch by myself, I'm just
    discussing the issue.

    The DBAdaptor was my first guess but looked to complicated for the few
    minutes I had... I think querying the DBAdaptor in the DataRow won't be
    possible, so it will have to be handled somewhere else (DataContext?).

    Le mardi 11 décembre 2007 à 17:19 -0500, Mike Kienenberger a écrit :
    > It should probably query the DBAdaptor to determine if case matters.
    > In fact, you should probably query the DBAdaptor to determine if you
    > need to change the column name case at all.

    -- 
      .~.
      /V\      Mikaël Cluseau <mclusea..si.nc>
     // \\
    /(   )\    ISI.NC             +687 26.93.18
     ^`~'^
    



    This archive was generated by hypermail 2.0.0 : Tue Dec 11 2007 - 17:38:42 EST