-
-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Laravel push queue fail #33
Comments
@holyblue what version are you using? This issue was already fixed in the framework v5.2. See this issue yajra/laravel-oci8#170 |
I think it's not the same problem. |
I'm encountering the same problem. Error Code : 1438
Error Message : ORA-01438: value larger than specified precision allowed for this column
Using v5.2.13 - 2016-10-12 the field is a NUM(2). I try to insert integer 1, and it gave me that error.
Change to return and everything works. |
@plip14 can you please submit a PR for your proposed solution? Does your solution did not affect other crud operations on your app? Maybe we can indeed remove the int check. We'll also try this when I had the chance. Thanks! |
I'm converting from another framework to laravel, but I'm still quite early on my app, so far basic CRU is ok. We only do soft delete though. |
Funciono, tenia el mismo inconveniente, modifique el parámetro return PDO::PARAM_INT; por PARAM_STR y almaceno ahora verificare que no este afectando el funcionamiento de mi CRUD |
Quisiera saber porque ocurre ese error? |
I used the laravel function to push a database queue and got some error below.
Error Code : 1438
Error Message : ORA-01438: value larger than specified precision allowed for this column
Position : 109
Statement : insert into jobs ("queue", attempts, reserved, reserved_at, available_at, created_at, payload) values (:p0, :p1, :p2, :p3, :p4, :p5, :p6) returning id into :p7
Bindings : [default,0,0,,1470367614,1470367614,{"job":"Illuminate\Queue\CallQueuedHandler@call","data":{"commandName":"LendingFront\Jobs\SendSmsJob","command":"O:28:"LendingFront\Jobs\SendSmsJob":4:{s:10:"connection";N;s:5:"queue";N;s:5:"delay";N;s:6:"\u0000*\u0000job";N;}"}},0]
I find the error is occur in "Yajra\Pdo\Oci8\Statement" "bindParam" function,
when case PDO::PARAM_INT the bind value is not the current value.
The second record is the after bind value and the first record is the correct value.
I change the $ociType To SQLT_CHR then every thing is correct.
case PDO::PARAM_INT:
$ociType = SQLT_CHR;
break;
I don't know this is the bug or some thing else. Could you help me ?
The text was updated successfully, but these errors were encountered: