Programming insert row VO,but inner-table no data show?
We have Master-Detail-Detail ViewObject,when programming insert row three ViewObject,why inner-table UI no data show?
[Source Code ZIP files|http://docs.google.com/leaf?id=0B1l5uiKPTIr_ZTQwYTQ1MTMtZWFlMS00YWQ1LWFiZWQtYzNmODIwNDRlZWJk&hl=zh_TW]
1.SmpTest0PG.xml click button.
2.SmpTest0CO.java call MyTestAMImpl.java create Method insert row three ViewObject.
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
OAApplicationModule am = pageContext.getApplicationModule(webBean);
if (pageContext.getParameter("Test") != null)
String key = "1";
Serializable aserializable1[] = { key };
String quote_id = (String)am.invokeMethod("create", aserializable1);
if (!quote_id.equals(null))
pageContext.setForwardURL("OA.jsp?page=/smp/oracle/apps/pos/test/webui/SmpTestPG&Key="+key,
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
null,
true, // Retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
OAWebBeanConstants.IGNORE_MESSAGES);
3.SmpTest0CO.java Forward SmpTestPG.xml.
4.SmpTestPG.xml Show Data.
MyTestAMImpl.java
public String create(String key)
int vendor_id = 0;
String vendor_name = null;
int contact_id = 0;
int site_id = 0;
String quote_id = null;
OADBTransaction trx = (OADBTransaction)((OAApplicationModuleImpl)this).getDBTransaction();
SmpPoHdVOImpl hdvo = getSmpPoHdVO();
SmpPoDlVOImpl dlvo = getSmpPoDlVO();
SmpPoDkVOImpl shvo = getSmpPoDkVO();
if (!hdvo.isPreparedForExecution())
hdvo.setWhereClause("1 = 0");
hdvo.setMaxFetchSize(0);
hdvo.executeQuery();
if (!dlvo.isPreparedForExecution())
dlvo.setWhereClause("1 = 0");
dlvo.setMaxFetchSize(0);
dlvo.executeQuery();
if (!shvo.isPreparedForExecution())
shvo.setWhereClause("1 = 0");
shvo.setMaxFetchSize(0);
shvo.executeQuery();
String s = key;
Serializable aserializable[] = { s };
SmpViewPoHdVOImpl quhdvo = getSmpViewPoHdVO();
if(quhdvo != null)
quhdvo.invokeMethod("initQuery", aserializable);
SmpViewPoDlVOImpl qudlvo = getSmpViewPoDlVO();
// insert hd
quhdvo.setRangeSize(-1);
Row quhdrow[] = quhdvo.getAllRowsInRange();
for(int i = 0; quhdrow != null && i < quhdrow.length; i++)
Row hdrow = hdvo.createRow();
hdrow.setAttribute("DocNum","200");
hdvo.insertRow(hdrow);
hdrow.setNewRowState(Row.STATUS_NEW);
quote_id = hdrow.getAttribute("HEADER_ID").toString();
// insert dl
RowIterator dlIter = (RowIterator)quhdrow.getAttribute("SmpViewPoDlVO");
dlIter.setRangeSize(-1);
Row qudlrow[] = dlIter.getAllRowsInRange();
int line_seq = 0;
for(int j = 0; qudlrow != null && j < qudlrow.length; j++)
Row dlrow = dlvo.createRow();
line_seq ++;
dlrow.setAttribute("LineNum",String.valueOf(line_seq));
dlrow.setAttribute("ItemNo",qudlrow[j].getAttribute("ItemNo"));
dlrow.setAttribute("Qty",qudlrow[j].getAttribute("Qty"));
dlvo.insertRow(dlrow);
dlrow.setNewRowState(Row.STATUS_NEW);
// insert shipment
RowIterator shipIter = (RowIterator)qudlrow[j].getAttribute("SmpViewPoDkVO");
shipIter.setRangeSize(-1);
Row shipRow[] = shipIter.getAllRowsInRange();
int ship_seq = 0;
for(int k = 0; shipRow != null && k < shipRow.length; k++)
ship_seq ++;
Row shrow = shvo.createRow();
shrow.setAttribute("ShipmentNum",String.valueOf(ship_seq));
shrow.setAttribute("Qty",shipRow[k].getAttribute("Qty"));
shvo.insertRow(shrow);
shrow.setNewRowState(Row.STATUS_NEW);
return quote_id;
Edited by: Tony_Huang on Apr 10, 2010 3:59 PM
public class SmpTestCO extends OAControllerImpl
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
OATableBean oatablebean = (OATableBean)webBean.findChildRecursive("SmpPoDlVORN");
OATableBean oatablebean1 = (OATableBean)webBean.findChildRecursive("SmpPoDkVORN");
if (oatablebean != null)
oatablebean.setAttributeValue(UIConstants.ALL_DETAILS_ENABLED_ATTR, ((Object) (Boolean.TRUE)));
oatablebean.setAttributeValue(OAWebBeanConstants.VIEW_LINK_NAME, "SmpPoDlDkVL1");
if (oatablebean1 != null)
oatablebean1.setAttributeValue(OAWebBeanConstants.VIEW_LINK_NAME, "SmpPoDlDkVL1");
oatablebean1.setInsertable(true);
oatablebean1.setAutoInsertion(true);
}
Similar Messages
-
Loop Cursor Fetch Insert Rows Into Global Temporay Table
Hi friends,
I want to know there where is the problem in my this query
cursor c1 is select empno
from scott.emp;
b number;
begin
open c1;
loop
fetch c1 into b;
exit when c1%notfound;
insert into scheema.a1
(a)
values
(b);
commit;
end loop;
close c1;
end;
There is no any error displaying while proceeding this query but the table a1 which is (Global temporary table with ON COMMIT PRESERVE ROWS option enabled) does not gets any records. Kindly let me know the problem.
Regards.Are you sure that the query returns date? Are you checking the table via the same session?
SQL> create global temporary table a1 (
a number)
on commit preserve rows
Table created.
SQL> declare
cursor c1 is select empno
from scott.emp;
b number;
begin
open c1;
loop
fetch c1 into b;
exit when c1%notfound;
insert into a1
(a)
values
(b);
commit;
end loop;
close c1;
end;
PL/SQL procedure successfully completed.
SQL> select * from a1
A
7369
7499
7521
7566
7654
7698
7782
7788
7839
7844
7876
7900
7902
7934
14 rows selected. -
Compare 2 tables and insert rows missing in each table.
I have a tough situation. I have two exact tables- one online and one offline database. I know that there are missing rows of data from each table, so I need to make a comparison of one table and insert rows that do not exist. I was thinking to try this, but it took over 3 hours to run and did not return anything:
insert into t
select * from t a
where not exists (select * from [email protected] b
where a.col1 != b.col1
and a.col2 != b.col2
and a.col3 != b.col3);
and it goes on for another 7columns.
The trouble I have is to include a date clause so that the query can be broken down into running only a few months of data comparisions at a time- the records go back 4 years to compare. Also is there a way to write this so that it will query both tables at the same time in order to speed things up- or is one table at a time the best advice? Each table has over 100 million records to compare, that's why I was hoping to use a date criteria since one column is date.
Let me know what you advise to make this work, I hope I was on the right track.Not sure if the MINUS operator will perform better with your data set but;
SQL> create table t1 (some_id number, some_date date)
Table created.
SQL> create table t2 (some_id number, some_date date)
Table created.
SQL> insert into t1 values (1, trunc(sysdate))
1 row created.
SQL> insert into t1 values (2, trunc(sysdate-5))
1 row created.
SQL> insert into t1 values (4, trunc(sysdate-90))
1 row created.
SQL> insert into t2 values (1, trunc(sysdate))
1 row created.
SQL> insert into t2 values (3, trunc(sysdate-10))
1 row created.
SQL> insert into t2 values (5, trunc(sysdate-100))
1 row created.
SQL> select * from t1
SOME_ID SOME_DAT
1 07-07-30
2 07-07-25
4 07-05-01
3 rows selected.
SQL> select * from t2
SOME_ID SOME_DAT
1 07-07-30
3 07-07-20
5 07-04-21
3 rows selected.
SQL> insert into t1 (
select some_id, some_date from t2 where some_date between sysdate-50 and sysdate
minus
select some_id, some_date from t1 where some_date between sysdate-50 and sysdate)
1 row created.
SQL> insert into t2 (
select some_id, some_date from t1 where some_date between sysdate-50 and sysdate
minus
select some_id, some_date from t2 where some_date between sysdate-50 and sysdate)
1 row created.
SQL> select * from t1
SOME_ID SOME_DAT
1 07-07-30
2 07-07-25
4 07-05-01
3 07-07-20
4 rows selected.
SQL> select * from t2
SOME_ID SOME_DAT
1 07-07-30
3 07-07-20
5 07-04-21
2 07-07-25
4 rows selected. -
Need help with creating table that automatically inserts rows depending on the amount of data
Hi there,
I'm trying to create a table for supervisors to enter in their subordinates information and will automatically insert rows for supervisors with multiple subordinates. This form will not be connected to a data source, the supervisors will simply fill in the form and print out. I want it to kind of look like this:
Name
Position #
Classification
Hours
I really appreciate any help. Thanks!Hi Niall,
You figured it out! I didn't have javascript turned on. Now it is working perfectly. I think this will help me tremendously. Thanks so much for your help!!!!!
Laura -
How to get the row reference of inner table of an advance table
Hi Gurus,
Using R12.1.3, How to get the handle of inner table row reference of an advance table in controller.
Regards,
ZakirThe javadoc for oracle.jbo.Key is really helpful.
getAttributeNames()
getAttributeValues()
etc -
Why in FI doc. show value 909 but in table BSEG-DMBTR show 9.09 ?
hello everyone .
I have problem
in FI document (transaction code FB03) system show value 909
but in BSEG it's show 9.09
and i use this value to show in report .
it's show 9.09 .
could you tell me why this happen ?
what should i do to fix this problem ?
please help.Hi
There are some currencies which will not always use 2 decimals, they can be 3, 4 or even none. Since the data element used for storing this field is 2 decimals, internally the amount will be stored after converting the amount to 2 decimals.
But when the same amount is displayed in any screen or reports it will use the currency key associated with the amount and does the conversion as per table TCURX and displays them.
So this is not any problem, you do not have to worry. But whenever you are using these amount fields always add the currency addition for any purpose be it ALV, list output etc. so that you will not have any issue.
Regards
Ran ganath -
Inserting Rows in an Editable Table
Application Focus: JSF with ADF/BC.
watching Steve Muench´s Screencast on "Creating an Editable Table with a Dropdown List in Each Row" i was inspired to add a functionality to add rows.
Lets say i have an Employee and Departments table. If i want to add three new employees in the employee editable table - that wont work - it seems that adding rows aint that simple, cause it seems not possible to commit more than one row at a time
what i did according to forum posts and how-to´s:
1. dropped "insert" from data control palette
2. altered binding to from create to "CreateInsert"
works ok, but if i press the button twice (3x, 4x) the new rows are shown, but if i commit them, only one is in the database?
Any tips on that would be appreciated.I'm trying to a similar thing, create an input screen that allows you to add muliple rows at the same time some rows having a drop down list. I've read the following How to which lets me edit multiple rows but if I add a create button or a CreateInsert button it doesnt seem to give me rows to create.
How To Create Multi Row Edit Forms in a JSP Page with Oracle JDeveloper 10g
http://www.oracle.com/technology/products/jdev/tips/mills/JSP_Multi_Row_Edits.html -
Inserting rows in a database table using JDBC
Hi,
I am trying to insert a row in a table using the follwing code:
String Query_String = "Insert into Table_Name (Field_1, Field_2, Field_3)" +
"Values (Value_1, Value_2, Value_3)";
stmt.executeUpdate (Query_String);
Field_1 is a Date field, Field_2 is a String, and Field_3 is an integer.
Any of the fields could be null. If the user does not enter a value for any
one of these fields what would be the values for
Value_1, Value_2, or Value3 in the Query_String?
Thanks.Hi,
I am trying to insert a row in a table using the
follwing code:
String Query_String = "Insert into Table_Name
(Field_1, Field_2, Field_3)" +
"Values (Value_1,
"Values (Value_1, Value_2, Value_3)";
stmt.executeUpdate (Query_String);
Field_1 is a Date field, Field_2 is a String, and
Field_3 is an integer.
Any of the fields could be null. If the user does not
enter a value for any
one of these fields what would be the values for
Value_1, Value_2, or Value3 in the Query_String?
Thanks.Keep in mind that each database server probably has their own way of storing date values. For now, I'm going to assume that you're going to be using MySQL.
// Initialize variables to null
String Value_1 = "";
String Value_2 = "";
String Value_3 = "";
try
// Get Date
Date date = new Date();
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
Value_1 = dateFormat.format(date);
// Get String value
Value_2 = "some string";
// Get Integer value
Value_3 = String.valueOf("2");
String query = INSERT INTO T_NAME VALUES('" + Value_1 +"', '" + Value_2 + "', '" + Value_3 + "');
int iUpdated = stmt.executeUpdate(query);
catch(Exception e)
// Catch Code
System.out.println("Number of records updated: " + iUpdated);
This will just enter empty string values if the strings are empty.
Is this what you wanted to know?
If not, provide a bit more information and I'll try to help as best as I can -
Inserting rows in PL/SQl table
Hi,
I have a PL/SQl table which i populated through bulk collect and now i am trying to loop through the table (actually quite a few nested loops) ... Now inside one of my loops i might need to insert a new row by splitting field in the existing row in the table. Can I insert the row in the pl/sql table within the loop without affecting the 'FOR i IN tab.first..tab.last' loop ??
Also what would be the index of such a row inserted in the table. Can I access it with tab.last+1 (doesnt look like it can be done if i insert in the various levels of loops).
OR
If I insert the rows insde the nested loops , then I can access the new rows once I close all the loops and open a fresh loop ??. Will the new rows be at the last of the table.
Any help will be appreciated ...user2309906 wrote:
Hi,
I have a PL/SQl table which i populated through bulk collect and now i am trying to loop through the table (actually quite a few nested loops) ... Now inside one of my loops i might need to insert a new row by splitting field in the existing row in the table. Can I insert the row in the pl/sql table within the loop without affecting the 'FOR i IN tab.first..tab.last' loop ??
Also what would be the index of such a row inserted in the table. Can I access it with tab.last+1 (doesnt look like it can be done if i insert in the various levels of loops).
OR
If I insert the rows insde the nested loops , then I can access the new rows once I close all the loops and open a fresh loop ??. Will the new rows be at the last of the table.
Any help will be appreciated ...With an associative array:
SQL> ed
Wrote file afiedt.buf
1 declare
2 type t_arr is table of varchar2(10) index by pls_integer;
3 v_arr t_arr;
4 v_cnt number := 0;
5 begin
6 -- populate the associative array
7 for i in (select ename from emp)
8 loop
9 v_cnt := v_cnt + 1;
10 dbms_output.put_line('Populating: '||i.ename);
11 v_arr(v_cnt) := i.ename;
12 end loop;
13 -- now process the associative array
14 for i in v_arr.first .. v_arr.last
15 loop
16 dbms_output.put_line('Processing: '||i||':'||v_arr(i));
17 if v_arr(i) IN ('KING','TURNER','JAMES') then
18 v_arr(v_arr.last+1) := v_arr(i)||to_char(i);
19 dbms_output.put_line('Added: '||v_arr.last||':'||v_arr(i));
20 end if;
21 end loop;
22 -- now what's in the associative array?
23 for i in v_arr.first .. v_arr.last
24 loop
25 dbms_output.put_line('Result: '||i||':'||v_arr(i));
26 end loop;
27* end;
SQL> /
Populating: SMITH
Populating: ALLEN
Populating: WARD
Populating: JONES
Populating: MARTIN
Populating: BLAKE
Populating: CLARK
Populating: SCOTT
Populating: KING
Populating: TURNER
Populating: ADAMS
Populating: JAMES
Populating: FORD
Populating: MILLER
Processing: 1:SMITH
Processing: 2:ALLEN
Processing: 3:WARD
Processing: 4:JONES
Processing: 5:MARTIN
Processing: 6:BLAKE
Processing: 7:CLARK
Processing: 8:SCOTT
Processing: 9:KING
Added: 15:KING
Processing: 10:TURNER
Added: 16:TURNER
Processing: 11:ADAMS
Processing: 12:JAMES
Added: 17:JAMES
Processing: 13:FORD
Processing: 14:MILLER
Processing: 15:KING9
Processing: 16:TURNER10
Processing: 17:JAMES12
Result: 1:SMITH
Result: 2:ALLEN
Result: 3:WARD
Result: 4:JONES
Result: 5:MARTIN
Result: 6:BLAKE
Result: 7:CLARK
Result: 8:SCOTT
Result: 9:KING
Result: 10:TURNER
Result: 11:ADAMS
Result: 12:JAMES
Result: 13:FORD
Result: 14:MILLER
Result: 15:KING9
Result: 16:TURNER10
Result: 17:JAMES12
PL/SQL procedure successfully completed.With standard array (PL/SQL table):
SQL> ed
Wrote file afiedt.buf
1 declare
2 type t_arr is table of varchar2(10);
3 v_arr t_arr;
4 v_cnt number := 0;
5 begin
6 -- populate the pl/sql table
7 select ename bulk collect into v_arr from emp;
8 -- now process the pl/sql table
9 for i in v_arr.first .. v_arr.last
10 loop
11 dbms_output.put_line('Processing: '||i||':'||v_arr(i));
12 if v_arr(i) = 'KING' then
13 v_arr.extend;
14 v_arr(v_arr.last) := 'PRESIDENT';
15 end if;
16 end loop;
17 -- now what's in the pl/sql table?
18 for i in v_arr.first .. v_arr.last
19 loop
20 dbms_output.put_line('Result: '||i||':'||v_arr(i));
21 end loop;
22* end;
SQL> /
Processing: 1:SMITH
Processing: 2:ALLEN
Processing: 3:WARD
Processing: 4:JONES
Processing: 5:MARTIN
Processing: 6:BLAKE
Processing: 7:CLARK
Processing: 8:SCOTT
Processing: 9:KING
Processing: 10:TURNER
Processing: 11:ADAMS
Processing: 12:JAMES
Processing: 13:FORD
Processing: 14:MILLER
Processing: 15:PRESIDENT
Result: 1:SMITH
Result: 2:ALLEN
Result: 3:WARD
Result: 4:JONES
Result: 5:MARTIN
Result: 6:BLAKE
Result: 7:CLARK
Result: 8:SCOTT
Result: 9:KING
Result: 10:TURNER
Result: 11:ADAMS
Result: 12:JAMES
Result: 13:FORD
Result: 14:MILLER
Result: 15:PRESIDENT
PL/SQL procedure successfully completed.
SQL>So, in answer to your questions...
Inserting additional rows in the array during the loop will effect the "last" value and alter the array. If you need to avoid this effect, store the "last" value in a variable and loop up to that value of the variable.
New rows will generally be additional rows on the end of the array unless you are using associative arrays which will then depend on how you reference the rows in the array. -
Timeout when inserting row in a locked table
How can I set the timeout before an INSERT statement fails with error ORA-02049 (timeout: distributed transaction waiting for lock) when the entire table has been lock with LOCK TABLE .
Documentation says to modify DISTRIBUTED_LOCK_TIMEOUT parameter, but it is obsolete in Oracle 8i.
Any idea ???You could set an alarm() in a signal. Then on return (for whatever reason) you clear the alarm, inspect the return code of the sql execute call and determine what happened (i.e. did the transaction completed or did the alarm get you).
Hope it helps.
-Lou
[email protected]
How can I set the timeout before an INSERT statement fails with error ORA-02049 (timeout: distributed transaction waiting for lock) when the entire table has been lock with LOCK TABLE .
Documentation says to modify DISTRIBUTED_LOCK_TIMEOUT parameter, but it is obsolete in Oracle 8i.
Any idea ??? -
Insert row wherever within a table?
Can it be done? Looking to add and delete rows wherever needed within a table. Currently, it only allows me to add or remove either the very first row or the very last; not those in-between. My users constantly request the ability to insert where needed (like word and excel) and I'm stumped on how to work it out.
1. Cell options
2. Cell options!
You probably have too much space inside the top and bottom edges of each cell. Select the entire table and select Cell Options (from the Table menu or from your friendly right click pop-up menu). A relatively safe value for Top and Bottom distance is 1 mm.
You can see the grid lines either because you have Show Frame Edges on (they should be thin and blue), or, more likely, because the ID import doesn't honor the Excel settings and puts the lines there by itself. If your lines are blue and thin, don't worry; they're just there to help you. Select Preview mode and they will disappear (just as text frame edges, guidelines, etc.). If the lines are black and thick, select the entire table and use the Cell options to switch them off. Just select either 0 pt thickness or a [None] line color. -
Rowcount is zero , but the table displays data on the screen
Hi,
I have created an arraylist, which holds objects of a custom class. The custom class contains variables, that holds the data of each row.
I did binding between this arraylist and a table. On the UI, the table is displayed with the data present in the class variables.
But, when I use getrowCount(), it returns zero.
Probably because of this reason, the selected row data is null. (tableselectone component).
Any help is appreciated./**** PatientsHelper Class
private String firstName;
private String lastName;
private String patientId;
private String firstNameCol;
private String lastNameCol;
private String patientIdCol;
private String empType;
private String empTypeCol;
public void setFirstName(String firstName) {
this.firstName = firstName;
public String getFirstName() {
return firstName;
public void setLastName(String lastName) {
this.lastName = lastName;
public String getLastName() {
return lastName;
public void setPatientId(String patientId) {
this.patientId = patientId;
public String getPatientId() {
return patientId;
public void setFirstNameCol(String firstNameCol) {
this.firstNameCol = firstNameCol;
public String getFirstNameCol() {
return firstNameCol;
public void setLastNameCol(String lastNameCol) {
this.lastNameCol = lastNameCol;
public String getLastNameCol() {
return lastNameCol;
public void setPatientIdCol(String patientIdCol) {
this.patientIdCol = patientIdCol;
public String getPatientIdCol() {
return patientIdCol;
public void setEmpType(String empType) {
this.empType = empType;
public String getEmpType() {
return empType;
public void setEmpTypeCol(String empTypeCol) {
this.empTypeCol = empTypeCol;
public String getEmpTypeCol() {
return empTypeCol;
/***ColumnNames are also dynamically generated and are stored in columnNames (PatientHelper type) object**********/
PatientsHelper columnNames = new PatientsHelper();
columnNames.setFirstNameCol("First Name");
columnNames.setLastNameCol("Last Name");
/**********Code where the patientsHelper objects are kept in the arraylist **************/
ArrayList PatientRecords = new ArrayList();
private PatientsHelper patientAttributes;
for(int i=0;i<10;i++){
patientAttributes = new PatientsHelper();
patientAttributes.setFirstName("abcd");
patientAttributes.setLastName("efgh");
patientRecords.add(patientAttributes);
/*******ADF binding code ******************/
<af:table emptyText="No items were found"
value="#{backing_RegisterPatient.patientRecords}"
var="row" rows="25"
banding="row"
bandingInterval="1"
binding="#{backing_RegisterPatient.table2}"
id="table2"
rendered="true">
<af:column sortable="false"
headerText="#{backing_RegisterPatient.columnNames.patientIdCol}"
formatType="text"
binding="#{backing_RegisterPatient.column2}"
id="column2">
<af:outputText value="#{row.patientId}"
binding="#{backing_RegisterPatient.outputText2}"
id="outputText2"/>
</af:column>
<af:column sortable="false"
headerText="#{backing_RegisterPatient.columnNames.empTypeCol}"
formatType="text"
binding="#{backing_RegisterPatient.column3}"
id="column3">
<af:outputText value="#{row.empType}"
binding="#{backing_RegisterPatient.outputText3}"
id="outputText3"/>
</af:column>
<af:column sortable="false"
headerText="#{backing_RegisterPatient.columnNames.firstNameCol}"
formatType="text"
binding="#{backing_RegisterPatient.column4}"
id="column4">
<af:outputText value="#{row.firstName}"
binding="#{backing_RegisterPatient.outputText4}"
id="outputText4"/>
</af:column>
<af:column sortable="false"
headerText="#{backing_RegisterPatient.columnNames.lastNameCol}"
formatType="text"
binding="#{backing_RegisterPatient.column5}"
id="column5">
<af:outputText value="#{row.lastName}"
binding="#{backing_RegisterPatient.outputText5}"
id="outputText5"/>
</af:column>
<f:facet name="selection">
<af:tableSelectOne
binding="#{backing_RegisterPatient.tableSelectOne1}"
id="tableSelectOne1"
autoSubmit="false">
<af:commandButton text="View Documents"
binding="#{backing_RegisterPatient.viewDocsButton}"
id="viewDocsButton"
action="#{backing_RegisterPatient.viewDocuments}"/>
</af:tableSelectOne>
</f:facet>
</af:table> -
Import successfully but all tables and data are not completely importing
We have A UGS product called Teamcenter running on oracle 9i database. It is developement so it is very small 200M The problem is I am doing daily export but when imported back into DB it does not recovering all the data that I had exported. I am wondering any special about UGG product that requires special method for backup??? Anyone familiar with this , I would appreciate if you can provide me some leads .Thank in advance.
Jonathan nguyenDon't know about UGS but it will be helpfull if you tell us that how are you taking the export?? Means full database or schema level and also how are you importing??
Can you post the export and import command which you are using?
Daljit Singh -
Idea
A useful feature I would like to suggest would be to allow the creation of multiple blank rows from the 'insert row' button in a table tab.
Possible Solution
A good solution would be to add a prompt next to the button in order to specify the number of blank rows you wish to create. It should default to one to keep the current behavior intact but would allow the user to specify how many rows to insert.
Issues with Current Behavior
Currently you need to click 'insert new row' 50 times to paste 50 rows (from excel for example). If you click it 30 times and paste 50 rows, it will insert the first 30, then overwrite the first 20 existing values. Plus clicking the insert button for each row you want to insert isn't that productive.
Other Comments
I'm sure that many have experienced this delemma and has issues with the consistency of the current excel import tool. This solution would prove to be an easy alternative to importing with a tool and will prove to be a simple way to really improve the usability and much more importantly the ease of this product.
Feedback
If you have had a situation where this would have been nifty feel free to reply with thoughts.
Oracle
Do you believe this would be possible from a development standpoint and what sort of feedback can you provide on the probability of an enhancement like this.Just in case you haven't tried the following :
When in last cell of the last row, you can hit Tab key and that would create a new row and the focus would be in the first cell of the newly created row.
So you don't need to hit the insert row button. Btw, you can also set an accelerator for "Insert Row" using Preferences->Accelerators.
So, probably your feature request could be to - automatically create appropriate # of rows and insert data into those when you paste the data copied from excel into the grid. That should save you a few clicks and eliminate the need of having a textfield to set the # of rows.
-Raghu -
Table Import Data - "Insert script" - National characters
Hi all,
it looks like that there is a problem with support of national characters in imported data file when method "Insert script" is chosen.
Table -> Import Data -> Open datafile "csv".
As far as in the preview window I'm seeing properly displayed national characters from csv data file and when I'm choosing "Insert" or "SQL Loader" method - data is properly imported to the table.
But when I'm using "Insert script" method, in generated script national characters are changed into "bushes":
http://imm.io/V0J9
SQL Developer: Version 3.2.20.09
OS: Windows XP SP3
Client code page: WIN-1250
Tested databases: 10g, 11g<p>This has been fixed in the latest build. The patch is now available for <a href = "http://www.oracle.com/technology/software/products/sql/index.html">download</a>.
</p>
Regards
</p>Sue
Maybe you are looking for
-
K7n2delta-ilsr vs ms-8929-TD8X
is there a fix yet for the ti-5900 8xagp to work on the k7n2 delta? i havent been on here lately to see.
-
I can't get Pages 5.01 to open Pages files from iCloud, although they open in iCloud Pages without difficulty. I am using the most up to date version of Mavericks and Pages and can log into iCloud without any problems. Is this just a glitch? The fi
-
I can't create a empty project in Sun Java Studio Enterprise 8.1
Hello, i have a problem, i can't create a empty projects because the option is not in wizard, i only have a option "Web Application with Existing Ant Project" Why? What can i do? I only have one template!!! In other PC work OK with all templates. I r
-
Imac a1225 shimes but screen remains black... what can I do?
imac a1225 shimes but screen remains black... what can I do?
-
HT4946 Help with backing up iphone!!
Where do all my contacts get backed up to? Everything appears encrypted though I opted not to encrypt. I'm so lost.