10g BC4J bug
It is not possible to remove a transient attributes in a view created with expert mode. although the wizard remove the attribute from the list box using the left arrow button the attributes still in the view and come back after appying the changes (apply button).
Sorted. You have to execute jdevw.exe not jdex.exe
My mistake.
Similar Messages
-
10g BC4J bug in alias query column
something strange ... i created some view's in expert mode and gave the result set aliases to replace the expression used in the select clause (select expression "Alias" from ...). The alias was mixedcase like in the parenthesis. After creating two view's i created a view link using both attributes (transient attributes resulting from the expression). All seem to were fine but i have got an error when testing the application module where the view's was integrated. The error said that the "Alias" was not recognize. Changing the alias to "ALIAS" (in uppercase) resolved the problem.
Forgot to mention why this is a problem:
If I can't change the alias, the queries look 'confusing', because the default alias is the name of the base entity. So the query becomes:
SELECT ...
FROM Derived BASE
This is confusing. -
BC4J bug with "bind variables" JBO-27122 ORA-01008
I think we are found a BUG using BC4J with bind variables in a view object.
If the bind variable appear in the WHERE condition two or more times at
the beginning of the query the above error occur.
oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement:
SELECT Emp.EMPNO,Emp.ENAME,Emp.JOB,Emp.MGR,Emp.HIREDATE,Emp.SAL,Emp.COMM, Emp.DEPTNO
FROM SCOTT.EMP Emp
WHERE :1 <=10000 and :1 <= sal and :2=20
java.sql.SQLException: ORA-01008: not all variables bound
Otherwise if bind variable apper two or more times, but not together
like this sample:
WHERE :1 <=10000 and :2=20 and :1 <= sal
the error not occur.
We prove this with:
JDeveloper 9.0.5.2 (build 1618)Business Components Version 9.0.5.16.0
JDeveloper 9.0.5.0 (build 1375)Business Components Version 9.0.5.13.52
I looking for a patch! or acceptable workaround.
Tx for your help!
diego.
/* the cliente app */
ApplicationModule am = Configuration.createRootApplicationModule("business_tier.AppModule","AppModuleLocal");
ViewObject vo = am.findViewObject("EmpView");
vo.setWhereClauseParam(0,"100");
vo.setWhereClauseParam(1,"20");
Row emp = vo.first();This is a known bug (1326006). The workaround is to use:
vo.setWhereClauseParam(0,"100");
vo.setWhereClauseParam(1,"20");
vo.setWhereClauseParam(2,"20");
Hope this helps,
Lynn
Java Tools Team -
I have a test server with this configuration:
Win2K Advanced Server
1 CPU
2 gig ram
2 gig swap
I had OracleAS 10g R1 v9.0.4.1 on it. I un-installed everything per note 124353.1. I then installed the Infrastructure and Middle Tier on this server. Oh, I'm using the Portal and Wireless installer.
No problems at all and everything appears to be working.
Going to the server http://server_name I see everything in a foreign language (index.html). View source shows this tag at the top <html LANG="en.US"> so it should be in English but it is not.
I then try the Suite link (WNIntro.htm) and it is also in a foreign language.
Then the demos page (ASDemos.htm) is in English though.
I have been using IE 6.0 on a Windows 2000 Desktop with all of the latest patches installed.
Just for fun, I then tried bypassing Web Cache. http://server_name:7777 and now in IE everything is showing in English. With Firefox, everything is in a foreign language still even when going straight to Apache.
With R1, I never saw anything like this. We have several servers running 9.0.4.1 and no Apache pages have ever come across in a foreign language.
Example:
Oracle Application Server 10g version 2 (10.1.2) est la plate-forme applicative intégrée la plus rapide et la plus complète du marché. Grâce à Oracle Application Server, vous pouvez :
Améliorer la capacité de votre organisation à prévoir les changements et à y réagir
Oracle Application Server vous permet de développer et de mettre en production de nouveaux services rapidement, de moderniser vos systèmes et applications propriétaires et d'optimiser vos processus d'entreprise en réponse à l'évolution du marchéJon,
Looks like a bug to me. Try this workaround: copy all of the *html.html files found under $ORACLE_HOME/Apache/Apache/htdocs to files with the same name but with the html.en extension. so for example, copy index.html.html to index.html.en.
BTW, what is your browser language setting? Is it "en" or "en-US' as its default langauge?
Pavna -
BC4J bug in 9.0.3.3
Hi,
I've just downloaded Jdev 9.0.3.3 and the very first thing I tried seems to have a bug. I tried to remove an attribute from a BC4J entity using the Entity Object Editor. The first thing it does is lock up for about a minute, then it eventually starts responding again. However, the attribute I deleted still exists so I press the Delete button again - the IDE immediately crashes. Is this a bug -it certainly didn't do this in previous versions of Jdeveloper.
SteveAnd they said:
Bug:3120608 DELETING AN ENTITY ATTRIBUTE CAUSES EXCEPTION, THEN CRASHES JDEV,
this bug is an internal one, filed for version 9.0.5.13.66 and fixed in version 9.0.5.13.67.
So don't hold your breath!
Sascha -
Querying external tables ERROR no not English version 10g R2 ¿BUG 5172459?
Hello
I have a serious problem when trying to view the content of external tables under Oracle 10R2 in Spanish
Steps to perform:
1. Make directory on file system (in oracle server side).
2. Copy a data file into this directory.
3. Login (sqlplus) as "sys as sysdba"
4. Make one oracle directory object
5. Grant permits read / write to a user 'simple_uesr'
6. Logout sys, and login as 'simple_user'
7. Make a external table, which uses the directory and data file.
8. Run query 'select * from myExtTable' to check it.
I have repeated these steps on Oracle 9i Enterprise, Oracle 10gR2 Enterprise, and Oracle 10g XE, and always, always worked perfectly (no problems).
The problem occurs in the client's DB (Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 SPANISH), everything works fine until the step 8 (querying external tables), where systematically the following error occurs:
ERROR en línea 1:
ORA-29913: error al ejecutar la llamada de ODCIEXTTABLEOPEN
ORA-29400: error de cartucho de datos
KUP-00552: internal XAD package failed to load
ORA-06512: en "SYS.ORACLE_LOADER", línea 19
I have made many tests, such as assigning a wrong directory to external table, remove the data file, remove access permissions, and always, always gives the same error, nerver error "file not found...etc, etc".
I have concluded that the failure, which occurs before Oracle even try to access the file system, but I do not know what may be the cause.
Searching the Internet, I found the following links:
http://www.dba-oracle.com/t_ora_29913_external_table_error.htm
http://zalbb.itpub.net/post/980/249423
Where mention the BUG 5172459 (MetaLink Note: 373168.1), but after follow the directions, still does not work.
Can anyone help me with this problem?
Thanks!
Full details of the DB which gives the error
SO: Windows 2003 Server Standard SP1.
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Prod
PL/SQL Release 10.2.0.2.0 - Production
CORE 10.2.0.2.0 Production
TNS for 32-bit Windows: Version 10.2.0.2.0 - Production
NLSRTL Version 10.2.0.2.0 - Production
show parameter nls;
NAME TYPE VALUE
nls_calendar string
nls_comp string
nls_currency string
nls_date_format string
nls_date_language string
nls_dual_currency string
nls_iso_currency string
nls_language string SPANISH
nls_length_semantics string BYTE
nls_nchar_conv_excp string FALSE
nls_numeric_characters string
nls_sort string
nls_territory string SPAIN
nls_time_format string
nls_timestamp_format string
nls_timestamp_tz_format string
nls_time_tz_format string
-- NLS_SESSION_PARAMETERS
select * from NLS_SESSION_PARAMETERS order by parameter;
PARAMETER VALUE
NLS_CALENDAR GREGORIAN
NLS_COMP BINARY
NLS_CURRENCY €
NLS_DATE_FORMAT DD/MM/RR
NLS_DATE_LANGUAGE SPANISH
NLS_DUAL_CURRENCY €
NLS_ISO_CURRENCY SPAIN
NLS_LANGUAGE SPANISH
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
NLS_NUMERIC_CHARACTERS ,.
NLS_SORT SPANISH
NLS_TERRITORY SPAIN
NLS_TIME_FORMAT HH24:MI:SSXFF
NLS_TIMESTAMP_FORMAT DD/MM/RR HH24:MI:SSXFF
NLS_TIMESTAMP_TZ_FORMAT DD/MM/RR HH24:MI:SSXFF TZR
NLS_TIME_TZ_FORMAT HH24:MI:SSXFF TZR
-- NLS_INSTANCE_PARAMETERS
select * from NLS_INSTANCE_PARAMETERS order by parameter;
PARAMETER VALUE
NLS_CALENDAR
NLS_COMP
NLS_CURRENCY
NLS_DATE_FORMAT
NLS_DATE_LANGUAGE
NLS_DUAL_CURRENCY
NLS_ISO_CURRENCY
NLS_LANGUAGE SPANISH
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
NLS_NUMERIC_CHARACTERS
NLS_SORT
NLS_TERRITORY SPAIN
NLS_TIME_FORMAT
NLS_TIMESTAMP_FORMAT
NLS_TIMESTAMP_TZ_FORMAT
NLS_TIME_TZ_FORMAT
-- NLS_DATABASE_PARAMETERS
select * from NLS_DATABASE_PARAMETERS order by parameter;
PARAMETER VALUE
NLS_CALENDAR GREGORIAN
NLS_CHARACTERSET WE8MSWIN1252
NLS_COMP BINARY
NLS_CURRENCY ?
NLS_DATE_FORMAT DD/MM/RR
NLS_DATE_LANGUAGE SPANISH
NLS_DUAL_CURRENCY ?
NLS_ISO_CURRENCY SPAIN
NLS_LANGUAGE SPANISH
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_NCHAR_CONV_EXCP FALSE
NLS_NUMERIC_CHARACTERS ,.
NLS_RDBMS_VERSION 10.2.0.2.0
NLS_SORT SPANISH
NLS_TERRITORY SPAIN
NLS_TIME_FORMAT HH24:MI:SSXFF
NLS_TIMESTAMP_FORMAT DD/MM/RR HH24:MI:SSXFF
NLS_TIMESTAMP_TZ_FORMAT DD/MM/RR HH24:MI:SSXFF TZR
NLS_TIME_TZ_FORMAT HH24:MI:SSXFF TZR
END.jpadron_uy wrote:
ERROR en línea 1:
ORA-29913: error al ejecutar la llamada de ODCIEXTTABLEOPEN
ORA-29400: error de cartucho de datos
KUP-00552: internal XAD package failed to load
ORA-06512: en "SYS.ORACLE_LOADER", línea 19Hola!
Let's go through errors you posted:
First error (ORA-29913) indicating error occurs when Oracle tryed to access external table.
Then ORA-29400 says that error has occurred in a data cartridge external procedure.
And then finally KUP-00552 - an error was encountered while attempting to initialize the XAD package.
So did you check state of the XAD package in that database?
Also, please post code you used in steps 4. and 7.
HTH -
Bc4j bug at refresh after insert / update
having a table and a trigger on it that fills an attribute
in a 9i db. one can take the scott/tiger emp table and use the
following trigger:
create or replace trigger t_bri_emp
before insert on emp
for each row
declare
v_no number(7,2);
begin
select user_SEQ.nextval*100
into v_no
from dual;
:new.sal := v_no;
end;
then creating a bc4j project with an entity object based on this table (emp)
and a view object based on the created entity object.
!!!! when you create the bc4j project you must set the SQL Flavor to SQL92 or OLite
when you set the attribute settings, for the attribute the trigger is on (sal),
to refresh after insert / update or both in the entity object you get a
null pointer when you try to insert a new row and commit.
java.lang.NullPointerException
oracle.jdbc.ttc7.TTIoac oracle.jdbc.ttc7.TTCAdapter.newTTCType(oracle.jdbc.dbaccess.DBType)
oracle.jdbc.ttc7.NonPlsqlTTCColumn[] oracle ....................
all can be reproduced just useing the wizard and start the bc4j project with the tester
any workaround ??Sven:
I looked into your issue. It turns out your problem is caused by a bug in the system (bug #2409955).
The bug is that for non-Oracle SQLBuilder, we are not processing refresh-on-insert and refresh-on-update attributes correctly. We end up forming an invalid SQL statement and the JDBC driver gives the obscure NullPointerException.
Thus, until 9.0.3, you should not use refresh-on-insert/update attributes on a non-Oracle SQLBuilder.
If you need the refresh-on-insert/update attribute, here is a possible workaround:
1. Whenever you invoke the tester, on the first panel, click on the 'Properities' tab. In the list of properties, you should find one for 'jbo.SQLBuilder'. It will say 'SQL92'. Remove it, so that it is empty. Run test tester. Then, the tester will use Oracle SQLBuilder which will handle refresh-on-insert/update attributes correctly for you.
2. For switching between Oracle SQLBuilder and SQL92 SQLBuilder, you can try the following:
2a) Locate bc4j.xcfg and your Project??.jpx under your 'src' directory.
2b) Make copies of these files.
2c) Edit them so that you have one set for Oracle SQLBuilder and one set for SQL92 SQLBuilder. For Oracle SQLBuilder, make sure these files do NOT have entries like:
<jbo.SQLBuilder>..</jbo.SQLBuilder> in bc4j.xcfg and
<Attr Name="_jbo.SQLBuilder" Value="..." /> in Project??.jpx
When there is no jbo.SQLBuilder entry, BC4J will default to Oracle.
For SQL92, make sure you have
<jbo.SQLBuilder>SQL92</jbo.SQLBuilder> in bc4j.xcfg and
<Attr Name="_jbo.SQLBuilder" Value="SQL92" /> in Project??.jpx.
Before you run, decide which SQLBuilder to use (for 9.0.2, with retrieve-on-insert/update attrs, you have no choice but to use Oracle SQLBuilder) and copy these files into your class path, e.g.,
<jdev-install-dir>\jdev\mywork\Workspace1\Project1\classes
When you get 9.0.3, then you should be able to switch between Oracle and SQL92 SQLBuilders freely.
Thanks.
Sung -
UIX XML-BC4J: Bug on messageTextInput
We have found a bug on the BC4J:messageTextInput tag because it doesn't use the value of "prompt" attribute to generate client validating messages.
Message alerts displayed on browser are on the following form:
Form Validation failures: a value must be entered for ''
PS: this problem did not occur with BC4J:messageInput but we can't use it because it doesn't support the onSubmitValidater inner tag to specify the field type.Try explicitly setting the "id" to a unique value; that should fix the problem.
It is a bug, but one that won't be fixed for 9.0.3. -
UIX/XML BC4J Bug on "selectedValue" attribute
We suspect a bug in tag bc4j:attrProperty when used within boundAttribute because bounding
it to property selectedIndex works correctly, while bounding it to selectedValue result in a
Servlet error: Renderer failed: java.lang.ArrayIndexOutOfBoundsException
Correctly executed code (but logically wrong):
<bc4j:attrScope name="FlgObsoleto">
<contents>
<messageChoice name="FlgObsoleto" prompt="Stato">
<boundAttribute name="selectedIndex">
<bc4j:attrProperty name="value"/>
</boundAttribute>
<contents>
<option value="2" text="Element 0"/>
<option value="0" text="Element 1"/>
<option value="34" text="Element 2"/>
</contents>
</messageChoice>
</contents>
</bc4j:attrScope>
Code resulting in error (but logically correct):
<bc4j:attrScope name="FlgObsoleto">
<contents>
<messageChoice name="FlgObsoleto" prompt="Stato" >
<boundAttribute name="selectedValue">
<bc4j:attrProperty name="value"/>
</boundAttribute>
<contents>
<option value="2" text="Element 0"/>
<option value="0" text="Element 1"/>
<option value="34" text="Element 2"/>
</contents>
</messageChoice>
</contents>
</bc4j:attrScope>The infamous ArrayIndexOutOfBoundsException - argh. This always means
some other, real exception has happened. In this case, it's a
ClassCastException as some bad code of ours blindly casted to
String. This is fixed in 9.0.3. In 9.0.2, there's a clumsy
workaround to force the attribute type to a string and dodge the bug.
Change this one instance of:
<bc4j:attrProperty name="value"/> to:
<concat>
<bc4j:attrProperty name="value"/>
<fixed text=""/>
</concat>Ugly. Very, very ugly! -
10g Preview: BUG: Infinite loop renaming entity attribute
9.0.5.0.0, Build 1375, Win2k SP3.
BACKGROUND:
After attempting to rename an EO on which a VO was based I received an error that indicated the VO was dependent on the attribute to be renamed. I removed the VO attribute from the VO's attribute list and saved the changes. I then brought up the Entity Object wizard where I attempted to rename the attribute.
When jdevw.exe is used to launch the IDE, the renaming action results in the IDE hanging. When jdev.exe is used, the console prints the following stack trace and the IDE gives a StackOverflowError.
java.lang.StackOverflowError
at java.lang.System.arraycopy(Native Method)
at java.lang.StringBuffer.expandCapacity(StringBuffer.java:203)
at java.lang.StringBuffer.append(StringBuffer.java:393)
at oracle.jbo.dt.objects.JboBaseObject.getFullName(JboBaseObject.java:188)
at oracle.jbo.dt.objects.JboEntity.attributeChangeQuery(JboEntity.java)
at oracle.jbo.dt.objects.JboChangeMulticaster.dispatchAttributeRemoveQuery(JboBaseObject.java)
at oracle.jbo.dt.objects.JboEntity.attributeChangeQuery(JboEntity.java)
[...a few hundred thousand more of these...]
at oracle.jbo.dt.objects.JboChangeMulticaster.dispatchAttributeRemoveQuery(JboBaseObject.java)
at oracle.jbo.dt.objects.JboEntity.attributeChangeQuery(JboEntity.java)
at oracle.jbo.dt.objects.JboChangeMulticaster.dispatchAttributeRemoveQuery(JboBaseObject.java)
at oracle.jbo.dt.objects.JboEntity.attributeChangeQuery(JboEntity.java:388)
at oracle.jbo.dt.objects.JboChangeMulticaster.dispatchAttributeRemoveQuery(JboBaseObject.java:3394)
at oracle.jbo.dt.objects.JboEntity.attributeChangeQuery(JboEntity.java:388)
[...and a bunch of these...]
at oracle.jbo.dt.objects.JboChangeMulticaster.dispatchAttributeRemoveQuery(JboBaseObject.java:3394)
at oracle.jbo.dt.objects.JboEntity.attributeChangeQuery(JboEntity.java:388)
at oracle.jbo.dt.objects.JboChangeMulticaster.dispatchAttributeChangeQuery(JboBaseObject.java:3427)
at oracle.jbo.dt.objects.JboObject.changeAttributeQuery(JboObject.java:107)
at oracle.jbo.dt.ui.entity.AttributeSettingsPanel.attributeNameCheck(AttributeSettingsPanel.java:453)
at oracle.jbo.dt.ui.entity.EOAttributePanel.leave(EOAttributePanel.java:279)
at oracle.jbo.dt.ui.entity.EOAttributeTabPanel.leave(EOAttributeTabPanel.java:108)
at oracle.jbo.dt.ui.entity.EOEditAttributeTabPanel.updateCurrentAttr(EOEditAttributeTabPanel.java:330)
at oracle.jbo.dt.ui.entity.EOEditAttributeTabPanel.leave(EOEditAttributeTabPanel.java:113)
at oracle.jbo.dt.ui.main.dlg.DtjMddTraversable.onExit(DtuMddNavigable.java:278)
at oracle.ide.panels.MDDPanel.exitTraversable(MDDPanel.java:761)
at oracle.ide.panels.MDDPanel.onExit(MDDPanel.java:286)
at oracle.jbo.dt.ui.main.dlg.DtjMddWizardDialog.okAction(DtuWizard.java:1899)
at oracle.jbo.dt.ui.main.dlg.DtjDialog.dismissDialog(DtjDialog.java:219)
at oracle.bali.ewt.dialog.JEWTDialog$UIListener.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
at java.awt.Component.processMouseEvent(Component.java:5134)
at java.awt.Component.processEvent(Component.java:4931)
at java.awt.Container.processEvent(Container.java:1566)
at java.awt.Component.dispatchEventImpl(Component.java:3639)
at java.awt.Container.dispatchEventImpl(Container.java:1623)
at java.awt.Component.dispatchEvent(Component.java)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
at java.awt.Container.dispatchEventImpl(Container.java:1609)
at java.awt.Window.dispatchEventImpl(Window.java)
at java.awt.Component.dispatchEvent(Component.java)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:452)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
at java.awt.Dialog.show(Dialog.java:538)
at java.awt.Component.show(Component.java:1134)
at java.awt.Component.setVisible(Component.java:1089)
at oracle.jbo.dt.ui.main.dlg.DtjDialog.setVisible(DtjDialog.java:137)
at oracle.jbo.dt.ui.main.dlg.DtjMddWizardDialog.setVisible(DtuWizard.java:1926)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
at oracle.jbo.dt.ui.main.dlg.DtjDialog.showDialog(DtjDialog.java:114)
at oracle.jbo.dt.ui.main.dlg.DtjMddWizardDialog.showDialog(DtuWizard.java:1885)
at oracle.jbo.dt.ui.main.dlg.DtuWizard.createMddWizard(DtuWizard.java:422)
at oracle.jbo.dt.ui.main.dlg.DtuWizard.setVisible(DtuWizard.java:276)
at oracle.jbo.dt.ui.entity.EOWizard.setVisible(EOWizard.java:204)
at oracle.jbo.dt.ui.main.dlg.DtuWizard.showDialog(DtuWizard.java:254)
at oracle.jbo.dt.jdevx.ui.JdxMenuManager.invokeEOWizard(JdxMenuManager.java:762)
at oracle.jbo.dt.jdevx.ui.JdxMenuManager.invokeEntityWizard(JdxMenuManager.java:741)
at oracle.jbo.dt.ui.main.DtuMenuManager.doEditMenuAction(DtuMenuManager.java:1341)
at oracle.jbo.dt.ui.main.DtuMenuManager.doMenuAction(DtuMenuManager.java:1218)
at oracle.jbo.dt.jdevx.ui.JdxMenuManager.doMenuAction(JdxMenuManager.java:701)
at oracle.jbo.dt.ui.main.DtuMenuManager.doAction(DtuMenuManager.java:1058)
at oracle.jbo.dt.ui.main.DtuMenuManager.doAction(DtuMenuManager.java:1041)
at oracle.jbo.dt.jdevx.ui.JdxMenuManager.doActionPerformed(JdxMenuManager.java:532)
at oracle.jbo.dt.jdevx.ui.JdxMenuInvoker.run(JdxMenuManager.java:1285)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:449)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)Thanks for the post, I've been able to reproduce this in the current builds and I've logged this as bug #3159091 to be fixed for 9.0.5 production.
Ray -
BC4J: bug query generator
Hi,
We want to use a certain name for a table in our database. Unfortunately this name is protected. To circumvent this problem we created the table with the name between quotes (e.g. "table"). This works fine at the database level.
If we add the table to a BC4J package using JDeveloper an entity with the right name (e.g. Table) is created. Unfortunately this name is used by default as a synonym to query the table (e.g. SELECT * FROM "table" Table). Fortunately for normal select statements you can change this by editing the view object and renaming the default synonym to something else (e.g. SELECT * FROM "table" t).
But... when you try to remove a row BC4J still uses the default synonym to first lock the record and then delete the record. Unfortunately there seems to be no way to change the default table synonym of a certain entity. Or is there a way?
Regards,
PeterI've found a way to circumvent the problem. Although normally it's not possible (in the JDeveloper GUI) to enter an alias for a certain entity, it is possible when you edit it's XML file. If you change the attribute AliasName to a valid alias everything works fine!
-
First of all, I couldn't locate a proper forum that is designated for XDK.
Anyways, I am evaluating XDK for the purpose of keeping audit of changes to an xml file, by comparing old xml with the new xml file.
I have tried to compare these two sample xml files using oracle.xml.differ.XMLDiff.
However, the comparison result is not as expected. Following are the xml files I used;
Catalog1.xml
<?xml version="1.0" encoding="utf-8"?>
<catalog>
<journal title="Oracle Magazine" publisher="Oracle Publishing"
edition="July-August 2005">
<article section="Technology">
<title>Tuning Undo Tablespace</title>
<author>Kimberly Floss</author>
<isbn>12345</isbn>
</article>
</journal>
</catalog>
Catalog2.xml
<?xml version="1.0" encoding="utf-8"?>
<catalog>
<journal title="SQL Magazine" publisher="Oracle Publishing"
edition="July-August 2006">
<article section="Technology">
<title lang="En">Tuning Undo Tablespace</title>
<author>Kimberly Floss</author>
<price>199.90</price>
</article>
</journal>
<journal title="Oracle Magazine c" publisher="Oracle Publishing"
edition="July-August 2005">
<article section="Technology">
<title>Tuning Undo Tablespace</title>
<author>Kimberly Floss</author>
<isbn>12345</isbn>
</article>
</journal>
</catalog>
Though the second 'journal' element has a change (i.e. title="Oracle Magazine c" in Catalog2.xml, XMLDiff treats this element is equal to the one in the Catalog1.xml.
Appreciate any help on this,
ThanksXDK Issues are best dealt with in the XDK forums http://forums.oracle.com/forums/category.jspa?categoryID=51
If you think its a bug please open a tar with Oracle support
We will have a new DIFF utilitiy in 11g -
[BC4J-bug] obsolete import statements remain behind in AM source file
Just wondering if the following problem is a known bug or not:
I've got an application module called 'AMExample' and it consists of 2 files: AMExample.xml and AMExampleImpl.java.
When I remove a view from this module, the corresponding import statement in the AMExampleImpl.java file remains behind, which leads to compilation errors after I delete this (obsolete) view entity from the project.
Regards,
Patrick.Just wondering if the following problem is a known bug or not:
I've got an application module called 'AMExample' and it consists of 2 files: AMExample.xml and AMExampleImpl.java.
When I remove a view from this module, the corresponding import statement in the AMExampleImpl.java file remains behind, which leads to compilation errors after I delete this (obsolete) view entity from the project.
Regards,
Patrick. -
BC4J BUG:Attribute Property Editor:Lost properties
I've been the victim numerous times of this bug. Just able to figure it out and articulate it:
When editing an Attribute, go to the "Properties" page and enter multiple properties (i.e. Renderer, EditRenderer, etc.). Don't save your changes and go to another page (i.e. "Control Hints"). Make a change (or not-didn't test it) and don't save your changes. Then go back to the "Properties" page. All the properties you had entered except the last will be gone and that last property will not be shuttled.
Work around:
Hit "Apply" before going back to the "Properties" page.
Don't re-enter the "Properties" page.
Hit "Ok" and then re-open the Attribute Wizard before going back to the "Properties" page.
Thanks, GeorgeI've been the victim numerous times of this bug. Just able to figure it out and articulate it:
When editing an Attribute, go to the "Properties" page and enter multiple properties (i.e. Renderer, EditRenderer, etc.). Don't save your changes and go to another page (i.e. "Control Hints"). Make a change (or not-didn't test it) and don't save your changes. Then go back to the "Properties" page. All the properties you had entered except the last will be gone and that last property will not be shuttled.I believe you've already logged this post earlier. Incase you haven't seen the reply,
There's an Add button on the "Properties page" which you need to click after editing/providing a new property/value pair. Then you should see the property/value in the list below the add/remove buttons
For each property value pair you should repeat these steps for the property/value pair to be stored.
Work around:
Hit "Apply" before going back to the "Properties" page.
Don't re-enter the "Properties" page.
Hit "Ok" and then re-open the Attribute Wizard before going back to the "Properties" page.
Thanks, George -
I have a problem With this bug every time i click on design view on JSP files or java files. As a result i get this Java Null Pointer exception
java.lang.NullPointerException
at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.populateTreeWithDataControlNode(DataControlsTreeModel.java:78)
at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.addSessionContentsToTree(DataControlsTreeModel.java:103)
at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:57)
at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:35)
at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:30)
at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:25)
at oracle.adf.dt.controls.DataControlsTree.createDataControlsTreeModel(DataControlsTree.java:98)
at oracle.adf.dt.controls.ModelCreator.run(DataControlsTree.java:124)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
at java.awt.Dialog$1.run(Dialog.java:540)
at java.awt.Dialog.show(Dialog.java:561)
at java.awt.Component.show(Component.java:1133)
at java.awt.Component.setVisible(Component.java:1088)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
at oracle.javatools.dialogs.ExceptionDialog.reallyShowExceptionDialog(ExceptionDialog.java:287)
at oracle.javatools.dialogs.ExceptionDialog.showExceptionDialog(ExceptionDialog.java:213)
at oracle.javatools.dialogs.ExceptionDialog.showExceptionDialog(ExceptionDialog.java:304)
at oracle.javatools.dialogs.ExceptionDialog.showExceptionDialog(ExceptionDialog.java:323)
at oracle.javatools.dialogs.ExceptionDialog.showExceptionDialog(ExceptionDialog.java:336)
at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:62)
at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:35)
at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:30)
at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:25)
at oracle.adf.dt.controls.DataControlsTree.createDataControlsTreeModel(DataControlsTree.java:98)
at oracle.adf.dt.controls.ModelCreator.run(DataControlsTree.java:124)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
at java.awt.Dialog$1.run(Dialog.java:540)
at java.awt.Dialog.show(Dialog.java:561)
at java.awt.Component.show(Component.java:1133)
at java.awt.Component.setVisible(Component.java:1088)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
at oracle.javatools.dialogs.ExceptionDialog.reallyShowExceptionDialog(ExceptionDialog.java:287)
at oracle.javatools.dialogs.ExceptionDialog.showExceptionDialog(ExceptionDialog.java:213)
at oracle.javatools.dialogs.ExceptionDialog.showExceptionDialog(ExceptionDialog.java:304)
at oracle.javatools.dialogs.ExceptionDialog.showExceptionDialog(ExceptionDialog.java:323)
at oracle.javatools.dialogs.ExceptionDialog.showExceptionDialog(ExceptionDialog.java:336)
at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:62)
at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:35)
at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:30)
at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:25)
at oracle.adf.dt.controls.DataControlsTree.createDataControlsTreeModel(DataControlsTree.java:98)
at oracle.adf.dt.controls.ModelCreator.run(DataControlsTree.java:124)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)Can you send the source of your JSP and let us know which JDeveloper version are you on 9.0.5? 10.1.3?
Maybe you are looking for
-
Calendar Data Picker bug or problem
Hi all i am having a problem with the calendar component. here the context: tool: Sun Java Studio Creator 2 framework: Java Server Faces i put several components, on the page, and several buttons. i insert code in the button action of every button on
-
Where can I find step by step instruction on migrating to icloud?
-
Could somebody please suggest the best method for Legacy Finance Data Load please or confirm that the steps that I am proposing are correct:- YE TB will be manually journalled into SAP - the debtor and creditor balances will be journalled to a data l
-
This is my first time to post anything ever but I dont want to just go buy a new computer! All of my system and iTunes etc are as up to date as can be - However, just starting yesterday (Aug 4), every time I open iTunes I get the shadow screen asking
-
System Requirements -- What's Necessary?
Hello all, I've been definitely considering an iMac or Macbook Pro for Garageband to start getting some demo songs recorded and I was wondering what system requirements I should aim for (processor speed, ram more importantly) in having a system that