الانتقال إلى المحتوى
View in the app

A better way to browse. Learn more.

مجموعة مستخدمي أوراكل العربية

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

مشكلة: Table Filter موش شغالة مع Mysql Database

Featured Replies

بتاريخ:

السلام عليكم انا عندي جدول مخزن ف MYSQL وعملتلو BC 
وبعرض الجدول عن طريق JSF page المشكلة ان السيرش او الفلتر موش شغال لما بكتب حرف مثلا من اول كلمة موجودة ف الجدول او حتى اكتب الكلمة كلها بيقولي لا يوجد داتا 
بعكس لما كنت بستخدك oracle database الموضوع كان شغال ..اول ماتكتب حرف من اول الكلمة يجيبلك كل الداتا الموجودة ف الجدول اللي بتبدا بنفس الحرف اللي انت بتسرش بيه ؟

بتاريخ:

هل تضغط على زر enter أم لا؟

بتاريخ:
  • كاتب الموضوع

نعم بضغط enter ...السيرش بيشتغل فقط ف حالة ان الcolum يكون من نوع int لكن لو كان نوعه varchar بكتب الاسم وبضغط enter يقولي  مافيش داتا ولما امسح اللي انا اكتبته يجيبلي كل الداتا تاني 
الكلام دا ماكانش بيحصل معايا ف oracle database كنت لما اكتب حرف واحد (مثلا حرف M) يجيبلي كل داتا اللي  بتبدا بحرف M 

بتاريخ:
  • كاتب الموضوع

ممكن حضرتك تبص على الكلام دا عشان انا مافهمش هوا يقصد ايه ..

In case of ADF table with filter enabled, the filtering doesn’t work and actually doesn’t retrieve any data at all. This issue happens while using MYSQL Database.

When logging is enabled for the application, either via the WebLogic diagnostic console or by adding the Java Option "-Djbo.debugoutput=console" to the project properties Run configuration, we can see that when using filtering on the table following WHERE-clause is used:

‘WHERE ( ( (<EntityObjectName>.<VariableName> LIKE ( :<ViewCriteria> || ‘%’) ) ) )‘
For Example: ‘WHERE ( ( (EmployeesEo.FIRST_NAME LIKE ( :vc_temp_1 || ‘%’) ) ) )‘.

 

ودا اللينك اللي الكلام دا منه :
https://support.oracle.com/knowledge/Middleware/2092310_1.html

بتاريخ:

 

In order to resolve the issue we can configure the ‘strictness’ of MySQL to the SQL standard via the SQL mode . The strictness can be influenced by the parameter "sql_mode".

SET sql_mode = ‘PIPES_AS_CONCAT’.

This value can also be set in the my.cnf or my.ini files or provided at startup via the: –sql-mode=”PIPES_AS_CONCAT” option

 

انضم إلى المناقشة

يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.

زائر
أضف رد على هذا الموضوع...

برجاء الإنتباه

بإستخدامك للموقع فأنت تتعهد بالموافقة على هذه البنود: سياسة الخصوصية

Account

Navigation

البحث

إعداد إشعارات المتصفح الفورية

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.