wael200516 بتاريخ: 6 أبريل 2012 تقديم بلاغ مشاركة بتاريخ: 6 أبريل 2012 السلام عليكم يا اخوانىاريد منك المساعده فى عملية انشاء كلاس فى ال PL/SQL توجد معى package انا عملتها عندما احاول ان شاء ال functionيطلع لى خطاء وهو ان ال package حقى مش موجوده الرجاء المساعده فى الحلCREATE OR REPLACE AND COMPILE JAVA SOURCE NAMED "MyApplication" ASimport edu.sz.ie.*;import edu.sz.ie.bw.*;import java.util.List;import java.io.IOException;هنا باقى الكود عادى مافى مشكلههناا نلاحظ ان edu.sz.ie.*;edu.sz.ie.bw.*;هذول ال package تبعىبالنسبة للimport java.util.List;import java.io.IOException مافى مشكلهالسوال كيف اصيفى ال package الى اوراكلاو هناك طريقه معينة اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
Mahmoud Ahmed El-Sayed بتاريخ: 7 أبريل 2012 تقديم بلاغ مشاركة بتاريخ: 7 أبريل 2012 you import another package that should be loaded in java classes import edu.sz.ie.*;import edu.sz.ie.bw.*; You should load java classes before compile your Java Source use below link which would guide you to load java classes http://docs.oracle.com/cd/B10501_01/java.920/a96659/02_load.htm 1 اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
wael200516 بتاريخ: 8 أبريل 2012 كاتب الموضوع تقديم بلاغ مشاركة بتاريخ: 8 أبريل 2012 (معدل) you import another package that should be loaded in java classes import edu.sz.ie.*;import edu.sz.ie.bw.*; You should load java classes before compile your Java Source use below link which would guide you to load java classes http://docs.oracle.c...659/02_load.htm الف شكر اخى و لكن عندما اقوم بتحميل الكلاس الى داخل اوراكلكيف استطيع ان اعملimport edu.sz.ie.*;اى ان الكلاس ليس دخل packageكماهو فى هذا الامرimport edu.sz.ie.*;هل اكتب فقطimport follow by class nameوشكرا تم تعديل 8 أبريل 2012 بواسطة wael200516 اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
Mahmoud Ahmed El-Sayed بتاريخ: 8 أبريل 2012 تقديم بلاغ مشاركة بتاريخ: 8 أبريل 2012 Every class may have package name like edu.sz.ie , so when you import class oracle internal know the package name in class At general if you import class with package names then you must import using package name, otherwise if you import class with class only the you must import by class name only because he hasn't package Note package name is written in class code 1 اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
wael200516 بتاريخ: 11 أبريل 2012 كاتب الموضوع تقديم بلاغ مشاركة بتاريخ: 11 أبريل 2012 Every class may have package name like edu.sz.ie , so when you import class oracle internal know the package name in class At general if you import class with package names then you must import using package name, otherwise if you import class with class only the you must import by class name only because he hasn't package Note package name is written in class code Many thanks brother اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
Mahmoud Ahmed El-Sayed بتاريخ: 11 أبريل 2012 تقديم بلاغ مشاركة بتاريخ: 11 أبريل 2012 Every class may have package name like edu.sz.ie , so when you import class oracle internal know the package name in class At general if you import class with package names then you must import using package name, otherwise if you import class with class only the you must import by class name only because he hasn't package Note package name is written in class code Many thanks brother Thanks Wael about your appreciation , I will post new article about using java in PLSQL nearly 1 اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
wael200516 بتاريخ: 12 أبريل 2012 كاتب الموضوع تقديم بلاغ مشاركة بتاريخ: 12 أبريل 2012 Many thanks dear Mahoud Please see this question http://www.araboug.org/ib/index.php?showtopic=49648 اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
Recommended Posts
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.