gabordemooij/redbean — pull request #183 by zebulon303 (2012-07-23 09:25:43+00:00)
Title: Updated + correction about date and timestamp 

There are only 4 files you should update as is into redbean:

RedBean/Driver/OCI.php
RedBean/QueryWriter/Oracle.php
RedBean/redbean.inc.php ( missing some plugin)
testing/RedUNIT/Oracle/Writer.php

And one that is problematic:
testing/RedUNIT/Base/Foreignkeys.php

as the oracle identifiers are limited to 30 character ....

At the moment I cut everything that is longer with the method (QueryWriter/Oracle.php)
private function limitOracleIdentifierLength($id) {
return substr($id, 0, 30);
}

without warning ....
It is applied on foreign key and indexes, that could cause trouble. I am aware of it.
A solution would be to md5 the index and foreign key to make them unique, but we would loose the semanitc .... I am not sure of the way to go ...