plugin icon indicating copy to clipboard operation
plugin copied to clipboard

[Bug]: Model generate column field on oracle driver wrong

Open yonchando opened this issue 5 months ago • 5 comments

Bug description

In oracle all columns is UPPER when I generate model eloquent, it generate auto complete field with UPPER. I use model with UPPER field is return null and I use model with lower case it get data normal, but the IDE compliance it magic methods.

Plugin version

8.2.5.242

Operating system

Windows

Steps to reproduce

Step 1: Create model connection to oracle driver

Step 2:

Laravel Idea -> Generate Helper Code

Step 3:

Call model in controller with auto complete column field with UPPER or lower case

$user = User::first();

echo $user->USERNAME; // auto complete from model generate helper but it return null

echo $user->username; // no auto complete and IDE compliance magic methods.

Expected

$user->username Call username with lower from model with auto complete and IDE no compliance

Actual

$user->USERNAME USERNAME is auto complete from generate helper code and IDE know it field of model

Relevant log output

No response

yonchando avatar Sep 13 '24 03:09 yonchando