Lexical params - not parsed correctly
Hi All, Does BIP support lexical param for a Oracle DB?
I have a query that looks like,
select &rp_item_flex_all_seg item_code,
ood.organization_name
from &lp_item_from,
org_organization_definitions ood
of these &rp_item_flex_all_seg is created a global level function and is populated from a PL/SQL function return and &lp_item_from is a parameter that is populated from a before report param trigger.
I am never able to get this query to compile and move ahead to next step.
The next screen on providing this query appears as
*&rp_item_flex_all_seg item_code, ood.organization_name from &lp_item_from, org_organization_definitions ood
and it always ends up in the error:
ORA-00923: FROM keyword not found where expected
Can someone help with this?
Hi DB042189,
This behavior is by design. According to the “Set the Options on the Parameter Bindings Page” section of the
Execute Package Task Editor document, we can read that:
You can pass values from the parent package or the project, to the child package. The project must use the project deployment model and the child package must be contained in the same project that contains the parent package.
So, to pass SSIS parameters from the parent package to child package, we have to use the Project Deployment model. Alternatively, you can use SSIS variable instead of parameter if it is not possible for you use the Project Deployment model.
If you have concerns, I would suggest you submitting a wish at
https://connect.microsoft.com/sql.
Connect site is a connection point between you and Microsoft, and ultimately the larger community. Your feedback enables Microsoft to make software and services the best that they can be, and you can learn about and contribute to exciting projects.
Regards,
Mike Yin
TechNet Community Support
Similar Messages
-
BIP: lexical params - not parsed correctly
Hello,
I am using the following query in BIP.
+ select wdd.currency_code currency_code,
wdd.inventory_item_id line_item,
wdd.date_requested,
nvl(wdd.source_line_set_id,wdd.source_line_id) source_line_set_id,
decode( :p_sort_by,
'CUSTOMER',
substrb(party.party_name,1,50),
'WAREHOUSE',
ood.organization_name,
'ORDER',
wdd.source_header_number,
null) sort_by,
wdd.source_header_number order_number,
wdd.source_header_id source_header_id, substrb(party.party_name,1,50) customer_name,
cust_acct.account_number customer_number,
wdd.source_line_id,
wdd.src_requested_quantity ordered_qty,
wdd.src_requested_quantity_uom order_UOM,
wdd.source_line_number line_number,
wdd.top_model_line_id option_number,
&rp_item_flex_all_seg item_code,
wdd.inventory_item_id,
wdd.item_description,
wdd.source_code,
wdd.shipment_priority_code,
wdd.requested_quantity_uom,
sum(nvl(wdd.requested_quantity,0)) backordered_quantity,
wdd.date_scheduled,
wdd.organization_id,
ood.organization_name,
WSHRDBDR.cf_curr_oamt_dspformula(wdd.currency_code) CF_CURR_OAMT_DSP,
WSHRDBDR.cf_curr_bamt_dspformula(wdd.currency_code) CF_CURR_BAMT_DSP,
WSHRDBDR.cf_curr_enabledformula(:CS_COUNT_SORT_ENABLED, :CS_SUM_SORT_ENABLED) CF_CURR_ENABLED,
WSHRDBDR.cf_sort_oamt_dspformula(wdd.currency_code) CF_SORT_OAMT_DSP,
WSHRDBDR.cf_sort_bamt_dspformula(wdd.currency_code) CF_SORT_BAMT_DSP,
WSHRDBDR.cf_sort_enabledformula(:CS_COUNT_DUOM, :CS_SUM_DUOM) CF_SORT_ENABLED,
WSHRDBDR.cf_ord_oamt_dspformula(wdd.currency_code) CF_ORD_OAMT_DSP,
WSHRDBDR.cf_ord_bamt_dspformula(wdd.currency_code) CF_ORD_BAMT_DSP,
WSHRDBDR.cf_distinct_uomformula(wdd.source_header_number) CF_DISTINCT_UOM,
WSHRDBDR.cf_source_codeformula(wdd.source_code) CF_source_code,
WSHRDBDR.cf_line_ord_amt_dspformula(wdd.currency_code) CF_LINE_ORD_AMT_DSP,
WSHRDBDR.cf_line_ordered_amtformula(:CF_LINE_ORDERED_QTY, :CF_selling_price) CF_LINE_ORDERED_AMT,
WSHRDBDR.cf_line_ordered_qtyformula(nvl ( wdd.source_line_set_id , wdd.source_line_id )) CF_LINE_ORDERED_QTY,
WSHRDBDR.cf_line_shipped_qtyformula(nvl ( wdd.source_line_set_id , wdd.source_line_id ), wdd.source_header_id, wdd.requested_quantity_uom, wdd.src_requested_quantity_uom, wdd.inventory_item_id) CF_LINE_SHIPPED_QTY,
WSHRDBDR.cf_line_item_displayformula(wdd.inventory_item_id, wdd.organization_id, wdd.item_description) CF_LINE_ITEM_DISPLAY,
WSHRDBDR.cf_line_bo_qtyformula(nvl ( wdd.source_line_set_id , wdd.source_line_id ), wdd.source_header_id, wdd.requested_quantity_uom, wdd.src_requested_quantity_uom, wdd.inventory_item_id) CF_LINE_BO_QTY,
WSHRDBDR.cf_line_bo_amt_dspformula(wdd.currency_code) CF_LINE_BO_AMT_DSP,
WSHRDBDR.cf_line_bo_amtformula(WSHRDBDR.cf_line_bo_qtyformula(nvl ( wdd.source_line_set_id , wdd.source_line_id ), wdd.source_header_id, wdd.requested_quantity_uom, wdd.src_requested_quantity_uom, wdd.inventory_item_id) , :CF_selling_price) CF_LINE_BO_AMT,
WSHRDBDR.cf_days_lateformula(:CF_promise_date) CF_days_late,
WSHRDBDR.cf_promise_dateformula(wdd.source_line_id) CF_promise_date,
WSHRDBDR.cf_item_displayformula(wdd.inventory_item_id, wdd.organization_id, wdd.item_description) CF_ITEM_DISPLAY,
WSHRDBDR.cf_selling_priceformula(wdd.source_line_id) CF_selling_price
from org_organization_definitions ood,
hz_parties party,
hz_cust_accounts cust_acct,
&lp_item_from
&lp_country_from
wsh_delivery_details wdd,
mtl_system_items_vl si where wdd.inventory_item_id = si.inventory_item_id (+) and wdd.organization_id = si.organization_id
and wdd.released_status = 'B'
and wdd.replenishment_status is null and cust_acct.party_id = party.party_id
and wdd.customer_id = cust_acct.cust_account_id
and wdd.organization_id = ood.organization_id
and wdd.source_code = :P_SOURCE_SYSTEM
&lp_item_id
&lp_item_where
&lp_inventory
&lp_header_number
&lp_order_type
&lp_customer
&lp_warehouse
&lp_created_by
&lp_country_where
&lp_source_code
group by
wdd.currency_code,
wdd.inventory_item_id,
wdd.date_requested,
substrb(party.party_name,1,50),
ood.organization_name,
wdd.source_header_number,
wdd.source_header_id, cust_acct.account_number,
wdd.source_line_id,
wdd.src_requested_quantity,
wdd.src_requested_quantity_uom,
wdd.source_line_number,
wdd.top_model_line_id,
wdd.inventory_item_id,
wdd.item_description,
wdd.source_code,
wdd.shipment_priority_code,
wdd.requested_quantity_uom,
wdd.date_scheduled,
wdd.organization_id,
wdd.source_line_set_id,
&rp_item_flex_all_seg
order by
wdd.currency_code,
decode( :p_sort_by,
'CUSTOMER',
substrb(party.party_name,1,50),
'WAREHOUSE',
ood.organization_name,
'ORDER',
wdd.source_header_number,
null)
+
After providing this query and when i click OK, the parameters screen pops up, but the name of the parameters are seen as:
*&rp_item_flex_all_seg item_code, wdd.inventory_item_id, wdd.item_description, wdd.source_code, wdd.shipment_priority_code, wdd.requested_quantity_uom, sum
*&lp_item_from &lp_country_from wsh_delivery_details wdd, mtl_system_items_vl si where wdd.inventory_item_id
The params are not getting properly delimited and it always ends up in the error 'Table does not exist.'
Can someone please help me with this?
UPDATE: All lexical params used in the query are properly defined under the parameters section.
Edited by: obiee_newbie on Jan 10, 2012 2:51 AMI ended up modifying xdo-core.jar on the BIP server, so <BR> tags get parsed correctly. Consider this thread answered.
Edited by: Gauthier Ooms on Sep 21, 2012 3:45 PM -
SQL not parsed correctly Why is meant by SQL Statements Larger than 32KB?
I execute the following code
begin
dbms_output.put_line('b4 Constructing query 2');
v_retail_rate_query_a:='select *
from Rate R
where rate_id=:v_RateID
and service_id=:p_ServiceID
AND SUBSTR(R.Area_Code, 1, LEAST(LENGTH(:v_Orig_Number), LENGTH(R.Area_Code))) = SUBSTR(:v_Orig_Number, 1, LEAST(LENGTH(:v_Orig_Number), LENGTH(R.Area_Code)))
AND LENGTH(R.Area_Code) <= LENGTH(:v_Orig_Number)
v_query_a_length:=length(v_retail_rate_query_a);
dbms_output.put_line('v_retail_rate_query_a ' || v_retail_rate_query_a || ' |');
dbms_output.put_line('v_query_a_length ' || v_query_a_length || ' |');
exception
when others then
:v_ErrNumber:=-1800;
end;
But the statement is not parsed correctly why is this so? with reference to http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96590/adg09dyn.htm#26624
32k /8 would have give me at most 4000 characters. the query certainly does not have 4000 characters.
Anybody could enlighten me with the reason why oracle could not parse my query? Is there a way to insert '\n' in Pl/SQL?
thanks!You do in your select statement length(r.area_code) <= length(:v_orig_number), so least(length(:v_orig_number),length(area_code)) will always return
length(r.area_code).
substr(r.area_code,1,least(length(:v_orig_number),length(r.area_code))) will return area_code because substr(r.area_code,1,length(r.area_code)) will return r.area_code.
SUBSTR(:v_Orig_Number, 1, LEAST(LENGTH(:v_Orig_Number), LENGTH(R.Area_Code))) will return
SUBSTR(:v_Orig_Number, 1,length(r.area_code)).
I believe you can use select statement
select *
from rate
where rate_id = cp_rate_id
and service_id = cp_service_id
and cp_orig_number like area_code||'%';
Use this PL/SQL code.
set serveroutput on
declare
cursor c_rats( cp_rate_id in rate.rate_id%type
, cp_service_id in rate.service_id%type
, cp_orig_number in varchar2)
is
select *
from rate
where rate_id = cp_rate_id
and service_id = cp_service_id
and cp_orig_number like area_code||'%';
begin
for r_rats in c_rats(1,2,'ABCDEFG') loop
dbms_output.put_line(r_rats.rate_id);
end loop;
end;
/Here I used rate_id = 1, service_id = 2 and orig_number = 'ABCDEF'. -
Not showing correct output when parsing the date
//WAP the gives the details of employees
import java.io.*;
import java.util.*;
import java.text.Format;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
class employee
private String nm,curr_dt;
private Date dob,doj;
private int salary;
employee()
nm="\0";
dob=null;
doj=null;
curr_dt=null;
salary=0;
void getdata()throws IOException
String dt;
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
//we can create date with these 3 type of objects
Format fm=new SimpleDateFormat("dd-mm-yyyy");
DateFormat df=new SimpleDateFormat("dd-mm-yyyy");
//object of base class are type compatible with the object of derived class
SimpleDateFormat sdf=new SimpleDateFormat("dd-mm-yyyy");
System.out.print("\nEnter the name of Employee : ");
nm=br.readLine();
try{
System.out.print("\nEnter the date of birth of Employee : ");
dt=br.readLine();
dob=(Date)fm.parseObject(dt);
System.out.print("\nEnter the date of joining of Employee : ");
dt=br.readLine();
doj=df.parse(dt);
}catch(ParseException e){
Date d=new Date();
curr_dt=sdf.format(d);
System.out.print("\nEnter the salary of employee : ");
salary=Integer.parseInt(br.readLine());
void putdata()
System.out.println("\n\n\nEmployee Name : "+nm);
System.out.println("\nDate of birth : "+dob);
System.out.println("\nDate of joining : "+doj);
System.out.println("\nCurrent date : "+curr_dt);
/*if((doj-curr_dt)>1)
salary+=3000;
System.out.println("\nSalary of Employee : "+salary);
class emp
public static void main(String str[])throws IOException
employee emp[]=new employee[1];
System.out.println("\nEnter the detail of employees \n\n");
for(int i=0;i<1;i++)
emp=new employee();
emp[i].getdata();
System.out.println("\n\nDetail of employees are\n\n");
for(int i=0;i<1;i++)
emp[i].putdata();
}*Output:*
Enter the detail of employees
Enter the name of Employee : Rajendra Sharma
Enter the date of birth of Employee : 10-10-1979
Enter the date of joining of Employee : 05-09-2004
Enter the salary of employee : 2000
*it is not showing date in the "dd-mm-yyyy" format and not showing correct month as well*
Detail of employees are
Employee Name : Rajendra Sharma
Date of birth : Wed Jan 10 00:10:00 IST 1979
Date of joining : Mon Jan 05 00:09:00 IST 2004
Current date : 17-08-2008
Salary of Employee : 2000Hi,
Use below code that will help u to sort ur problem.
import java.io.*;
import java.util.*;
import java.text.Format;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
class employee
private String nm,curr_dt;
private Date dob,doj;
private int salary;
private String dobb,dojj;
employee()
nm="\0";
dob=null;
doj=null;
curr_dt=null;
salary=0;
void getdata()throws IOException
String dt;
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
//we can create date with these 3 type of objects
DateFormat fm=new SimpleDateFormat("dd-mm-yyyy");
DateFormat df=new SimpleDateFormat("dd-mm-yyyy");
//object of base class are type compatible with the object of derived class
SimpleDateFormat sdf=new SimpleDateFormat("dd-mm-yyyy");
System.out.print("\nEnter the name of Employee : ");
nm=br.readLine();
try{
System.out.print("\nEnter the date of birth of Employee : ");
dt=br.readLine();
dob=(Date)fm.parseObject(dt);
dobb= fm.format(dob);
System.out.print("\nEnter the date of joining of Employee : ");
dt=br.readLine();
doj=df.parse(dt);
dojj = df.format(doj);
}catch(ParseException e){
Date d=new Date();
curr_dt=sdf.format(d);
System.out.print("\nEnter the salary of employee : ");
salary=Integer.parseInt(br.readLine());
void putdata()
System.out.println("\n\n\nEmployee Name : "+nm);
System.out.println("\nDate of birth : "+dobb);
System.out.println("\nDate of joining : "+dojj);
System.out.println("\nCurrent date : "+curr_dt);
/*if((doj-curr_dt)>1)
salary+=3000;
System.out.println("\nSalary of Employee : "+salary);
class emp
public static void main(String str[])throws IOException
employee emp[]=new employee[1];
System.out.println("\nEnter the detail of employees \n\n");
for(int i=0;i<1;i++)
emp=new employee();
emp[i].getdata();
System.out.println("\n\nDetail of employees are\n\n");
for(int i=0;i<1;i++)
emp[i].putdata();
thanks,
prabhu selvakumar. -
Revision: 5289
Author: [email protected]
Date: 2009-03-12 21:09:58 -0700 (Thu, 12 Mar 2009)
Log Message:
Fix for - HTML tags in
tags in ASdoc comments not being parsed correctly.
QE Notes: Some baseline will require update.
Doc Notes: None.
Bugs: SDK-19815
tests: checkintests, asdoc
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-19815
Modified Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocUtil.javaResize/re-scale & optimize all images for the web in your graphics editor before you insert them into your web pages. Saves bandwidth and reduces page load.
Cycle2 is a responsive slideshow. If you want all images to remain 400px and not responsive to layout, you'll need to modify the CSS code a little.
Details on using Previous & Next links are in the documentation.
http://jquery.malsup.com/cycle2/demo/prevnext.php
Nancy O. -
BKI0008E: The environment variable BI_CALLER is not set correctely. The cur
Hi All,
I have configured backint for backup of maxdb for content server 640. I configured it as per the documents available, created the configuration fiale and the parameter file. Created the backup medium in dbmgui.
Now when i try to run the backup using the pipe am getting the above mentioned error.
Please find below the dbm.ebp log for the same...
more dbm.ebp
2009-10-22 02:06:08
Setting environment variable 'TEMP' for the directory for temporary files and pi
pes to default ''.
Setting environment variable 'TMP' for the directory for temporary files and pip
es to default ''.
Using connection to Backint for MaxDB Interface.
2009-10-22 02:06:08
Checking existence and configuration of Backint for MaxDB.
Using configuration variable 'BSI_ENV' = '/sapdb/CFC/lcbackup/apoatlas.env'
as path of the configuration file of Backint for MaxDB.
Setting environment variable 'BSI_ENV' for the path of the configuration fil
e of Backint for MaxDB to configuration value '/sapdb/CFC/lcbackup/apoatlas.env'
Reading the Backint for MaxDB configuration file '/sapdb/CFC/lcbackup/apoatl
as.env'.
Found keyword 'BACKINT' with value '/sapdb/CFC/db/bin/backint'.
Found keyword 'INPUT' with value '/tmp/backint4sapdbCFC.in'.
Found keyword 'OUTPUT' with value '/tmp/backint4sapdbCFC.out'.
Found keyword 'ERROROUTPUT' with value '/tmp/backint4sapdbCFC.err'.
Found keyword 'PARAMETERFILE' with value '/sapdb/CFC/lcbackup/param.cfg'
Found keyword 'TIMEOUT_SUCCESS' with value '1800'.
Found keyword 'TIMEOUT_FAILURE' with value '1800'.
Finished reading of the Backint for MaxDB configuration file.
Using '/sapdb/CFC/db/bin/backint' as Backint for MaxDB program.
Using '/tmp/backint4sapdbCFC.in' as input file for Backint for MaxDB.
Using '/tmp/backint4sapdbCFC.out' as output file for Backint for MaxDB.
Using '/tmp/backint4sapdbCFC.err' as error output file for Backint for MaxDB
Using '/sapdb/CFC/lcbackup/param.cfg' as parameter file for Backint for MaxD
B.
Using '1800' seconds as timeout for Backint for MaxDB in the case of success
Using '1800' seconds as timeout for Backint for MaxDB in the case of failure
Using '/sapdb/data/wrk/CFC/dbm.knl' as backup history of a database to migra
te.
Using '/sapdb/data/wrk/CFC/dbm.ebf' as external backup history of a database
to migrate.
Checking availability of backups using backint's inquire function.
Check passed successful.
2009-10-22 02:06:08
Checking medium.
Check passed successfully.
2009-10-22 02:06:08
Preparing backup.
Setting environment variable 'BI_CALLER' to value 'DBMSRV'.
Setting environment variable 'BI_REQUEST' to value 'NEW'.
Setting environment variable 'BI_BACKUP' to value 'FULL'.
Constructed Backint for MaxDB call '/sapdb/CFC/db/bin/backint -u CFC -f back
up -t file -p /sapdb/CFC/lcbackup/param.cfg -i /tmp/backint4sapdbCFC.in -c'.
Created temporary file '/tmp/backint4sapdbCFC.out' as output for Backint for
MaxDB.
Created temporary file '/tmp/backint4sapdbCFC.err' as error output for Backi
nt for MaxDB.
Writing '/sapdb/CFC/lcbackup/pipe1 #PIPE' to the input file.
Writing '/sapdb/CFC/lcbackup/pipe2 #PIPE' to the input file.
Prepare passed successfully.
2009-10-22 02:06:08
Creating pipes for data transfer.
Creating pipe '/sapdb/CFC/lcbackup/pipe1' ... Done.
Creating pipe '/sapdb/CFC/lcbackup/pipe2' ... Done.
All data transfer pipes have been created.
2009-10-22 02:06:08
Starting database action for the backup.
Requesting 'SAVE DATA QUICK TO '/sapdb/CFC/lcbackup/pipe1' PIPE,'/sapdb/CFC/
lcbackup/pipe2' PIPE BLOCKSIZE 8 NO CHECKPOINT MEDIANAME 'BACKINT_ONLINE1'' from
db-kernel.
The database is working on the request.
2009-10-22 02:06:09
Waiting until database has prepared the backup.
Asking for state of database.
2009-10-22 02:06:09 Database is still preparing the backup.
Waiting 1 second ... Done.
Asking for state of database.
2009-10-22 02:06:10 Database is still preparing the backup.
Waiting 2 seconds ... Done.
Asking for state of database.
2009-10-22 02:06:12 Database has finished preparation of the backup.
The database has prepared the backup successfully.
2009-10-22 02:06:12
Starting Backint for MaxDB.
Starting Backint for MaxDB process '/sapdb/CFC/db/bin/backint -u CFC -f back
up -t file -p /sapdb/CFC/lcbackup/param.cfg -i /tmp/backint4sapdbCFC.in -c >>/tm
p/backint4sapdbCFC.out 2>>/tmp/backint4sapdbCFC.err'.
Process was started successfully.
Backint for MaxDB has been started successfully.
2009-10-22 02:06:12
Waiting for end of the backup operation.
2009-10-22 02:06:12 The backup tool is running.
2009-10-22 02:06:12 The database is working on the request.
2009-10-22 02:06:14 The backup tool process has finished work with return co
de 2.
2009-10-22 02:06:17 The database is working on the request.
2009-10-22 02:06:27 The database is working on the request.
2009-10-22 02:06:42 The database is working on the request.
2009-10-22 02:07:02 The database is working on the request.
2009-10-22 02:07:15 Canceling Utility-task after a timeout of 60 seconds ela
psed ... OK.
2009-10-22 02:07:17 The database has finished work on the request.
Receiving a reply from the database kernel.
Got the following reply from db-kernel:
SQL-Code :-903
The backup operation has ended.
2009-10-22 02:07:17
Filling reply buffer.
Have encountered error -24920:
The backup tool failed with 2 as sum of exit codes. The database request
was canceled and ended with error -903.
Constructed the following reply:
ERR
-24920,ERR_BACKUPOP: backup operation was unsuccessful
The backup tool failed with 2 as sum of exit codes. The database request
was canceled and ended with error -903.
Reply buffer filled.
2009-10-22 02:07:17
Cleaning up.
Removing data transfer pipes.
Removing data transfer pipe /sapdb/CFC/lcbackup/pipe2 ... Done.
Removing data transfer pipe /sapdb/CFC/lcbackup/pipe1 ... Done.
Removed data transfer pipes successfully.
Copying output of Backint for MaxDB to this file.
Begin of output of Backint for MaxDB (/tmp/backint4sapdbCFC.out)-
Data Protection for mySAP(R)
Interface between BR*Tools and Tivoli Storage Manager
- Version 5, Release 4, Modification 0.0 for Linux x86_64
Build: 303 compiled on Nov 16 2006
(c) Copyright IBM Corporation, 1996, 2006, All Rights Reserved.
BKI0008E: The environment variable BI_CALLER is not set correctely. The
current value is "DBMSRV"
usage:
backint -p <par_file> [-u <user_id>] [-f <function>]
[-t <type>] [-i <in_file>] [-o <out_file>] [-c]
where:
<user_id> backint utility user
<function> backup | restore | inquire | password | delete
<type> file | file_online
<par_file> parameter file for backup utility
<in_file> name of a text file that defines the objects
default: STDIN
<out_file> Pool for processing messages and the results
of the executed function.
default: STOUT
BKI0020I: End of program at: Thu 22 Oct 2009 02:06:14 AM EDT .
BKI0021I: Elapsed time: 01 sec .
BKI0024I: Return code is: 2.
End of output of Backint for MaxDB (/tmp/backint4sapdbCFC.out)---
Removed Backint for MaxDB's temporary output file '/tmp/backint4sapdbCFC.out
Copying error output of Backint for MaxDB to this file.
Begin of error output of Backint for MaxDB (/tmp/backint4sapdbCFC
.err)----
End of error output of Backint for MaxDB (/tmp/backint4sapdbCFC.e
rr)----
Removed Backint for MaxDB's temporary error output file '/tmp/backint4sapdbC
FC.err'.
Removed the Backint for MaxDB input file '/tmp/backint4sapdbCFC.in'.
Have finished clean up successfully.Also, is there any specification about the user permissions and about how the backup should be run?
-
HTML Content not displayed correctly in UWL
Hi all,
I have setup UWL to connect to SRM 5.0 system. I have no problem retrieving alerts from the backend. However, alerts with HTML content are not displayed correctly in the UWL. Instead of parsing the HTML content, the html tags are displayed instead.
Am I missing some configurations here?
Thanks in advance.Hi Benny;
Please see:
My Oracle Support FAQ [ID 747242.5] << What are the browser requirements for accessing My Oracle Support?
If you have still problem you can go wiht SR
Regard
Helios -
Bc4j not behaving correctly when details are repeatedly added/removed
Hi,
I'm having problems creating a form with a master detail relationship. Seems like bc4j is not behaving correctly when details with the same keys are repeatedly added and removed.
I've 3 entities maintenance order, maintenance and maintenance type with the relationships maintenance order 1:n maintenance n:1 maintenance type. My application module data model has one view for each of these entities and a view link between maintenance order and maintenance.
In the maintenance order form, I can choose which maintenance types apply to a maintenance order by marking checkboxes. The struts action that saves the maintenance order, I remove/add maintenance records base on the selected/unselected checkboxes.
Sequence of events:
1) Open maintenance order - Maintenance order shown with all maintenances selected
2) Uncheck all maintenances and save order - all maintenances removed from db
3) Open maintenance order - Maintenance order shown with no maintenances selected as expected
4) Check all maintenances and save order - all maintenances saved to db
5) Open maintenance order - Maintenance order shown with all maintenances selected as expected
6) Uncheck all maintenances and save order - NO maintenances removed from db
7) Open maintenance order - Maintenance order shown with NO maintenances selected, even thought there are maintenances in the db
8) Check all maintenances and save order - bc4j tried to insert new maintenance records in the db and an exception was raised due to unique constraint violation
My environment is: Sun JDK 1.4.1_01, JDeveloper 9.0.3.4 (build 1247), testing with the embedded server
Server log produced with jbo.debugoutput=console:
[17] BC4J Property jbo.default.language='pt' -->(MetaObjectManager) from System Default
[18] BC4J Property jbo.default.country='BR' -->(MetaObjectManager) from System Default
[19] BC4J Property DeployPlatform='LOCAL' -->(SessionImpl) from Client Environment
[20] Skipping empty Property ConnectionMode from System Default
[21] Skipping empty Property HostName from System Default
[22] Skipping empty Property ConnectionPort from System Default
[23] BC4J Property jbo.locking.mode='pessimistic' -->(MetaObjectManager) from System Default
[24] Skipping empty Property ApplicationPath from System Default
[25] BC4J Property AppModuleJndiName='br.com.cvrd.logistica.kitbordo.sinalizacao.model.service.CadastroDeManutencaoModule' -->(SessionImpl) from Client Environment
[26] Skipping empty Property java.naming.security.principal from System Default
[27] Skipping empty Property java.naming.security.credentials from System Default
[28] Skipping empty Property jbo.user.principal from System Default
[29] Skipping empty Property jbo.object.marshaller from System Default
[30] BC4J Property jbo.use.pers.coll='false' -->(SessionImpl) from System Default
[31] BC4J Property jbo.pers.max.rows.per.node='70' -->(SessionImpl) from System Default
[32] BC4J Property jbo.pers.max.active.nodes='30' -->(SessionImpl) from System Default
[33] Skipping empty Property jbo.pcoll.mgr from System Default
[34] BC4J Property jbo.txn_table_name='PS_TXN' -->(SessionImpl) from System Default
[35] BC4J Property jbo.txn_seq_name='PS_TXN_seq' -->(SessionImpl) from System Default
[36] BC4J Property jbo.control_table_name='PCOLL_CONTROL' -->(MetaObjectManager) from System Default
[37] BC4J Property jbo.stringmanager.factory.class='use_default' -->(SessionImpl) from System Default
[38] BC4J Property jbo.fetch.mode='AS.NEEDED' -->(MetaObjectManager) from System Default
[39] BC4J Property jbo.323.compatible='false' -->(MetaObjectManager) from System Default
[40] Skipping empty Property JBODynamicObjectsPackage from System Default
[41] BC4J Property MetaObjectContextFactory='oracle.jbo.mom.xml.DefaultMomContextFactory' -->(MetaObjectManager) from System Default
[42] BC4J Property jbo.load.components.lazily='false' -->(MetaObjectManager) from System Default
[43] BC4J Property MetaObjectContext='oracle.jbo.mom.xml.XMLContextImpl' -->(MetaObjectManager) from System Default
[44] BC4J Property java.naming.factory.initial='oracle.jbo.common.JboInitialContextFactory' -->(SessionImpl) from Client Environment
[45] BC4J Property IsLazyLoadingTrue='true' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
[46] BC4J Property ActivateSharedDataHandle='false' -->(MetaObjectManager) from System Default
[47] Skipping empty Property HandleName from System Default
[48] Skipping empty Property Factory-Substitution-List from System Default
[49] BC4J Property jbo.project='Sinalizacao' -->(Configuration) from Client Environment
[50] BC4J Property jbo.max.cursors='50' -->(MetaObjectManager) from System Default
[51] BC4J Property jbo.dofailover='true' -->(Configuration) from System Default
[52] BC4J Property jbo.doconnectionpooling='false' -->(Configuration) from System Default
[53] BC4J Property jbo.recyclethreshold='10' -->(Configuration) from System Default
[54] BC4J Property jbo.ampool.dynamicjdbccredentials='true' -->(Configuration) from System Default
[55] BC4J Property jbo.ampool.resetnontransactionalstate='true' -->(SessionImpl) from System Default
[56] BC4J Property jbo.ampool.sessioncookiefactoryclass='oracle.jbo.http.HttpSessionCookieFactory' -->(Configuration) from Client Environment
[57] BC4J Property jbo.ampool.connectionstrategyclass='oracle.jbo.common.ampool.DefaultConnectionStrategy' -->(Configuration) from System Default
[58] BC4J Property jbo.ampool.maxpoolsize='2147483647' -->(Configuration) from System Default
[59] BC4J Property jbo.ampool.initpoolsize='0' -->(Configuration) from System Default
[60] BC4J Property jbo.ampool.monitorsleepinterval='600000' -->(Configuration) from System Default
[61] BC4J Property jbo.ampool.minavailablesize='5' -->(Configuration) from System Default
[62] BC4J Property jbo.ampool.maxavailablesize='25' -->(Configuration) from System Default
[63] BC4J Property jbo.ampool.maxinactiveage='600000' -->(Configuration) from System Default
[64] BC4J Property jbo.ampool.doampooling='true' -->(Configuration) from System Default
[65] BC4J Property jbo.passivationstore='null' -->(MetaObjectManager) from System Default
[66] BC4J Property jbo.saveforlater='false' -->(SessionImpl) from System Default
[67] BC4J Property jbo.snapshotstore.undo='persistent' -->(SessionImpl) from System Default
[68] BC4J Property jbo.maxpassivationstacksize='10' -->(SessionImpl) from System Default
[69] BC4J Property jbo.txn.handleafterpostexc='false' -->(SessionImpl) from System Default
[70] BC4J Property jbo.maxpoolcookieage='-1' -->(Configuration) from System Default
[71] BC4J Property PoolClassName='oracle.jbo.common.ampool.ApplicationPoolImpl' -->(Configuration) from System Default
[72] BC4J Property jbo.maxpoolsize='2147483647' -->(Configuration) from System Default
[73] BC4J Property jbo.initpoolsize='0' -->(Configuration) from System Default
[74] BC4J Property jbo.poolrequesttimeout='30000' -->(Configuration) from System Default
[75] BC4J Property jbo.poolmonitorsleepinterval='600000' -->(Configuration) from System Default
[76] BC4J Property jbo.poolminavailablesize='5' -->(Configuration) from System Default
[77] BC4J Property jbo.poolmaxavailablesize='25' -->(Configuration) from System Default
[78] BC4J Property jbo.poolmaxinactiveage='600000' -->(Configuration) from System Default
[79] BC4J Property RELEASE_MODE='Stateful' -->(MetaObjectManager) from System Default
[80] BC4J Property jbo.assoc.consistent='true' -->(MetaObjectManager) from System Default
[81] BC4J Property jbo.viewlink.consistent='false' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
[82] BC4J Property jbo.passivation.TrackInsert='true' -->(MetaObjectManager) from System Default
[83] Skipping empty Property jbo.ViewCriteriaAdapter from System Default
[84] BC4J Property jbo.SQLBuilder='Oracle' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
[85] BC4J Property jbo.ConnectionPoolManager='oracle.jbo.server.ConnectionPoolManagerImpl' -->(MetaObjectManager) from System Default
[86] BC4J Property jbo.TypeMapEntries='Oracle' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
[87] Skipping empty Property jbo.sql92.JdbcDriverClass from System Default
[88] BC4J Property jbo.sql92.LockTrailer='FOR UPDATE' -->(MetaObjectManager) from System Default
[89] BC4J Property jbo.jdbc.trace='false' -->(MetaObjectManager) from System Default
[90] BC4J Property jbo.sql92.DbTimeQuery='select sysdate from dual' -->(MetaObjectManager) from System Default
[91] BC4J Property oracle.jbo.defineColumnLength='as_chars' -->(MetaObjectManager) from System Default
[92] Skipping empty Property jbo.tmpdir from System Default
[93] Skipping empty Property jbo.server.internal_connection from System Default
[94] Skipping empty Property SessionClass from System Default
[95] Skipping empty Property TransactionFactory from System Default
[96] BC4J Property jbo.debugoutput='console' -->(Diagnostic) from System Property
[97] BC4J Property jbo.debug.prefix='DBG: ' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
[98] BC4J Property jbo.logging.show.timing='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
[99] BC4J Property jbo.logging.show.function='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
[100] BC4J Property jbo.logging.show.level='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
[101] BC4J Property jbo.logging.show.linecount='true' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
[102] BC4J Property jbo.logging.trace.threshold='6' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
[103] BC4J Property jbo.jdbc.driver.verbose='false' -->(Diagnostic) from System Default
[104] Skipping empty Property oracle.home from System Default
[105] Skipping empty Property oc4j.name from System Default
[106] BC4J Property jbo.ejb.txntimeout='1830' -->(SessionImpl) from System Default
[107] BC4J Property jbo.ejb.txntype='global' -->(SessionImpl) from System Default
[108] BC4J Property jbo.ejb.txn.disconnect_on_completion='false' -->(SessionImpl) from System Default
[109] Skipping empty Property oracle.jbo.schema from System Default
[110] BC4J Property jbo.xml.validation='false' -->(MetaObjectManager) from System Default
[111] BC4J Property ord.RetrievePath='ordDeliverMedia' -->(MetaObjectManager) from System Default
[112] BC4J Property ord.HttpMaxMemory='102400' -->(MetaObjectManager) from System Default
[113] Skipping empty Property ord.HttpTempDir from System Default
[114] BC4J Property ord.wmp.classid='clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95' -->(MetaObjectManager) from System Default
[115] BC4J Property ord.qp.classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' -->(MetaObjectManager) from System Default
[116] BC4J Property ord.rp.classid='clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA' -->(MetaObjectManager) from System Default
[117] BC4J Property ord.wmp.codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' -->(MetaObjectManager) from System Default
[118] BC4J Property ord.qp.codebase='http://www.apple.com/qtactivex/qtplugin.cab' -->(MetaObjectManager) from System Default
[119] Skipping empty Property ord.rp.codebase from System Default
[120] BC4J Property ord.wmp.plugins.page='http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&' -->(MetaObjectManager) from System Default
[121] BC4J Property ord.qp.plugins.page='http://www.apple.com/quicktime/download/' -->(MetaObjectManager) from System Default
[122] BC4J Property ord.rp.plugins.page='http://www.real.com/player/' -->(MetaObjectManager) from System Default
[123] BC4J Property jbo.security.enforce='None' -->(SessionImpl) from System Default
[124] BC4J Property jbo.security.loginmodule='oracle.security.jazn.tools.Admintool' -->(SessionImpl) from System Default
[125] BC4J Property jbo.server.useNullDbTransaction='false' -->(SessionImpl) from System Default
[126] Copying unknown Client property (DBconnection='jdbc:oracle:thin:@cdsvandromeda:1521:dctm') to session
[127] Copying unknown Client property (password='kitbordo') to session
[128] Copying unknown Client property (JDBCName='Kitbordo') to session
[129] Copying unknown Client property (jbo.jndi.use_default_context='true') to session
[130] Copying unknown Client property (user='kitbordo') to session
[131] Copying unknown Client property (jbo.applicationmoduleclassname='br.com.cvrd.logistica.kitbordo.sinalizacao.model.service.CadastroDeManutencaoModule') to session
[132] Copying unknown Client property (ApplicationName='br.com.cvrd.logistica.kitbordo.sinalizacao.model.service.CadastroDeManutencaoModule') to session
[133] WARNING: Unused property: LC='Calling Function' found in /oracle/jbo/common/Diagnostic.properties resource
[134] }} finished loading BC4J properties
[135] -----------------------------------------------------------
Diagnostics: (Properties (re)loaded) Routing diagnostics to standard output (use -Djbo.debugoutput=silent to remove)
[136] Diagnostic Properties: Timing:false Functions:false Linecount:true Threshold:6
[137] JavaVMVersion: 1.4.1_01-b01
[138] JavaVMVendor: Sun Microsystems Inc.
[139] JavaVMName: Java HotSpot(TM) Client VM
[140] OperatingSystemName: Windows 2000
[141] OperatingSystemVersion: 5.0
[142] OperatingSystemUsername: Lbueno
[143] Jbo323Compatible Flag: false, str: false
[144] Loading from Sinalizacao.jpx file
[145] Loading from indvidual XML files
[146] Loading the Containees for the Package 'Sinalizacao.Sinalizacao'.
[147] Connected to Oracle JBO Server - Version: 9.0.3.11.88
[148] BC4J: Instrumentation disabled
[149] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/service/service.xml file
[150] Loading from indvidual XML files
[151] Loading the Containees for the Package 'br.com.cvrd.logistica.kitbordo.sinalizacao.model.service.service'.
[152] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/service/CadastroDeManutencaoModule.xml file
[153] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/view/view.xml file
[154] Loading from indvidual XML files
[155] Loading the Containees for the Package 'br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.view'.
[156] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/view/TipoManutencaoBoiaView.xml file
[157] ViewObjectImpl's default fetch mode = 0
[158] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/entity/entity.xml file
[159] Loading from indvidual XML files
[160] Loading the Containees for the Package 'br.com.cvrd.logistica.kitbordo.sinalizacao.model.entity.entity'.
[161] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/entity/TipoManutencaoBoiaEntity.xml file
[162] Loading Typemap entries from oracle.jbo.common.OracleTypeMapEntries
[163] Stringmanager using default locale: 'pt_BR'
[164] CSMessageBundle (language base) being initialized
[165] OracleSQLBuilder reached getInterface
[166] Oracle SQL Builder Version 3.2.0.0.0
[167] ViewRowSetImpl's jbo.viewlink.consistent = false (0)
[168] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/view/BoiasPorCanalView.xml file
[169] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/entity/BoiaEntity.xml file
[170] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/view/HistoricoManutencaoBoiaView.xml file
[171] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/entity/HistoricoManutencaoBoiaEntity.xml file
[172] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/view/ManutencaoBoiaView.xml file
[173] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/entity/ManutencaoBoiaEntity.xml file
[174] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/view/ManutencaoBoiaViewLink.xml file
[175] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/entity/ManutencaoBoiaAssociation.xml file
[176] Using DatabaseTransactionFactory implementation oracle.jbo.server.DatabaseTransactionFactory
[177] mUsePersColl is false
[178] ViewObjectImpl.mDefaultMaxRowsPerNode is 70
[179] ViewObjectImpl.mDefaultMaxActiveNodes is 30
[180] DBTransactionImpl Max Cursors is 50
[181] Created root application module: 'br.com.cvrd.logistica.kitbordo.sinalizacao.model.service.CadastroDeManutencaoModule'
[182] Locale is: 'pt_BR'
[183] DefaultConnectionStrategy is establishing an application module connection
[184] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
[185] Creating a new pool resource
[186] Trying connection/2: url='jdbc:oracle:thin:@cdsvandromeda:1521:dctm' info='{user=kitbordo, password=kitbordo}' ...
[187] Successfully logged in
[188] JDBCDriverVersion: 9.0.1.4.0
[189] DatabaseProductName: Oracle
[190] DatabaseProductVersion: Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production With the Partitioning, OLAP and Oracle Data Mining options JServer Release 9.2.0.1.0 - Production
[191] **PCollManager.resolveName** tabName=PS_TXN
[192] **retrieve** id=-1, collid=6838, keyonly=falseGetting a connection for internal use...
[193] Creating internal connection...
[194] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
[195] Creating a new pool resource
[196] Trying connection/2: url='jdbc:oracle:thin:@cdsvandromeda:1521:dctm' info='{user=kitbordo, password=kitbordo, dll=ocijdbc9, protocol=thin}' ...
[197] , parid=0, ret=oracle.jdbc.driver.OracleBlobInputStream
[198] stmt: select parentId, content from "PS_TXN" where id=:1 and collid=:2
[199] **retrieve** id=1, collid=6838, keyonly=false, parid=-1, ret=oracle.jdbc.driver.OracleBlobInputStream
[200] stmt: select parentId, content from "PS_TXN" where id=:1 and collid=:2
[201] Clearing VO cache for TipoManutencaoBoiaView
[202] Clear QueryCollection in cache...
[203] Clearing VO cache for BoiasPorCanalView
[204] Clear QueryCollection in cache...
[205] Clearing VO cache for HistoricoManutencaoBoiaView
[206] Clear QueryCollection in cache...
[207] Getting a connection for internal use...
[208] Creating internal connection...
[209] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
[210] Clearing VO cache for BoiasPorCanalView
[211] Clear QueryCollection in cache...
07/09/2004 12:07:51 org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.actions.LocalStrings', returnNull=true
[212] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/view/HistoricoManutencaoViewLink.xml file
[213] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/entity/HistoricoDeManutencaoDeBoiaAssociation.xml file
[214] Column count: 23
[215] ViewObject : Created new QUERY statement
[216] SELECT Boia.H55SCANA, Boia.H55CODBO, Boia.H55LATGR, Boia.H55LATMI, Boia.H55LATSE, Boia.H55INDLA, Boia.H55VALEX, Boia.H55LONGR, Boia.H55LONMI, Boia.H55LONSE, Boia.H55INDLO, Boia.H55VALEY, Boia.H55CORLP, Boia.H55REMOV, Boia.H55NRORD, Boia.H55PROJE, Boia.H55PINTU, Boia.H55CARAC, Boia.H55EQLUM, Boia.H55FOLUM, Boia.H55EQFUN, Boia.H55EQMON FROM H55BOIAT Boia WHERE Boia.H55SCANA = :1
[217] Binding param 1: 21
[218] Clearing VO cache for TipoManutencaoBoiaView
[219] Clear QueryCollection in cache...
[220] Column count: 2
[221] ViewObject : Created new QUERY statement
[222] SELECT TipoManutencaoBoiaEntity.H5PSTPMB, TipoManutencaoBoiaEntity.H5PNOMAN FROM H5PTPMBT TipoManutencaoBoiaEntity ORDER BY TipoManutencaoBoiaEntity.H5PNOMAN ASC
07/09/2004 12:07:52 org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.bean.LocalStrings', returnNull=true
07/09/2004 12:07:52 org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
07/09/2004 12:07:52 org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
07/09/2004 12:07:52 org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
07/09/2004 12:07:52 org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
[223] Application Module failover is enabled
[224] Getting a connection for internal use...
[225] Creating internal connection...
[226] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
[227] <AM MomVer="0">
<cd/>
<TXN Def="0" New="0" Lok="1"/>
<VO>
<VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.TipoManutencaoBoiaView" Name="TipoManutencaoBoiaView"/>
<VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.BoiasPorCanalView" Name="BoiasPorCanalView">
<args ct="1">
<arg>
<![CDATA[21]]>
</arg>
</args>
</VO>
<VO It="1" Sz="10" St="0" im="1" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.HistoricoManutencaoBoiaView" Name="HistoricoManutencaoBoiaView">
<args ct="2">
<arg>
<![CDATA[XPPP ]]>
</arg>
<arg>
07/09/2004 12:07:52 org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.logic.LocalStrings', returnNull=true
<![CDATA[21]]>
</arg>
</args>
</VO>
</VO>
</AM>
[228] **insert** id=1, parid=-1, collid=6844, keyArr.len=-1, cont.len=1043
[229] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
[230] **commit** #pending ops=1
[231] **insert** id=-1, parid=0, collid=6844, keyArr.len=-1, cont.len=665
[232] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
[233] **commit** #pending ops=1
[234] Getting a connection for internal use...
[235] Creating internal connection...
[236] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
[237] **deleteAll** collid=6838
[238] stmt: delete "PS_TXN" where collid=:1
[239] **commit** #pending ops=1
[240] Reusing a cached session application module instance
[241] Getting a connection for internal use...
[242] Creating internal connection...
[243] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
[244] Column count: 5
[245] ViewObject : Created new QUERY statement
[246] SELECT HistoricoManutencaoBoia.H56CODBO, HistoricoManutencaoBoia.H56DTMAN, HistoricoManutencaoBoia.H56DESCR, HistoricoManutencaoBoia.H56SCANA FROM H56HIMAT HistoricoManutencaoBoia WHERE HistoricoManutencaoBoia.H56CODBO = ? and HistoricoManutencaoBoia.H56SCANA = ?
[247] Binding param 1: XPPP
[248] Binding param 2: 21
[249] Clearing VO cache for HistoricoManutencaoBoiaView
[250] Clear QueryCollection in cache...
[251] Column count: 5
[252] ViewObject : Reusing defined prepared Statement
[253] Binding param 1: XPPP
[254] Binding param 2: 21
[255] Application Module failover is enabled
[256] Getting a connection for internal use...
[257] Creating internal connection...
[258] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
[259] <AM MomVer="0">
<cd/>
<TXN Def="0" New="0" Lok="1"/>
<VO>
<VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.TipoManutencaoBoiaView" Name="TipoManutencaoBoiaView"/>
<VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.BoiasPorCanalView" Name="BoiasPorCanalView">
<args ct="1">
<arg>
<![CDATA[21]]>
</arg>
</args>
</VO>
<VO It="1" Sz="10" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.HistoricoManutencaoBoiaView" Name="HistoricoManutencaoBoiaView">
<args ct="2">
<arg>
<![CDATA[XPPP ]]>
</arg>
<arg>
<![CDATA[21]]>
</arg>
</args>
</VO>
</VO>
</AM>
[260] **insert** id=1, parid=-1, collid=6847, keyArr.len=-1, cont.len=1036
[261] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
[262] **commit** #pending ops=1
[263] **insert** id=-1, parid=0, collid=6847, keyArr.len=-1, cont.len=665
[264] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
[265] **commit** #pending ops=1
[266] Getting a connection for internal use...
[267] Creating internal connection...
[268] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
[269] **deleteAll** collid=6844
[270] stmt: delete "PS_TXN" where collid=:1
[271] **commit** #pending ops=1
[272] Reusing a cached session application module instance
[273] Getting a connection for internal use...
[274] Creating internal connection...
[275] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
[276] Column count: 6
[277] ViewObject close prepared statements...
[278] ViewObject : Created new QUERY statement
[279] SELECT ManutencaoBoiaEntity.H6ASCANA, ManutencaoBoiaEntity.H6ACODBO, ManutencaoBoiaEntity.H6ADTMAN, ManutencaoBoiaEntity.H6ASTPMB, TipoManutencaoBoiaEntity.H5PSTPMB AS CODIGO_TIPO_MANUTENCAO_BOIA1, TipoManutencaoBoiaEntity.H5PNOMAN FROM H6AMABOT ManutencaoBoiaEntity, H5PTPMBT TipoManutencaoBoiaEntity WHERE (ManutencaoBoiaEntity.H6ASCANA = :1 AND ManutencaoBoiaEntity.H6ACODBO = :2 AND ManutencaoBoiaEntity.H6ADTMAN = :3)
[280] Binding param 1: 21
[281] Binding param 2: XPPP
[282] Binding param 3: 2004-06-02
07/09/2004 12:08:19 org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
[283] Application Module failover is enabled
[284] Getting a connection for internal use...
[285] Creating internal connection...
[286] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
[287] <AM MomVer="0">
<cd/>
<TXN Def="0" New="0" Lok="1"/>
<VO>
<VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.TipoManutencaoBoiaView" Name="TipoManutencaoBoiaView"/>
<VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.BoiasPorCanalView" Name="BoiasPorCanalView">
<args ct="1">
<arg>
<![CDATA[21]]>
</arg>
</args>
</VO>
<VO It="1" Sz="10" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.HistoricoManutencaoBoiaView" Name="HistoricoManutencaoBoiaView">
<args ct="2">
<arg>
<![CDATA[XPPP ]]>
</arg>
<arg>
<![CDAT07/09/2004 12:08:19 org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
07/09/2004 12:08:20 org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
A[21]]>
</arg>
</args>
</VO>
</VO>
</AM>
[288] **insert** id=1, parid=-1, collid=6849, keyArr.len=-1, cont.len=1036
[289] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
[290] **commit** #pending ops=1
[291] **insert** id=-1, parid=0, collid=6849, keyArr.len=-1, cont.len=665
[292] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
[293] **commit** #pending ops=1
[294] Getting a connection for internal use...
[295] Creating internal connection...
[296] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
[297] **deleteAll** collid=6847
[298] stmt: delete "PS_TXN" where collid=:1
[299] **commit** #pending ops=1
[300] Reusing a cached session application module instance
[301] Getting a connection for internal use...
[302] Creating internal connection...
[303] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
[304] OracleSQLBuilder Executing Select on: H56HIMAT (true)
[305] Built select: 'SELECT H56CODBO, H56DTMAN, H56DESCR, H56SCANA FROM H56HIMAT HistoricoManutencaoBoiaEntity'
[306] Executing LOCK...SELECT H56CODBO, H56DTMAN, H56DESCR, H56SCANA FROM H56HIMAT HistoricoManutencaoBoiaEntity WHERE H56CODBO=:1 AND H56DTMAN=:2 AND H56SCANA=:3 FOR UPDATE NOWAIT
[307] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/entity/RelatoriosSetorSinalizacaoNauticaBoiaAssociation.xml file
[308] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/entity/RelatorioSetorSinalizacaoNauticaEntity.xml file
[309] OracleSQLBuilder Executing Select on: H55BOIAT (true)
[310] Built select: 'SELECT H55SCANA, H55CODBO, H55LATGR, H55LATMI, H55LATSE, H55INDLA, H55VALEX, H55LONGR, H55LONMI, H55LONSE, H55INDLO, H55VALEY, H55CORLP, H55REMOV, H55NRORD, H55PROJE, H55PINTU, H55CARAC, H55EQLUM, H55FOLUM, H55EQFUN, H55EQMON FROM H55BOIAT BoiaEntity'
[311] Executing LOCK...SELECT H55SCANA, H55CODBO, H55LATGR, H55LATMI, H55LATSE, H55INDLA, H55VALEX, H55LONGR, H55LONMI, H55LONSE, H55INDLO, H55VALEY, H55CORLP, H55REMOV, H55NRORD, H55PROJE, H55PINTU, H55CARAC, H55EQLUM, H55FOLUM, H55EQFUN, H55EQMON FROM H55BOIAT BoiaEntity WHERE H55SCANA=:1 AND H55CODBO=:2 FOR UPDATE NOWAIT
[312] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/entity/TipoManutencaoBoiaAssociation.xml file
[313] OracleSQLBuilder Executing Select on: H6AMABOT (true)
[314] Built select: 'SELECT H6ASCANA, H6ACODBO, H6ADTMAN, H6ASTPMB FROM H6AMABOT ManutencaoBoiaEntity'
[315] Executing LOCK...SELECT H6ASCANA, H6ACODBO, H6ADTMAN, H6ASTPMB FROM H6AMABOT ManutencaoBoiaEntity WHERE H6ASCANA=:1 AND H6ACODBO=:2 AND H6ADTMAN=:3 AND H6ASTPMB=:4 FOR UPDATE NOWAIT
[316] QueryCollection: afterRemove(0)
[317] ViewRowCache: removeReference
[318] ViewRowCache: removeReference
[319] QueryCollection: afterRemove(5)
[320] ViewRowCache: removeReference
[321] ViewRowCache: removeReference
[322] QueryCollection: afterRemove(10)
[323] ViewRowCache: removeReference
[324] ViewRowCache: removeReference
[325] QueryCollection: afterRemove(15)
[326] ViewRowCache: removeReference
[327] ViewRowCache: removeReference
[328] QueryCollection: afterRemove(20)
[329] ViewRowCache: removeReference
[330] ViewRowCache: removeReference
[331] QueryCollection: afterRemove(25)
[332] ViewRowCache: removeReference
[333] ViewRowCache: removeReference
[334] OracleSQLBuilder Executing Select on: H6AMABOT (true)
[335] Reusing prepared LOCK statement
[336] QueryCollection: afterRemove(0)
[337] ViewRowCache: removeReference
[338] ViewRowCache: removeReference
[339] QueryCollection: afterRemove(4)
[340] ViewRowCache: removeReference
[341] ViewRowCache: removeReference
[342] QueryCollection: afterRemove(8)
[343] ViewRowCache: removeReference
[344] ViewRowCache: removeReference
[345] QueryCollection: afterRemove(12)
[346] ViewRowCache: removeReference
[347] ViewRowCache: removeReference
[348] QueryCollection: afterRemove(16)
[349] ViewRowCache: removeReference
[350] ViewRowCache: removeReference
[351] QueryCollection: afterRemove(20)
[352] ViewRowCache: removeReference
[353] ViewRowCache: removeReference
[354] OracleSQLBuilder Executing Select on: H6AMABOT (true)
[355] Reusing prepared LOCK statement
[356] QueryCollection: afterRemove(0)
[357] ViewRowCache: removeReference
[358] ViewRowCache: removeReference
[359] QueryCollection: afterRemove(3)
[360] ViewRowCache: removeReference
[361] ViewRowCache: removeReference
[362] QueryCollection: afterRemove(6)
[363] ViewRowCache: removeReference
[364] ViewRowCache: removeReference
[365] QueryCollection: afterRemove(9)
[366] ViewRowCache: removeReference
[367] ViewRowCache: removeReference
[368] QueryCollection: afterRemove(12)
[369] ViewRowCache: removeReference
[370] ViewRowCache: removeReference
[371] QueryCollection: afterRemove(15)
[372] ViewRowCache: removeReference
[373] ViewRowCache: removeReference
[374] OracleSQLBuilder Executing Select on: H6AMABOT (true)
[375] Reusing prepared LOCK statement
[376] QueryCollection: afterRemove(0)
[377] ViewRowCache: removeReference
[378] ViewRowCache: removeReference
[379] QueryCollection: afterRemove(2)
[380] ViewRowCache: removeReference
[381] ViewRowCache: removeReference
[382] QueryCollection: afterRemove(4)
[383] ViewRowCache: removeReference
[384] ViewRowCache: removeReference
[385] QueryCollection: afterRemove(6)
[386] ViewRowCache: removeReference
[387] ViewRowCache: removeReference
[388] QueryCollection: afterRemove(8)
[389] ViewRowCache: removeReference
[390] ViewRowCache: removeReference
[391] QueryCollection: afterRemove(10)
[392] ViewRowCache: removeReference
[393] ViewRowCache: removeReference
[394] OracleSQLBuilder Executing Select on: H6AMABOT (true)
[395] Reusing prepared LOCK statement
[396] QueryCollection: afterRemove(0)
[397] ViewRowCache: removeReference
[398] ViewRowCache: removeReference
[399] QueryCollection: afterRemove(1)
[400] ViewRowCache: removeReference
[401] ViewRowCache: removeReference
[402] QueryCollection: afterRemove(2)
[403] ViewRowCache: removeReference
[404] ViewRowCache: removeReference
[405] QueryCollection: afterRemove(3)
[406] ViewRowCache: removeReference
[407] ViewRowCache: removeReference
[408] QueryCollection: afterRemove(4)
[409] ViewRowCache: removeReference
[410] ViewRowCache: removeReference
[411] QueryCollection: afterRemove(5)
[412] ViewRowCache: removeReference
[413] ViewRowCache: removeReference
[414] OracleSQLBuilder Executing Select on: H6AMABOT (true)
[415] Reusing prepared LOCK statement
[416] QueryCollection: afterRemove(0)
[417] ViewRowCache: removeReference
[418] ViewRowCache: removeReference
[419] QueryCollection: afterRemove(0)
[420] ViewRowCache: removeReference
[421] ViewRowCache: removeReference
[422] QueryCollection: afterRemove(0)
[423] ViewRowCache: removeReference
[424] ViewRowCache: removeReference
[425] QueryCollection: afterRemove(0)
[426] ViewRowCache: removeReference
[427] ViewRowCache: removeReference
[428] QueryCollection: afterRemove(0)
[429] ViewRowCache: removeReference
[430] ViewRowCache: removeReference
[431] QueryCollection: afterRemove(0)
[432] ViewRowCache: removeReference
[433] ViewRowCache: removeReference
[434] OracleSQLBuilder Executing DML on: H56HIMAT (Atualizar)
[435] BEGIN UPDATE H56HIMAT HistoricoManutencaoBoiaEntity SET H56CODBO=:1,H56DTMAN=:2,H56DESCR=:3 WHERE H56CODBO=:4 AND H56DTMAN=:5 AND H56SCANA=:6 RETURNING H56CODBO INTO :7; END;
[436] OracleSQLBuilder Executing DML on: H6AMABOT (Deletar)
[437] DELETE FROM H6AMABOT ManutencaoBoiaEntity WHERE H6ASCANA=:1 AND H6ACODBO=:2 AND H6ADTMAN=:3 AND H6ASTPMB=:4
[438] OracleSQLBuilder Executing DML on: H6AMABOT (Deletar)
[439] DELETE FROM H6AMABOT ManutencaoBoiaEntity WHERE H6ASCANA=:1 AND H6ACODBO=:2 AND H6ADTMAN=:3 AND H6ASTPMB=:4
[440] OracleSQLBuilder Executing DML on: H6AMABOT (Deletar)
[441] DELETE FROM H6AMABOT ManutencaoBoiaEntity WHERE H6ASCANA=:1 AND H6ACODBO=:2 AND H6ADTMAN=:3 AND H6ASTPMB=:4
[442] OracleSQLBuilder Executing DML on: H6AMABOT (Deletar)
[443] DELETE FROM H6AMABOT ManutencaoBoiaEntity WHERE H6ASCANA=:1 AND H6ACODBO=:2 AND H6ADTMAN=:3 AND H6ASTPMB=:4
[444] OracleSQLBuilder Executing DML on: H6AMABOT (Deletar)
[445] DELETE FROM H6AMABOT ManutencaoBoiaEntity WHERE H6ASCANA=:1 AND H6ACODBO=:2 AND H6ADTMAN=:3 AND H6ASTPMB=:4
[446] OracleSQLBuilder Executing DML on: H6AMABOT (Deletar)
[447] DELETE FROM H6AMABOT ManutencaoBoiaEntity WHERE H6ASCANA=:1 AND H6ACODBO=:2 AND H6ADTMAN=:3 AND H6ASTPMB=:4
[448] BaseSQLBuilder: releaseSavepoint 'BO_SP' ignored
[449] BaseSQLBuilder: releaseSavepoint 'BO_SP' ignored
[450] TipoManutencaoBoiaView notify COMMIT ...
[451] BoiasPorCanalView notify COMMIT ...
[452] HistoricoManutencaoBoiaView notify COMMIT ...
[453] ManutencaoBoiaEntity_ManutencaoBoiaAssociation_ManutencaoBoiaView notify COMMIT ...
[454] EntityCache close prepared statement
[455] EntityCache close prepared statement
[456] EntityCache close prepared statement
[457] Clearing VO cache for BoiasPorCanalView
[458] Clear QueryCollection in cache...
[459] Column count: 23
[460] ViewObject : Reusing defined prepared Statement
[461] Binding param 1: 21
[462] Clearing VO cache for TipoManutencaoBoiaView
[463] Clear QueryCollection in cache...
[464] Column count: 2
[465] ViewObject : Reusing defined prepared Statement
[466] Application Module failover is enabled
[467] Getting a connection for internal use...
[468] Creating internal connection...
[469] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
[470] <AM MomVer="0">
<cd/>
<TXN Def="0" New="0" Lok="1"/>
<VO>
<VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.TipoManutencaoBoiaView" Name="TipoManutencaoBoiaView"/>
<VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.BoiasPorCanalView" Name="BoiasPorCanalView">
<args ct="1">
<arg>
<![CDATA[21]]>
</arg>
</args>
</VO>
<VO It="1" Sz="10" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.HistoricoManutencaoBoiaView" Name="HistoricoManutencaoBoiaView">
<args ct="2">
<arg>
<![CDATA[XPPP ]]>
</arg>
<arg>
<![CDATA[21]]>
</arg>
</args>
</VO>
</VO>
</AM>
[471] **insert** id=1, parid=-1, collid=6850, keyArr.len=-1, cont.len=1036
[472] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
[473] **commit** #pending ops=1
[474] **insert** id=-1, parid=0, collid=6850, keyArr.len=-1, cont.len=665
[475] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
[476] **commit** #pending ops=1
[477] Getting a connection for internal use...
[478] Creating internal connection...
[479] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
[480] **deleteAll** collid=6849
[481] stmt: delete "PS_TXN" where collid=:1
[482] **commit** #pending ops=1
[483] Reusing a cached session application module instance
[484] Getting a connection for internal use...
[485] Creating internal connection...
[486] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
[487] Application Module failover is enabled
[488] Getting a connection for internal use...
[489] Creating internal connection...
[490] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
[491] <AM MomVer="0">
<cd/>
<TXN Def="0" New="0" Lok="1"/>
<VO>
<VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.TipoManutencaoBoiaView" Name="TipoManutencaoBoiaView"/>
<VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.BoiasPorCanalView" Name="BoiasPorCanalView">
<args ct="1">
<arg>
<![CDATA[21]]>
</arg>
</args>
</VO>
<VO It="1" Sz="10" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.HistoricoManutencaoBoiaView" Name="HistoricoManutencaoBoiaView">
<args ct="2">
<arg>
<![CDATA[XPPP ]]>
</arg>
<arg>
<![CDATA[21]]>
</arg>
</args>
</VO>
</VO>
</AM>
[492] **insert** id=1, parid=-1, collid=6851, keyArr.len=-1, cont.len=1036
[493] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
[494] **commit** #pending ops=1
[495] **insert** id=-1, parid=0, collid=6851, keyArr.len=-1, cont.len=665
[496] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
[497] **commit** #pending ops=1
[498] Getting a connection for internal use...
[499] Creating internal connection...
[500] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
[501] **deleteAll** collid=6850
[502] stmt: delete "PS_TXN" where collid=:1
[503] **commit** #pending ops=1
[504] Reusing a cached session application module instance
[505] Getting a connection for internal use...
[506] Creating internal connection...
[507] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
[508] OracleSQLBuilder Executing Select on: H56HIMAT (true)
[509] Built select: 'SELECT H56CODBO, H56DTMAN, H56DESCR, H56SCANA FROM H56HIMAT HistoricoManutencaoBoiaEntity'
[510] Executing LOCK...SELECT H56CODBO, H56DTMAN, H56DESCR, H56SCANA FROM H56HIMAT HistoricoManutencaoBoiaEntity WHERE H56CODBO=:1 AND H56DTMAN=:2 AND H56SCANA=:3 FOR UPDATE NOWAIT
[511] OracleSQLBuilder Executing Select on: H55BOIAT (true)
[512] Built select: 'SELECT H55SCANA, H55CODBO, H55LATGR, H55LATMI, H55LATSE, H55INDLA, H55VALEX, H55LONGR, H55LONMI, H55LONSE, H55INDLO, H55VALEY, H55CORLP, H55REMOV, H55NRORD, H55PROJE, H55PINTU, H55CARAC, H55EQLUM, H55FOLUM, H55EQFUN, H55EQMON FROM H55BOIAT BoiaEntity'
[513] Executing LOCK...SELECT H55SCANA, H55CODBO, H55LATGR, H55LATMI, H55LATSE, H55INDLA, H55VALEX, H55LONGR, H55LONMI, H55LONSE, H55INDLO, H55VALEY, H55CORLP, H55REMOV, H55NRORD, H55PROJE, H55PINTU, H55CARAC, H55EQLUM, H55FOLUM, H55EQFUN, H55EQMON FROM H55BOIAT BoiaEntity WHERE H55SCANA=:1 AND H55CODBO=:2 FOR UPDATE NOWAIT
[514] OracleSQLBuilder Executing DML on: H56HIMAT (Atualizar)
[515] BEGIN UPDATE H56HIMAT HistoricoManutencaoBoiaEntity SET H56CODBO=:1,H56DTMAN=:2,H56DESCR=:3 WHERE H56CODBO=:4 AND H56DTMAN=:5 AND H56SCANA=:6 RETURNING H56CODBO INTO :7; END;
[516] OracleSQLBuilder Executing DML on: H6AMABOT (Inserir)
[517] BEGIN INSERT INTO H6AMABOT(H6ASCANA,H6ACODBO,H6ADTMAN,H6ASTPMB) VALUES (:1,:2,:3,:4) RETURNING H6ACODBO INTO :5; END;
[518] OracleSQLBuilder Executing DML on: H6AMABOT (Inserir)
[519] BEGIN INSERT INTO H6AMABOT(H6ASCANA,H6ACODBO,H6ADTMAN,H6ASTPMB) VALUES (:1,:2,:3,:4) RETURNING H6ACODBO INTO :5; END;
[520] OracleSQLBuilder Executing DML on: H6AMABOT (Inserir)
[521] BEGIN INSERT INTO H6AMABOT(H6ASCANA,H6ACODBO,H6ADTMAN,H6ASTPMB) VALUES (:1,:2,:3,:4) RETURNING H6ACODBO INTO :5; END;
[522] OracleSQLBuilder Executing DML on: H6AMABOT (Inserir)
[523] BEGIN INSERT INTO H6AMABOT(H6ASCANA,H6ACODBO,H6ADTMAN,H6ASTPMB) VALUES (:1,:2,:3,:4) RETURNING H6ACODBO INTO :5; END;
[524] OracleSQLBuilder Executing DML on: H6AMABOT (Inserir)
[525] BEGIN INSERT INTO H6AMABOT(H6ASCANA,H6ACODBO,H6ADTMAN,H6ASTPMB) VALUES (:1,:2,:3,:4) RETURNING H6ACODBO INTO :5; END;
[526] OracleSQLBuilder Executing DML on: H6AMABOT (Inserir)
[527] BEGIN INSERT INTO H6AMABOT(H6ASCANA,H6ACODBO,H6ADTMAN,H6ASTPMB) VALUES (:1,:2,:3,:4) RETURNING H6ACODBO INTO :5; END;
[528] BaseSQLBuilder: releaseSavepoint 'BO_SP' ignored
[529] BaseSQLBuilder: releaseSavepoint 'BO_SP' ignored
[530] TipoManutencaoBoiaView notify COMMIT ...
[531] BoiasPorCanalView notify COMMIT ...
[532] HistoricoManutencaoBoiaView notify COMMIT ...
[533] ManutencaoBoiaEntity_ManutencaoBoiaAssociation_ManutencaoBoiaView notify COMMIT ...
[534] EntityCache close prepared statement
[535] EntityCache close prepared statement
[536] Clearing VO cache for BoiasPorCanalView
[537] Clear QueryCollection in cache...
[538] Column count: 23
[539] ViewObject : Reusing defined prepared Statement
[540] Binding param 1: 21
[541] Clearing VO cache for TipoManutencaoBoiaView
[542] Clear QueryCollection in cache...
[543] Column count: 2
[544] ViewObject : Reusing defined prepared Statement
[545] Application Module failover is enabled
[546] Getting a connection for internal use...
[547] Creating internal connection...
[548] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
[549] <AM MomVer="0">
<cd/>
<TXN Def="0" New="0" Lok="1"/>
<VO>
<VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.TipoManutencaoBoiaView" Name="TipoManutencaoBoiaView"/>
<VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.BoiasPorCanalView" Name="BoiasPorCanalView">
<args ct="1">
<arg>
<![CDATA[21]]>
</arg>
</args>
</VO>
<VO It="1" Sz="10" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.HistoricoManutencaoBoiaView" Name="HistoricoManutencaoBoiaView">
<args ct="2">
<arg>
<![CDATA[XPPP ]]>
</arg>
<arg>
<![CDATA[21]]>
</arg>
</args>
</VO>
</VO>
</AM>
[550] **insert** id=1, parid=-1, collid=6853, keyArr.len=-1, cont.len=1036
[551] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
[552] **commit** #pending ops=1
[553] **insert** id=-1, parid=0, collid=6853, keyArr.len=-1, cont.len=665
[554] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
[555] **commit** #pending ops=1
[556] Getting a connection for internal use...
[557] Creating internal connection...
[558] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
[559] **deleteAll** collid=6851
[560] stmt: delete "PS_TXN" where collid=:1
[561] **commit** #pending ops=1
[562] Reusing a cached session application module instance
[563] Getting a connection for internal use...
[564] Creating internal connection...
[565] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
[566] Application Module failover is enabled
[567] Getting a connection for internal use...
[568] Creating internal connection...
[569] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
[570] <AM MomVer="0">
<cd/>
<TXN Def="0" New="0" Lok="1"/>
<VO>
<VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.TipoManutencaoBoiaView" Name="TipoManutencaoBoiaView"/>
<VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.BoiasPorCanalView" Name="BoiasPorCanalView">
<args ct="1">
<arg>
<![CDATA[21]]>
</arg>
</args>
</VO>
<VO It="1" Sz="10" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.HistoricoManutencaoBoiaView" Name="HistoricoManutencaoBoiaView">
<args ct="2">
<arg>
<![CDATA[XPPP ]]>
</arg>
<arg>
<![CDATA[21]]>
</arg>
</args>
</VO>
</VO>
</AM>
[571] **insert** id=1, parid=-1, collid=6854, keyArr.len=-1, cont.len=1036
[572] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
[573] **commit** #pending ops=1
[574] **insert** id=-1, parid=0, collid=6854, keyArr.len=-1, cont.len=665
[575] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
[576] **commit** #pending ops=1
[577] Getting a connection for internal use...
[578] Creating internal connection...
[579] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
[580] **deleteAll** collid=6853
[581] stmt: delete "PS_TXN" where collid=:1
[582] **commit** #pending ops=1
[583] Reusing a cached session application module instance
[584] Getting a connection for internal use...
[585] Creating internal connection...
[586] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
[587] OracleSQLBuilder Executing Select on: H56HIMAT (true)
[588] Built select: 'SELECT H56CODBO, H56DTMAN, H56DESCR, H56SCANA FROM H56HIMAT HistoricoManutencaoBoiaEntity'
[589] Executing LOCK...SELECT H56CODBO, H56DTMAN, H56DESCR, H56SCANA FROM H56HIMAT HistoricoManutencaoBoiaEntity WHERE H56CODBO=:1 AND H56DTMAN=:2 AND H56SCANA=:3 FOR UPDATE NOWAIT
[590] OracleSQLBuilder Executing Select on: H55BOIAT (true)
[591] Built select: 'SELECT H55SCANA, H55CODBO, H55LATGR, H55LATMI, H55LATSE, H55INDLA, H55VALEX, H55LONGR, H55LONMI, H55LONSE, H55INDLO, H55VALEY, H55CORLP, H55REMOV, H55NRORD, H55PROJE, H55PINTU, H55CARAC, H55EQLUM, H55FOLUM, H55EQFUN, H55EQMON FROM H55BOIAT BoiaEntity'
[592] Executing LOCK...SELECT H55SCANA, H55CODBO, H55LATGR, H55LATMI, H55LATSE, H55INDLA, H55VALEX, H55LONGR, H55LONMI, H55LONSE, H55INDLO, H55VALEY, H55CORLP, H55REMOV, H55NRORD, H55PROJE, H55PINTU, H55CARAC, H55EQLUM, H55FOLUM, H55EQFUN, H55EQMON FROM H55BOIAT BoiaEntity WHERE H55SCANA=:1 AND H55CODBO=:2 FOR UPDATE NOWAIT
[593] OracleSQLBuilder Executing Select on: H6AMABOT (true)
[594] Built select: 'SELECT H6ASCANA, H6ACODBO, H6ADTMAN, H6ASTPMB FROM H6AMABOT ManutencaoBoiaEntity'
[595] Executing LOCK...SELECT H6ASCANA, H6ACODBO, H6ADTMAN, H6ASTPMB FROM H6AMABOT ManutencaoBoiaEntity WHERE H6ASCANA=:1 AND H6ACODBO=:2 AND H6ADTMAN=:3 AND H6ASTPMB=:4 FOR UPDATE NOWAIT
[596] QueryCollection: afterRemove(0)
[597] ViewRowCache: removeReference
[598] OracleSQLBuilder Executing Select on: H6AMABOT (true)
[599] Reusing prepared LOCK statement
[600] QueryCollection: afterRemove(0)
[601] ViewRowCache: removeReference
[602] OracleSQLBuilder Executing Select on: H6AMABOT (true)
[603] Reusing prepared LOCK statement
[604] QueryCollection: afterRemove(0)
[605] ViewRowCache: removeReference
[606] OracleSQLBuilder Executing Select on: H6AMABOT (true)
[607] Reusing prepared LOCK statement
[608] QueryCollection: afterRemove(0)
[609] ViewRowCache: removeReference
[610] OracleSQLBuilder Executing Select on: H6AMABOT (true)
[611] Reusing prepared LOCK statement
[612] QueryCollection: afterRemove(0)
[613] ViewRowCache: removeReference
[614] OracleSQLBuilder Executing Select on: H6AMABOT (true)
[615] Reusing prepared LOCK statement
[616] QueryCollection: afterRemove(0)
[617] ViewRowCache: removeReference
[618] OracleSQLBuilder Executing DML on: H56HIMAT (Atualizar)
[619] BEGIN UPDATE H56HIMAT HistoricoManutencaoBoiaEntity SET H56CODBO=:1,H56DTMAN=:2,H56DESCR=:3 WHERE H56CODBO=:4 AND H56DTMAN=:5 AND H56SCANA=:6 RETURNING H56CODBO INTO :7; END;
[620] BaseSQLBuilder: releaseSavepoint 'BO_SP' ignored
[621] BaseSQLBuilder: releaseSavepoint 'BO_SP' ignored
[622] TipoManutencaoBoiaView notify COMMIT ...
[623] BoiasPorCanalView notify COMMIT ...
[624] HistoricoManutencaoBoiaView notify COMMIT ...
[625] ManutencaoBoiaEntity_ManutencaoBoiaAssociation_ManutencaoBoiaView notify COMMIT ...
[626] EntityCache close prepared statement
[627] EntityCache close prepared statement
[628] EntityCache close prepared statement
[629] Clearing VO cache for BoiasPorCanalView
[630] Clear QueryCollection in cache...
[631] Column count: 23
[632] ViewObject : Reusing defined prepared Statement
[633] Binding param 1: 21
[634] Clearing VO cache for TipoManutencaoBoiaView
[635] Clear QueryCollection in cache...
[636] Column count: 2
[637] ViewObject : Reusing defined prepared Statement
[638] Application Module failover is enabled
[639] Getting a connection for internal use...
[640] Creating internal connection...
[641] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
[642] <AM MomVer="0">
<cd/>
<TXN Def="0" New="0" Lok="1"/>
<VO>
<VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.TipoManutencaoBoiaView" Name="TipoManutencaoBoiaView"/>
<VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.BoiasPorCanalView" Name="BoiasPorCanalView">
<args ct="1">
<arg>
<![CDATA[21]]>
</arg>
</args>
</VO>
<VO It="1" Sz="10" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.HistoricoManutencaoBoiaView" Name="HistoricoManutencaoBoiaView">
<args ct="2">
<arg>
<![CDATA[XPPP ]]>
</arg>
<arg>
<![CDATA[21]]>
</arg>
</args>
</VO>
</VO>
</AM>
[643] **insert** id=1, parid=-1, collid=6855, keyArr.len=-1, cont.len=1036
[644] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
[645] **commit** #pending ops=1
[646] **insert** id=-1, parid=0, collid=6855, keyArr.len=-1, cont.len=665
[647] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
[648] **commit** #pending ops=1
[649] Getting a connection for internal use...
[650] Creating internal connection...
[651] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
[652] **deleteAll** collid=6854
[653] stmt: delete "PS_TXN" where collid=:1
[654] **commit** #pending ops=1
[655] Reusing a cached session application module instance
[656] Getting a connection for internal use...
[657] Creating internal connection...
[658] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
[659] Application Module failover is enabled
[660] Getting a connection for internal use...
[661] Creating internal connection...
[662] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
[663] <AM MomVer="0">
<cd/>
<TXN Def="0" New="0" Lok="1"/>
<VO>
<VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.TipoManutencaoBoiaView" Name="TipoManutencaoBoiaView"/>
<VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.BoiasPorCanalView" Name="BoiasPorCanalView">
<args ct="1">
<arg>
<![CDATA[21]]>
</arg>
</args>
</VO>
<VO It="1" Sz="10" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.HistoricoManutencaoBoiaView" Name="HistoricoManutencaoBoiaView">
<args ct="2">
<arg>
<![CDATA[XPPP ]]>
</arg>
<arg>
<![CDATA[21]]>
</arg>
</args>
</VO>
</VO>
</AM>
[664] **insert** id=1, parid=-1, collid=6856, keyArr.len=-1, cont.len=1036
[665] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
[666] **commit** #pending ops=1
[667] **insert** id=-1, parid=0, collid=6856, keyArr.len=-1, cont.len=665
[668] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
[669] **commit** #pending ops=1
[670] Getting a connection for internal use...
[671] Creating internal connection...
[672] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
[673] **deleteAll** collid=6855
[674] stmt: delete "PS_TXN" where collid=:1
[675] **commit** #pending ops=1
[676] Reusing a cached session application module instance
[677] Getting a connection for internal use...
[678] Creating internal connection...
[679] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
[680] OracleSQLBuilder Executing Select on: H56HIMAT (true)
[681] Built select: 'SELECT H56CODBO, H56DTMAN, H56DESCR, H56SCANA FROM H56HIMAT HistoricoManutencaoBoiaEntity'
[682] Executing LOCK...SELECT H56CODBO, H56DTMAN, H56DESCR, H56SCANA FROM H56HIMAT HistoricoManutencaoBoiaEntity WHERE H56CODBO=:1 AND H56DTMAN=:2 AND H56SCANA=:3 FOR UPDATE NOWAIT
[683] OracleSQLBuilder Executing Select on: H55BOIAT (true)
[684] Built select: 'SELECT H55SCANA, H55CODBO, H55LATGR, H55LATMI, H55LATSE, H55INDLA, H55VALEX, H55LONGR, H55LONMI, H55LONSE, H55INDLO, H55VALEY, H55CORLP, H55REMOV, H55NRORD, H55PROJE, H55PINTU, H55CARAC, H55EQLUM, H55FOLUM, H55EQFUN, H55EQMON FROM H55BOIAT BoiaEntity'
[685] Executing LOCK...SELECT H55SCANA, H55CODBO, H55LATGR, H55LATMI, H55LATSE, H55INDLA, H55VALEX, H55LONGR, H55LONMI, H55LONSE, H55INDLO, H55VALEY, H55CORLP, H55REMOV, H55NRORD, H55PROJE, H55PINTU, H55CARAC, H55EQLUM, H55FOLUM, H55EQFUN, H55EQMON FROM H55BOIAT BoiaEntity WHERE H55SCANA=:1 AND H55CODBO=:2 FOR UPDATE NOWAIT
[686] EntityCache:add WARNING - a new row with a key equal to a removed row
[687] EntityCache:add WARNING - a new row with a key equal to a removed row
[688] EntityCache:add WARNING - a new row with a key equal to a removed row
[689] EntityCache:add WARNING - a new row with a key equal to a removed row
[690] EntityCache:add WARNING - a new row with a key equal to a removed row
[691] EntityCache:add WARNING - a new row with a key equal to a removed row
[692] OracleSQLBuilder Executing DML on: H56HIMAT (Atualizar)
[693] BEGIN UPDATE H56HIMAT HistoricoManutencaoBoiaEntity SET H56CODBO=:1,H56DTMAN=:2,H56DESCR=:3 WHERE H56CODBO=:4 AND H56DTMAN=:5 AND H56SCANA=:6 RETURNING H56CODBO INTO :7; END;
[694] OracleSQLBuilder Executing DML on: H6AMABOT (Inserir)
[695] BEGIN INSERT INTO H6AMABOT(H6ASCANA,H6ACODBO,H6ADTMAN,H6ASTPMB) VALUES (:1,:2,:3,:4) RETURNING H6ACODBO INTO :5; END;
[696] OracleSQLBuilderImpl.doEntityDML failed...
[697] X/Open SQL State is: 23000
[698] java.sql.SQLException: ORA-00001: restrição exclusiva (KITBORDO.PK_H6AMABOT) violada
ORA-06512: em line 1
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:187)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:241)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1477)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:888)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2004)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1924)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2562)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:452)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:526)
at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:370)
Hi Sung, Thanks for your reply.
Leonardo:
If I understand your msg correctly, I'm wondering if
the data model as you described is complete.
You state that you have MaintenanceType, Maintenance,
and MaintenanceOrder, but don't you need
MaintenanceOrderLine?MaintenanceOrderLine is what I'm calling Maintenance. A Maintenace record is used just to link a MaintenanceOrder to a MaintenanceType
>
Otherwise, you say that you removed all Maintenance's
in step 2). How did you form a list of all
Maintenance's in step 4)? How do you form this
list?
was raised due to unique constraint violationAt step 3) I'm using a view object, MaintenanceTypeView, to create a list of checkboxes, one for each MaintenanceType.
At step 4), for each MaintenanceType selected in the form, I'm creating a new Maintenance using:
//All codes of maintenance types, that already have a
//respective maintenance record in the db, have already
//been remove from the maintenancesToInsert list at this
//point
for (Iterator iter = maintenancesToInsert.iterator(); iter.hasNext();) {
MaintenanceViewRow maintenanceRow = (MaintenanceViewRow) maintenanceView.createRow();
maintenanceRow.setMaintenanceTypeCode(Integer.valueOf((String)iter.next()));
maintenanceView.insertRow(maintenanceRow);
>
Sung -
Objects Not Loaded Correctly Error
When I open up Data Modeler I get this error.
"Some objects are not loaded correctly. See the log file for details"
After I click OK my model opens up but I noticed that I can not change the precision on a column in one of my tables. This model is under Source Control and one of the other developers is missing the SubView where my table is that I am trying to modify so I think the problem is related.
Here is the contents of the log file.
2012-07-25 10:59:39,419 [main] INFO ApplicationView - Oracle SQL Developer Data Modeler 3.1.0.691
2012-07-25 10:59:55,779 [Thread-9] ERROR XMLToObjectTransformer - Can not parse file for Relational_1 in file C:\Users\jeffc\Documents\Workspace\DataModeler\Complete_System\rel\48C27E54-21776117FB40\subviews\F8908889-4FF2-CABB-7C17-047D14CCA77F.xml
oracle.xml.parser.v2.XMLParseException: Expected name instead of <.
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:323)
at oracle.xml.parser.v2.XMLReader.scanNameChars(XMLReader.java:1186)
at oracle.xml.parser.v2.XMLReader.scanQName(XMLReader.java:2015)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1319)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:376)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:322)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:226)
at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:155)
at oracle.dbtools.crest.model.metadata.XMLToObjectTransformer.transformToObject(Unknown Source)
at oracle.dbtools.crest.model.metadata.XMLToObjectTransformer.transformToObject(Unknown Source)
at oracle.dbtools.crest.model.metadata.XMLToObjectTransformer.transformToObject(Unknown Source)
at oracle.dbtools.crest.model.metadata.XMLTransformationManager.transformFromXMLToObject(Unknown Source)
at oracle.dbtools.crest.model.metadata.XMLTransformationManager.transformFromXMLToObject(Unknown Source)
at oracle.dbtools.crest.model.metadata.XMLTransformationManager.openDesignPart(Unknown Source)
at oracle.dbtools.crest.model.design.Design.openDesign(Unknown Source)
at oracle.dbtools.crest.swingui.ControllerApplication$Recent$1.run(Unknown Source)
2012-07-25 10:59:55,823 [Thread-9] ERROR XMLToObjectTransformer - Can not parse file for ALL_TABLES in file C:\Users\jeffc\Documents\Workspace\DataModeler\Complete_System\rel\48C27E54-21776117FB40\subviews\57CD6B74-1F49-265D-4FD1-D82A2BA32293.xml
oracle.xml.parser.v2.XMLParseException: Expected name instead of <.
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:323)
at oracle.xml.parser.v2.XMLReader.scanNameChars(XMLReader.java:1186)
at oracle.xml.parser.v2.XMLReader.scanQName(XMLReader.java:2015)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1319)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:376)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:322)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:226)
at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:155)
at oracle.dbtools.crest.model.metadata.XMLToObjectTransformer.transformToObject(Unknown Source)
at oracle.dbtools.crest.model.metadata.XMLToObjectTransformer.transformToObject(Unknown Source)
at oracle.dbtools.crest.model.metadata.XMLToObjectTransformer.transformToObject(Unknown Source)
at oracle.dbtools.crest.model.metadata.XMLTransformationManager.transformFromXMLToObject(Unknown Source)
at oracle.dbtools.crest.model.metadata.XMLTransformationManager.transformFromXMLToObject(Unknown Source)
at oracle.dbtools.crest.model.metadata.XMLTransformationManager.openDesignPart(Unknown Source)
at oracle.dbtools.crest.model.design.Design.openDesign(Unknown Source)
at oracle.dbtools.crest.swingui.ControllerApplication$Recent$1.run(Unknown Source)Hi,
I noticed that I can not change the precision on a column in one of my tablesProbably that's a FK column.
For the other problem - probably it's caused by merge conflict and you have in the file symbols <<<<<< >>>>>> and non valid XML elements. You can try to replace the content of the file manually using version from repository. There will be better processing of suche cases in next release.
Philip -
Spry Menu Issues - Not functioning correctly in Microsoft IE
Hi there,
I am fairly new to web design and dreamweaver.
I have constructed a simple page that I am happy with complete with Spry Menu which again I am happy with. However this spry menu works perfectly in firefox but for some reason on IE my spry menu does not function correctly and goes all over my page!
CORRECT VERTICAL MENU - FIREFOX -
INCORRECT MENU FUNCTION! - IE -
See my CSS Code below for the spry menu in questions - if this helps -
@charset "UTF-8";
/* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */
/* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
LAYOUT INFORMATION: describes box model, positioning, z-order
/* The outermost container of the Menu Bar, an auto width box with no margin or padding */
ul.MenuBarHorizontal
margin: 0;
padding: 0;
list-style-type: inherit;
font-size: 100%;
cursor: default;
width: 1000px;
height: 47px;
/* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
ul.MenuBarActive
z-index: 1000;
/* Menu item containers, position children relative to this container and are a fixed width */
ul.MenuBarHorizontal li
margin: 0;
padding: 0;
list-style-type: none;
font-size: medium;
position: relative;
text-align: center;
cursor: pointer;
width: 318px;
float: left;
height: auto;
background-color: #000000;
border: 2px solid #FFF;
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
/* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
ul.MenuBarHorizontal ul
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
z-index: auto;
cursor: default;
width: auto;
position: absolute;
left: -1000em;
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
left: auto;
/* Menu item containers are same fixed width as parent */
ul.MenuBarHorizontal ul li
width: 318px;
/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
ul.MenuBarHorizontal ul ul
position: absolute;
margin-top: -5%;
margin-right: 0;
margin-bottom: 0;
margin-left: 95%;
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
left: auto;
top: 0px;
DESIGN INFORMATION: describes color scheme, borders, fonts
/* Submenu containers have borders on all sides */
ul.MenuBarHorizontal ul
border: 1px solid #FFFFFF;
/* Menu items are a light gray block with padding and no text decoration */
ul.MenuBarHorizontal a
display: block;
cursor: pointer;
background-color: #bcbdb9;
padding: 0.5em 0.75em;
color: #FFF;
text-decoration: none;
/* Menu items that have mouse over or focus have a blue background and white text */
ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
background-color: #000;
color: #FFF;
/* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
background-color: #000;
color: #FFF;
SUBMENU INDICATION: styles if there is a submenu under a given menu item
/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal a.MenuBarItemSubmenu
background-image: url(SpryMenuBarDown.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
background-image: url(SpryMenuBarRight.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
background-image: url(SpryMenuBarDownHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
background-image: url(SpryMenuBarRightHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
BROWSER HACKS: the hacks below should not be changed unless you are an expert
/* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
ul.MenuBarHorizontal iframe
position: absolute;
z-index: 1010;
filter:alpha(opacity:0.1);
/* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
@media screen, projection
ul.MenuBarHorizontal li.MenuBarItemIE
display: inherit;
f\loat: left;
background: #FFF;
** I am also using Windows 8 and Dreamweaver CS6 If this helps.**
Any help with this would be fantastic as I need this to be resolved before the end of the week.
Any further information required please message me to find out.
Thanks,
JamieTHE CONFLICT IS BETWEEN YOUR DOCUMENT CSS AND THE SPRY CSS.
It is because the <li> and <a> TAGS have been styled and therefore OVERRIDDEN THE SPRY CSS.
Use CLASS TAGS e.g. <li class="anyclass"> and <a class="anyclass">
and STOP USING THE <a> TAGS.
N.b. you may need to unstyle any <a> or other TAGS that conflict with the SPRY CSS. (However it's best to start over knowing that styling basic tags may affect the SPRY CSS). -
UTF-8 not displaying correctly in terminal
I'm installing Arch for the first time, and it's going fairly well but one thing that's still bugging me is that UTF-8 characters aren't displaying correctly in the terminal. I seem to be having exactly the same problem described in this thread: https://bbs.archlinux.org/viewtopic.php?id=161330 Namely, midnight commander looks like this:
http://en.zimagez.com/miniature/test738.png
When it should look like this:
http://www.zimagez.com/miniature/screenshot-04112013-012828pm.php
It displays correctly when I connect to it via SSH from my other machine, but not on the machine's own display. Using the setfont command to set the font to the same the one I am already using fixes it temporarily, but the characters are displayed incorrectly again after a reboot. I ran through all the help given in the thread I linked to but the problem is still happening.
Here's my vconsole.conf:
KEYMAP=uk
FONT=Lat2-Terminus16
FONT_MAP=8859-1_to_uni
locale.conf:
LANG=en_GB.UTF-8
Output from command "locale -a":
C
en_GB.utf8
POSIX
Output from command "locale":
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=
mkinitipio.conf:
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run. Advanced users may wish to specify all system modules
# in this array. For instance:
# MODULES="piix ide_disk reiserfs"
MODULES="i2c_core"
# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image. This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=""
# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way. This is useful for config files.
FILES=""
# HOOKS
# This is the most important setting in this file. The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
## This setup specifies all modules in the MODULES setting above.
## No raid, lvm2, or encrypted root is needed.
# HOOKS="base"
## This setup will autodetect all modules for your system and should
## work as a sane default
# HOOKS="base udev autodetect block filesystems"
## This setup will generate a 'full' image which supports most systems.
## No autodetection is done.
# HOOKS="base udev block filesystems"
## This setup assembles a pata mdadm array with an encrypted root FS.
## Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
# HOOKS="base udev block mdadm encrypt filesystems"
## This setup loads an lvm2 volume group on a usb device.
# HOOKS="base udev block lvm2 filesystems"
## NOTE: If you have /usr on a separate partition, you MUST include the
# usr, fsck and shutdown hooks.
HOOKS="base udev autodetect modconf block filesystems keyboard fsck consolefont"
# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=""
Any help would be much appreciatedI tried running "setfont ter-116b" but apparently I don't have that font installed. In any case, Lat2-Terminus16 it is the font recommended in the beginner's guide so I don't see why it shouldn't work. The font itself can't be the problem because if I run
setfont Lat2-Terminus16
then everything displays correctly. Therefore I can only guess that either the setfont command does something that doesn't happen in the boot process, or my current configuration means that something else overwrites the console map settings during boot. However, apart from using en_GB locale and UK keymap I've been following the beginner's guide to the letter, so I don't understand what the problem is. I only added the FONT_MAP setting to vconsole.conf to try to fix this issue but all the settings I've changed it to (including removing it completely as per the beginner's guide) don't seem to make any difference.
Last edited by Morgy (2013-09-14 09:26:54) -
Date Format was not displayed correctly
Hi All,
We are developing WebDynpro Application successfully....but the date format was not displayed correctly.
the RFC Date format is : 05/23/2007
but in webdynpro we are getting date is wrong....we are getting date is : 09/05/2008.
the below one is our coding for date display format.....
public java.lang.String DisplayingDateFormat( java.lang.String date )
//@@begin DisplayingDateFormat()
// Current date Format in BW
SimpleDateFormat sdf = new SimpleDateFormat("MM.dd.yyyy");
String ChangedDateFormat=null;
try{
//Parsing String to Date
Date sqlDate =sdf.parse(date);
Locale userLocale=WDClientUser.getCurrentUser().getLocale();
DateFormat dateFormat = DateFormat.getDateInstance(DateFormat.DEFAULT, userLocale);
//Converting Date to String
String newDateString = dateFormat.format(sqlDate);
ChangedDateFormat=newDateString;
I mention my user country is Germany.
can u tell me any one why we are getting wrong date.....
Really i appreciate.
Thanks and Regards,
Abhiram.Too bad you can not offer yourself points. LOL
-
Problem:
(1) Created an index on a VARCHAR2 column that contained text from a given file (single row).
Used direct_datastore to create index.
Selected count(*) from the index and received a count of 109.
(2) Created an index on VARCHAR2 column that contained a file location for a file on the file system which contains the same data as in (1).
Used file_datastore to create index.
Selected count(*) from the index and received a count of 17.
The data that is getting indexed is Arabic.
Index for direct_datastore works as expected when performing a query but the file_datastore does not.
Any ideas why the files are not getting parsed correctly and what I could do to resolve?
Database properties
NLS_LANGUAGE = AMERICAN
NLS_CHARACTERSET = AL32UTF8
NLS_NCHAR_CHARACTERSET = AL16UTF16
Commands used to create indexes:
(1) create index globaldoc_index on globaldoc(text_data)
indextype is ctxsys.CONTENT
parameters ('datastore CTXSYS.DIRECT_DATASTORE,
filter ctxsys.null_filter, lexer world_lexer, languange column language,
charset column characterset')
(2) create index globaldoc_index on globaldoc(filepath)
indextype is ctxsys.CONTENT
parameters ('datastore CTXSYS.FILE_DATASTORE,
filter ctxsys.null_filter, lexer world_lexer, languange column language,
charset column characterset')
Data in table globaldoc:
language = ar
characterset = AL32UTF8Can you try the the second case with Auto Lexer?
create index globaldoc_index on globaldoc(filepath)
indextype is ctxsys.CONTENT
parameters ('datastore CTXSYS.FILE_DATASTORE,
filter ctxsys.null_filter, lexer auto_lexer, languange column language,
charset column characterset')
Auto lexer should determine the language of the document automatically.
Also, you can create your own lexer specifying the language of the lexer and use the same while creating the index. -
Javascript not parsing through in an HTML data set (table)
I have a spry dataset (html table) working perfectly on my site. I have an 'info' column with some HTML, an image, and youtube embed. All of these parse correctly and show on the page, but for some reason my google adsense (javascript code) is not parsing through at all. I'm using Spry 1.6.1.
Here is my code:
<script type="text/javascript">
<!--
var PrankDialerLibrary = new Spry.Data.HTMLDataSet("SpryAssets/library.html", "pdLibrary", {sortOnLoad: "hits", sortOrderOnLoad: "descending"});
pdLibrary.setColumnType("preview", "html");
pdLibrary.setColumnType("info", "html");
pdLibrary.setColumnType("filename", "html");
//-->
</script> ... <div class="MasterDetail">
<div spry:region="PrankDialerLibrary" class="MasterContainer">
<div class="MasterColumn" spry:repeat="pdLibrary" spry:setrow="pdLibrary" spry:hover="MasterColumnHover" spry:select="MasterColumnSelected" align="left">{preview} {name}</div>
</div>
<div spry:detailregion="pdLibrary" class="DetailContainer">
<div class="DetailColumn">{info}</div>
<div class="DetailColumn">{filename}</div>
</div>
<br style="clear:both" />
</div>
Thanks!Treytor72 wrote:
Thanks again for your expertise, as I can see you've helped quite a bit around here!
I've tried adding that quick and dirty workaround to the page ( http://www.prankdialer.com/beta/popular.php ), but it seems to have no affect. I may not be fully understanding it, but I don't believe your other options will work in this particular situation because the google adsense code (what is being omitted in my case)
is placed exactly where the ad should appear. I want it to show up right underneath the youtube embed for each item in the data table. Thus, it doesn't belong in the <head> of the page.
Thank you again for your time, and let me know if by any chance you would have any use for my site, PrankDialer.com. I'd be more than happy to give you credits for your help!
Hello,
If I inspect the generated DOM of the page, I do see that the script have been correctly injected in to your page. So we have succeeded so far. You have placed it at a correct position. We could still try the modified setInnerHTML function. I searched the forum and found a improved version of it. (Less work for me )
Spry.Utils.setInnerHTML = function(ele, str, preventScripts)
if (!ele)
return;
ele = Spry.$(ele);
var scriptExpr = "<script[^>]*>(.|\s|\n|\r)*?</script>";
ele.innerHTML = str.replace(new RegExp(scriptExpr, "img"), "");
if (preventScripts)
return;
//bodyMatches is used to store the script tags that have body. For example, <script type='text/javascript'> some JS </script>
var bodyMatches = str.match(new RegExp(scriptExpr, "img"));
if (bodyMatches)
var numMatches = bodyMatches.length;
for (var i = 0; i < numMatches; i++)
var s = bodyMatches[ i ].replace(/<script[^>]*>[\s\r\n]*(<\!--)?|(-->)?[\s\r\n]*<\/script>/img, "");
//make sure that we are not create a script tag if there is no body to it.
if(s.length > 0)
//alert(s);
var scriptEle= document.createElement("script");
scriptEle.text = s;
ele.appendChild(scriptEle);
//now we begin taking care of the script includes (those that have a src attribute defined)
var srcScript = "<script[^>].*src.*>(.|\s|\n|\r)*?</script>";
var srcMatches = str.match(new RegExp(srcScript, "img"));
if(srcMatches)
var numMatches2 = srcMatches.length;
var srcAttrib = "[\s]*src=[\'\"](.*\.js)[\'\"]";
for(var j=0; j<numMatches2; j++)
// when the below statement executes, m should have the src attrib and value:
// src='sompath.js' as a string.
var m = srcMatches[j].match(new RegExp(srcAttrib, "img")).toString();
//now we strip out the src= part. this will leave us with just the path along with the double quotes.
var n = m.replace(/^[(?=src=)]*/img, "");
if(n.length > 0)
var scriptEle2 = document.createElement("script");
//get rid of the quotes as well.
//This is done to take care of single quotes too so that it will work if they defined either:
// <script src='somefile.js' type="text/javascript></script>
// <script src="somefile.js" type="text/javascript></script>
scriptEle2.src=n.replace(/[\"\']/img, "");
scriptEle2.type="text/javascript";
ele.appendChild(scriptEle2);
But!
There's always a but, even if it would work. You might face a even bigger issue. The Google script uses document.write. This method should only be used once the main page is still loading. If you execute this function while the page is done with loading. It will replace the whole content of your page with what is beeing writen.
For example if it does:
document.write('Hello');
Your whole place would be replaced and only showing the word "Hello".
A solution to this would be to use a iframe to display the ads. -
While loop not performing correctly
When I enter ANY number, the second while loop in the code below executes. It should not execute when 117, 239, 298, 326, or 445 is entered. I can't seem to figure out why this does not work, and I do not know what else to try.
Hope someone can just give some assistance. Thank you!
If I need to supply the entire program, just let me know.
while(! done)
try
System.out.println("Enter the flight number");
entry = keyboard.nextInt();
while((entry != 117) || (entry != 239) || (entry != 298) || (entry != 326) || (entry!= 445))
System.out.println("Flight number must be 117, 239, 298, 326, 445");
System.out.println("Please try again");
entry = keyboard.nextInt( );
done = true;
catch(InputMismatchException e)
keyboard.nextLine();
System.out.println("Not the correct entry");
System.out.println("Please try again");
}JosAH wrote:
paulcw wrote:
The outer loop loops on "not done", but in the body of that loop, done is unconditionally set to true. So the outer loop will only run once. Therefore it's pointless. I'm guessing that you meant to only set done to true if the user inputs "quit" or something.The 'not done' loop will iterate again if the user supplied incorrect input (not an int).Man that's a confusing flow of control. So if the user types in anything other than a number, it's causes a parse error (basically) and the exception causes it to skip the command to stop, and that makes it loop again.
So apparently 3/4 of the people looking at that code didn't get it at first.
It reminds me of the veda about Mel.
Come up with something clearer.
Maybe you are looking for
-
Source code not generated in mapping
Hi, I tried mapping an Idoc to an XSD in my mnessage mapping.When I try to check my message mapping I get an error msg : "<Mappingname> has no Source Code"...My scenario is only some fields of Idoc map to the XSD and the rest are constants..I am in
-
Hi All I want to initialize the Employment Status to Active employee that is 3. Does any body know how can I do it. Thnaks in advance. Regards AJ
-
Hi what is the best practice for weblogic in terms of creation of instance. Suppose I have 10 applications which are independent but can be grouped in 3 bunch. So whether all should go under once instance or more than one instance is advisable. Thank
-
IDOC status 30 but partner profile is set to send immediately (04)
Hi guys, I have a problem with idocs not being sent immediately... The outputs, the EDI partner profiles are all set up correctly... it is configured to send immediately however, it's not doing so... prior to upgrade to ECC 6.0 it's working fine... n
-
I loaded music videos onto my 60 GB IPOD but there is no sound!!!
I download music videos onto my cpu from LimeWire, then load them onto my Ipod. The videos play, but without sound. Can anyone help?