Banner 9 Extend page with different name
Java, SpringBoot, React, Angular, Oracle, PL/SQL, Ellucian Banner, Puppet, Docker, Terraform technical notes
Tuesday, August 21, 2018
Banner 9: Warning error alert message box
Banner 9: Info message, error message, alert message boxes
MessageServices.message("This is info");
MessageServices.setAlertMessageText("aa", "This is xxx.");
MessageServices.showAlert("aa");
/MessageServices.message("sss", userResponse);
//OutputMessageUserResponse
getTask().getGoqrpls().gDisplayAlert(toStr("G$_WARNING_ALERT"), GNls.Fget(toStr("GUAGMNU-0007"), toStr("FORM"), toStr("aaaaaaaaaaaaaaaaaaaaa.")) );
getTask().getGoqrpls().gDisplayAlert(toStr("G$_WARNING_ALERT"), new NString("This is aalert.") );
Banner 9 clear Global, setGlobal variables
Banner 9 clear Global, setGlobal variables
setGlobal (key, value);
removeGlobal (key);
setGlobal (key, value);
removeGlobal (key);
Oracle index hint syntax
Oracle index hint syntax
select /*+ index(customer cust_primary_key_idx) */ * from customer;
Also note that of you alias the table, you must use the alias in the index hint:
select /*+ index(c cust_primary_key_idx) */ * from customer c;
Also, be vary of issuing hints that conflict with an index hint. In this index hint example, the full hint is not consistent with an index hint:
select /*+ full(c) index(c cust_primary_key_idx) */ * from customer c;
Also note that of you alias the table, you must use the alias in the index hint:
select /*+ index(c cust_primary_key_idx) */ * from customer c;
Also, be vary of issuing hints that conflict with an index hint. In this index hint example, the full hint is not consistent with an index hint:
select /*+ full(c) index(c cust_primary_key_idx) */ * from customer c;
https://docs.oracle.com/cd/B19306_01/server.102/b14211/hintsref.htm#i8327
https://logicalread.com/using-index-hints-to-tune-oracle-performance-h01/#.W3zv984zbIU
Friday, August 17, 2018
weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: null in Weblogic 10.3
weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: null in Weblogic 10.3
1. Check DataSource xml It's in the domain's
1. Check DataSource xml It's in the domain's
config/jdbc directory.
2. Check DB Port
3. Check user=xxx in properties
4. Some times JRF template causing issue due to ojdbcdms.jar is loaded first
Solution: - remove JRF
- or exclude ojdbcdms.jar from CLASSPATH
- or Upgrade to Weblogic12c
Oracle PLSQL Cursor Duplicate of final Record
Oracle PLSQL Cursor Duplicate of final Record
loop
fetch s_cur into s_rec;
exit when s_cur%notfound;
dbms_output.put_line('id:'||s_rec.id||':name:'||s_rec.name);
end loop;
When you have fetched the last record and trying to fetch the next
s_cur%notfound
becomes true but before it has a chance to exit from loop you are outputting the last record once again.
Subscribe to:
Posts (Atom)
AWS how to delete VPC when it has error with Network interface , Gateway decencies
how to delete VPC when it has error with Network interface , Gateway decencies in AWS 1. Check if it is running on EC2 instance then Sto...
-
ORA-29273: HTTP request failed ORA-06512: at "SYS.UTL_HTTP", line 1525 ORA-29261: bad argument ORA-29273: HTTP request failed ...
-
Banner 9 Admin: Invalid Object Name fix do steps: A record in GUBOBJS with a UI Version of D. • Records in GURAOBJ to define the defau...
-
chown root $ORACLE_HOME/bin/extjob chmod 4750 $ORACLE_HOME/bin/extjob chown root $ORACLE_HOME/rdbms/admin/externaljob.ora chmod 640 $ORA...