nuvolabase/orientdb — pull request #1211 by Volune (2012-12-13 14:25:11+00:00)
Title: Fix .asLong() with big numbers

Fix .asLong with big numbers,
Example of failing query: select numberString.asLong() as value from (select '100000000000000000' as numberString from #0:1)

Also add unit test, make SQLFunctionsTest not failing after first error and allow .asDate and .asDatetime with any Number object