Yes, I do have an oracle server here. Is there a HOWTO on how to do the units tests with ezc and phpunit? http://www.ezcomponents.org/docs/tutorials here is nothing.
How do I execute the testrunner where is it?
Best regards,
Björn Dieding
Content & Commerce made easy
GMT +01:00 Hannover, Germany
Björn Dieding
Phone: +49 (511) 5904576
Mobile: +49 (151) 12169868
Email: [EMAIL PROTECTED]
PayPal: [EMAIL PROTECTED]
MSN: [EMAIL PROTECTED]
YIM: bdieding
AIM: BjoernDieding
ICQ: 176927179
SKYPE: BjoernDieding
> -----Original Message-----
> From: Tobias Schlitt [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 16, 2008 6:25 PM
> To: Björn Dieding
> Cc: Components
> Subject: Re: [Components] PersistentObject: Binary data support (#10151)
>
> Hi Björn!
>
> On 01/16/2008 05:00 PM Björn Dieding wrote:
> > Hi,
>
> > Let me give you one example. There is a global Oracle config var that
> > defines the floating point separator of a float(, or .). You can set
> > that individually from the Locals like en_GB. The problem is if the
> > "," is set for the floating point separator a query as stated below
> > will fail. This is e.g. the case if you do not set the floating point
> > separator and just use a locale like de_DE. UPDATE table set
> > myfloat='12.0001' (will fail) UPDATE table set myfloat='12,0001'
> > (will work with either the setting of de_DE or floating point
> > separator to ,)
>
> > Are the ezc able to reflect that? Can the PDO functions really cover
> > that(I haven't discovered config options in PDO::*)? Meaning the ezc
> > would need to bring the value to the right format depending on the
> > connection ( databasetype or server).
>
> > I hope this is clearer. Thanks for your reply. I like the work you do
> > with the rest of the ezc team.
>
> Thanks for elaborating. Without explicit testing I would guess that PDO
> handles this gracefully. Since we use PDOStatement->bindValue() to
> submit any kind of PHP values with a query (at least with
> PersistentObject we do), we do not put any values into text queries
> directly. Binding values first prepares a query with a set of
> placeholders and then submits the values dedicatedly to the server.
>
> However, if you have an oracle server with such a configuration
> available it would be very nice if you could run the PersistentObject
> test suite against it to verify this assumption.
>
> Regards,
> Toby
> --
> Mit freundlichen Grüßen / Med vennlig hilsen / With kind regards
>
> Tobias Schlitt (GPG: 0xC462BC14) eZ Components Developer
>
> [EMAIL PROTECTED] | eZ Systems AS | ez.no
smime.p7s
Description: S/MIME cryptographic signature
-- Components mailing list [email protected] http://lists.ez.no/mailman/listinfo/components
