Persist Table selection Across Sessions
Hi,
JDev 11.1.1.5.0
I've an use case on 'Persisting Table selection Across Sessions'.
I've a three regions in a page.
Region1 contain three structure with around 6 levels.User can select required nodes from the tree.
Then click on Update cmd button. Now Region 2 & Region 3 will be refreshed on Update cmd button
click.
Region2 lists metadata info of all the selected nodes in a table format.
Region3 contains some statistic information.
Conclusion:
Region1 - Tree structure
Region2 - Table Structure
Region3 - Statistics form
So far, I've achieved this. Now User can select rows from the table in region2 and then click on
Save cmd button.
I Need to save selected rows accross the sessions.
Usecase perpose:
The table contains very huge content. User might not able to complete his job on one day. So user
want to save his selection and save for today then continue with same tomorrow also.
At the end, selection list going to patch process.
I tried my level best to explain my usecase.
Please let me know, if you have any suggestion to achieve my usecase.
Thanks,
Samba.
Hi Akash,
Thanks for your quick response.
I've doubt on your suggestion. Please correct me, if my understanding is correct. I need to add one more column in the DB table for selection status.
Here my doubt is: How can I handle the scenario, if the same row is selected by more than one user?
can I create a separate table with below details
Name:(PK)
Table content references CLOB: List of all Primary Keys of selected rows.
It seems to be completely programmatic approach. Looking for best option similar to 'Saved Search' functionality.
-Samba.
Similar Messages
-
Persist saved query across sessions
I have an Query Panel with Table, built from a View Object. The panel has a "Save" button that allows users to save queries, but it works only for a single session. Is it possible to make it work across sessions?
I'm using JDeveloper 11.1.1.5.0Yes you can save it across sessions - for this you'll need to enable MDS on your system.
http://andrejusb.blogspot.com/2009/09/persisting-query-criteria-results.html -
The "Pin as app tab" produces tabs that do not persist across sessions. I have this problem on two installations (PC and laptop, both running Win7), and it's really annoying (since the Permatab Mod no longer works in Ff4). Can you offer any assistance?
App tabs and Tab Groups (Panorama) are stored as part of the session data in the file sessionstore.js in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder]
* http://kb.mozillazine.org/Session_Restore
Make sure that you do not use [[Clear Recent History]] to clear the "Browsing History" -
Global Variables across sessions in PL/SQL package Specification
Hi,
Is there a way I can share a variable value across sessions that doesnot affect by Commit/rollback.
The value would be set by one session and is visible across sessions, until it is set to another value by another/same session, and the new value is visible across.V$Session is not granted to the user executing this. So, had to go with the context. Finally could resolve with the following code.
Run by DBA
create or replace context ctx1 using USER_procowner.pkg_global accessed globally;
grant execute on dbms_session to USER_procowner;
Run by user_procowner
create or replace package user_procowner.pkg_global AS
procedure set_lock(in_val IN VARCHAR2);
Function get_lock RETURN VARCHAR2;
end pkg_global;
create or replace package body user_procowner.pkg_global AS
procedure set_lock(in_val IN VARCHAR2) IS
begin
dbms_session.set_context('ctx1','var1',in_val);
end;
Function get_lock RETURN VARCHAR2 IS
begin
return (Sys_context('ctx1','var1'));
end;
end pkg_global;
grant execute on pkg_global to user_procuser;
exec user_procowner.pkg_global.set_lock('Y')
select user_procowner.pkg_global.get_lock Lock from dual;
LOCK
Y
exec user_procowner.pkg_global.set_lock('N')
select user_procowner.pkg_global.get_lock Lock from dual;
LOCK
N
The current value of var1 is visible across sessions using user_procowner.pkg_global.get_lock.
Thanks to all contributors. -
Objects spanning across sessions in 9i
Hi!
As I know, for 8i, you cannot have a Java class objects which could span across sessions. How about 9i?
Is there any way to use an object across different sessions?
In our application 'the object' contains our metadata information and is created by loading from an XML file. The object itself is quite big and if we are going to create it for each session we'll have a huge memory overhead.
Thanks, NickNick:
You might want to try creating a GLOBAL TEMPORARY TABLE for 'the object' and have the XML tagged to it. Presumably, you could then have your Java class object reference 'the object'.
Check out the Oarcel 8i Application Developer's Guide for syntax info on GLOBAL TEMPORARY TABLE. This table can be created either session wise or transaction wise.
Hope this helps.
-- Prasenjit.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Nicolae Nedelcu ([email protected]):
Hi!
As I know, for 8i, you cannot have a Java class objects which could span across sessions. How about 9i?
Is there any way to use an object across different sessions?
In our application 'the object' contains our metadata information and is created by loading from an XML file. The object itself is quite big and if we are going to create it for each session we'll have a huge memory overhead.
Thanks, Nick<HR></BLOCKQUOTE>
null -
In the af:table selected row need to display in the next page?
Hi,
I am using jdev 11.1.2.3.0.
I tried one sample application, in that jspx page, I am having the af:table and button in my view activity. In that table select one row and click on the button that time, the navigation page always show the first row. Suppose I select the 5th ro and navigate the page also displaying the first row only. So I don't know how to proceed this? Kindly suggest me.
Regards,
RaguHi Timo,
I used the selectionListener tag also.
Anyway Here I posted my jspx page.
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<f:view>
<af:document title="EmployeesView.jspx" id="d1">
<af:messages id="m1"/>
<af:form id="f1">
<af:panelCollection id="pc1">
<f:facet name="menus"/>
<f:facet name="toolbar">
<af:toolbar id="t2">
<af:commandButton text="Edit Employee" id="cb1" action="Edit" />
</af:toolbar>
</f:facet>
<f:facet name="statusbar"/>
<af:table value="#{bindings.EmployeesVO.collectionModel}" var="row" rows="#{bindings.EmployeesVO.rangeSize}"
emptyText="#{bindings.EmployeesVO.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.EmployeesVO.rangeSize}" rowBandingInterval="0"
filterModel="#{bindings.EmployeesVOQuery.queryDescriptor}"
queryListener="#{bindings.EmployeesVOQuery.processQuery}" filterVisible="true" varStatus="vs"
selectedRowKeys="#{bindings.EmployeesVO.collectionModel.selectedRow}"
selectionListener="#{bindings.EmployeesVO.collectionModel.makeCurrent}" rowSelection="single"
id="t1">
<af:column sortProperty="#{bindings.EmployeesVO.hints.EmployeeId.name}" filterable="true" sortable="true"
headerText="#{bindings.EmployeesVO.hints.EmployeeId.label}" id="c1">
<af:outputText value="#{row.EmployeeId}" id="ot1">
<af:convertNumber groupingUsed="false" pattern="#{bindings.EmployeesVO.hints.EmployeeId.format}"/>
</af:outputText>
</af:column>
<af:column sortProperty="#{bindings.EmployeesVO.hints.FirstName.name}" filterable="true" sortable="true"
headerText="#{bindings.EmployeesVO.hints.FirstName.label}" id="c2">
<af:outputText value="#{row.FirstName}" id="ot2"/>
</af:column>
<af:column sortProperty="#{bindings.EmployeesVO.hints.LastName.name}" filterable="true" sortable="true"
headerText="#{bindings.EmployeesVO.hints.LastName.label}" id="c3">
<af:outputText value="#{row.LastName}" id="ot3"/>
</af:column>
<af:column sortProperty="#{bindings.EmployeesVO.hints.Email.name}" filterable="true" sortable="true"
headerText="#{bindings.EmployeesVO.hints.Email.label}" id="c4">
<af:outputText value="#{row.Email}" id="ot4"/>
</af:column>
<af:column sortProperty="#{bindings.EmployeesVO.hints.PhoneNumber.name}" filterable="true" sortable="true"
headerText="#{bindings.EmployeesVO.hints.PhoneNumber.label}" id="c5">
<af:outputText value="#{row.PhoneNumber}" id="ot5"/>
</af:column>
<af:column sortProperty="#{bindings.EmployeesVO.hints.HireDate.name}" filterable="true" sortable="true"
headerText="#{bindings.EmployeesVO.hints.HireDate.label}" id="c6">
<f:facet name="filter">
<af:inputDate value="#{vs.filterCriteria.HireDate}" id="id1">
<af:convertDateTime pattern="#{bindings.EmployeesVO.hints.HireDate.format}"/>
</af:inputDate>
</f:facet>
<af:outputText value="#{row.HireDate}" id="ot6">
<af:convertDateTime pattern="#{bindings.EmployeesVO.hints.HireDate.format}"/>
</af:outputText>
</af:column>
<af:column sortProperty="#{bindings.EmployeesVO.hints.JobId.name}" filterable="true" sortable="true"
headerText="#{bindings.EmployeesVO.hints.JobId.label}" id="c7">
<af:outputText value="#{row.JobId}" id="ot7"/>
</af:column>
<af:column sortProperty="#{bindings.EmployeesVO.hints.Salary.name}" filterable="true" sortable="true"
headerText="#{bindings.EmployeesVO.hints.Salary.label}" id="c8">
<af:outputText value="#{row.Salary}" id="ot8"/>
</af:column>
<af:column sortProperty="#{bindings.EmployeesVO.hints.CommissionPct.name}" filterable="true" sortable="true"
headerText="#{bindings.EmployeesVO.hints.CommissionPct.label}" id="c9">
<af:outputText value="#{row.CommissionPct}" id="ot9"/>
</af:column>
<af:column sortProperty="#{bindings.EmployeesVO.hints.ManagerId.name}" filterable="true" sortable="true"
headerText="#{bindings.EmployeesVO.hints.ManagerId.label}" id="c10">
<af:outputText value="#{row.ManagerId}" id="ot10">
<af:convertNumber groupingUsed="false" pattern="#{bindings.EmployeesVO.hints.ManagerId.format}"/>
</af:outputText>
</af:column>
<af:column sortProperty="#{bindings.EmployeesVO.hints.DepartmentId.name}" filterable="true" sortable="true"
headerText="#{bindings.EmployeesVO.hints.DepartmentId.label}" id="c11">
<af:outputText value="#{row.DepartmentId}" id="ot11">
<af:convertNumber groupingUsed="false" pattern="#{bindings.EmployeesVO.hints.DepartmentId.format}"/>
</af:outputText>
</af:column>
</af:table>
</af:panelCollection>
</af:form>
</af:document>
</f:view>
</jsp:root>
After click the Edit Employee button it should navigate the another page and which record I choose. -
My Photoshop CS 5 has some strange actions when I copy a portion of a photo using the clone stamp to transfer to another part of the image. It carries the entire layer (not just the stamps selection) across the screen and I cannot place it where I need to. It appears as if I selected the entire layer on purpose (which I did not)
The below items appeared when I opened Photoshop CS 5:
“Photoshop has encountered a problem with the display driver and has temporarily disabled G & U enhancements. Check the video card malfunctions website for latest software. GPU enhancements can be enabled in the performance panel of preferences.”
(I believe this started after the automatically updated Windows was applied. It was coincident with the before mentioned problem . . . but I don’t really know if it had anything to do with it. )For the Clone Stamp problem, check the Clone Source panel and Clipped is probably unchecked.
If so, check Clipped and see if that makes a difference.
(Window>Clone Source)
As to the video card problem:
Which version of windows are you using?
What is the make and model of your graphics card?
Do you know which update windows installed? -
Missing table selection toolbar in acrobat 9 pro
Hi,
I had been using acrobat 6.0 and there was a dedicated table selection toolbar such that when i clicked it, table selection could be done anytime. But in acrobat 9, the table selection has to be done by right clicking each time. This is tiresome as my pdf document have large numbers of tables at different locations. How can i bring the tool back in acrobat 9? or is there another way round so that i dont have to right click each time?
Please help.The table icon left, but to get the same result you simply select the columns with the ALT or Shift key held down (don't remember which one). This option selects text in a region. That might do the job. Typically the ability to get the columns right depends on the table being tagged properly. That might be the issue you are having that the tags do not exist.
I just printed a PDF from an Excel page and then used the instructions in the manual to copy. It opened in a new Excel page just fine and in a column form. Here are the instructions from the manual for AA9 Pro:
Copy tables and charts
If it is not already selected, click the Select tool .
Highlight the entire table or the rows and columns to copy.
To force Column Select mode, press Alt as you drag a rectangle over the column of text.
Right-click the selection, and choose one of the following options:
Copy As Table
Preserves formatting when you copy the table to Excel. In Excel, use the Paste Special command and select XML Spreadsheet.
Save As Table
Lets you paste the table to a new file.
Open Table In Spreadsheet
Opens the table in a CSV-compliant application, such as Excel.To copy a table in RTF, drag the selected table into an open document in the target application. -
In the uix guidelines i found the following example on how to handle table selection:
public static EventResult doSelectionEvent(BajaContext bc, Page page,
PageEvent event)
DataObject tableRows = new PageEventFlattenedDataSet(event, "table1");
int index = SelectionUtils.getSelectedIndex(tableRows);
String name = "Nothing Selected";
// make sure that something was selected:
if (index>=0)
DataObject row = TABLEDATA.getItem(index);
name = row.selectValue(null, "name").toString();
EventResult result = new EventResult(page);
result.setProperty("action", event.getName());
result.setProperty("name", name);
return result;
It is not clear to me what TABLEDATA is.
I read in some other thread that it is a DataObjectList and it represents the 'stored dataObjects'.
I suppose '_TABLE_DATA' is not real code, may i ask for an example with real code to understand what it is?
Thanks.This code works for me, I hope it is useful.
(NB: i fear you will not read correctly the line
with the getRowAtRangeIndex instruction. It's a problem with the editor).
Mauro
package view;
import javax.servlet.http.HttpServletRequest;
import oracle.adf.controller.struts.actions.DataActionContext;
import oracle.adf.controller.struts.actions.DataForwardAction;
import oracle.cabo.ui.beans.table.SelectionUtils;
import oracle.cabo.ui.data.ServletRequestDataSet;
import oracle.jbo.ApplicationModule;
import oracle.jbo.Row;
import oracle.jbo.ViewObject;
public class GestEsAction extends DataForwardAction
// To handle an event named "yourname" add a method:
// public void onYourname(DataActionContext ctx)
public void onValida(DataActionContext ctx)
ServletRequestDataSet ds = new ServletRequestDataSet(req,"ReEsamiRichView12");
int[] indices = SelectionUtils.getSelectedIndices(ds);
ApplicationModule am = ctx.getBindingContainer().
getApplicationModule();
ViewObject vo = am.findViewObject("ReEsamiRichView1");
int len = indices.length;
String idEsameRich, currStato;
for(int i=0; i<len; i++)
Row row = vo.getRowAtRangeIndex(indices);
idEsameRich = row.getAttribute("IdEsameRich").toString();
currStato = row.getAttribute("Stato").toString();
if (currStato.equals("E"))
row.setAttribute("Stato","V");
am.getTransaction().commit();
// To override a method of the lifecycle, go to
// the main menu "Tools/Override Methods...". -
Bug in the table selection size
An annoying bug in Table controls (LV 8.5/Windows XP/ MacOS 10.5)
When dealing with whole rows/colums (click in the row/column header), the Table Selection Size is always wrong :
when columns are selected, the overall table size is returned,
when rows are selected, the right row number is returned, but the column number is set to 1 !..
The attached vi shows the problem.
Chilly Charly (aka CC)
E-List Master - Kudos glutton - Press the yellow button on the left...
Attachments:
Table select bug.vi 17 KBSince this bug was a showstopper for my application, I spent some time trying to find a workaround...
Found one by accident. I don't understand why it works : it should not do anything :
Detect a mouseUp event in the row/column headers, then read the Selection start position and write it back in the... Selection start position (ie : do nothing) ! That's enough to get the right value out of the Selection size...
The attached vi illustrate the above story.
Chilly Charly (aka CC)
E-List Master - Kudos glutton - Press the yellow button on the left...
Attachments:
Table select bug.vi 28 KB -
Does WCF-OracleDB adapter support XMLType data for table select operation
I am getting this error When I do the consume adapter service for Oracle table select operation on one of the tables which has XMLType column. It's working fine for other tables.
Microsoft.ServiceModel.Channels.Common.MetadataException: Retrieval of Operation Metadata has failed while building WSDL at 'http://Microsoft.LobServices.OracleDB/2007/03/XXXX/Table/table_name/Select' ---> Microsoft.ServiceModel.Channels.Common.MetadataException:
Incorrect Type: XMLTYPE. Possible causes: 1. Permission issue 2. Unsupported type.
at Microsoft.Adapters.OracleDB.OracleCommonMetadataResolverHandler.ResolveTypeMetadata(String nodeId, TimeSpan timeout, TypeMetadataCollection& extraTypeMetadataResolved)
at Microsoft.ServiceModel.Channels.Common.Design.MetadataCache.GetTypeMetadata(String uniqueId, Guid clientId, TimeSpan timeout)
at Microsoft.ServiceModel.Channels.Common.MetadataLookup.GetTypeDefinition(String typeId, TimeSpan timeout)
at Microsoft.Adapters.OracleDB.OracleCommonMetadataResolverHandler.ResolveTypeMetadata(String nodeId, TimeSpan timeout, TypeMetadataCollection& extraTypeMetadataResolved)
at Microsoft.ServiceModel.Channels.Common.Design.MetadataCache.GetTypeMetadata(String uniqueId, Guid clientId, TimeSpan timeout)
at Microsoft.ServiceModel.Channels.Common.MetadataLookup.GetTypeDefinition(String typeId, TimeSpan timeout)
at Microsoft.Adapters.OracleDB.OracleCommonMetadataResolverHandler.ResolveOperationMetadata(String operationId, TimeSpan timeout, TypeMetadataCollection& extraTypeMetadataResolved)
at Microsoft.ServiceModel.Channels.Common.Design.MetadataCache.GetOperationMetadata(String uniqueId, Guid clientId, TimeSpan timeout)
at Microsoft.ServiceModel.Channels.Common.Design.WsdlBuilder.SearchBrowseNodes(MetadataRetrievalNode[] nodes, WsdlBuilderHelper helper, TimeoutHelper timeoutHelper)
--- End of inner exception stack trace ---
Server stack trace:
at Microsoft.ServiceModel.Channels.Common.Design.AdapterExceptions.ThrowMetadataException(String errorMessage, Object arg, Object source, Exception innerException)
at Microsoft.ServiceModel.Channels.Common.Design.WsdlBuilder.SearchBrowseNodes(MetadataRetrievalNode[] nodes, WsdlBuilderHelper helper, TimeoutHelper timeoutHelper)
at Microsoft.ServiceModel.Channels.Common.Design.WsdlBuilder.GenerateOperationSchemas(WsdlBuilderHelper helper, MetadataRetrievalNode[] nodes, TimeSpan timeout)
at Microsoft.ServiceModel.Channels.Common.Design.WsdlBuilder.GetWsdl(MetadataRetrievalNode[] nodes, Uri uri, TimeSpan timeout)
at Microsoft.Adapters.OracleCommon.OracleCommonWsdlRetrieval.Microsoft.ServiceModel.Channels.Common.IWsdlRetrieval.GetWsdl(MetadataRetrievalNode[] nodes, Uri uri, TimeSpan timeout)
at Microsoft.ServiceModel.Channels.Common.Design.MetadataExchanger.ProcessMetadataGet(Message message, Uri target, TimeSpan timeout, MetadataLookup metadataLookup)
at Microsoft.ServiceModel.Channels.Common.Design.MetadataExchanger.ProcessMetadataMessage(Message message, Uri target, TimeSpan timeout, MetadataLookup metadataLookup, Message& replyMessage)
at Microsoft.ServiceModel.Channels.Common.Channels.AdapterRequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.ServiceModel.Channels.IMetadataRetrievalContract.GetMetadata(MetadataRetrievalNode[] nodes)
at Microsoft.ServiceModel.Channels.Tools.MetadataSearchBrowse.MetadataPanel.GetWsdl(MetadataRetrievalNode[] nodes)
at Microsoft.ServiceModel.Channels.Tools.MetadataSearchBrowse.MetadataPanel.btnProperties_Click(Object sender, EventArgs
My table has XMLType column which is also included for select.
ThanksHi Van&boatseller,
The duplicate thread has been deleted, and thanks for your feedback.
Best regards
Angie Xu
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
I was trying to draw a tables with 11 rows and 3 rows as a starts to try to make address labels. Downloading an Avery template didn't work. I opened the Inspector on a word processing blank page but none of the selections worked. "Body rows" and "body columns" were inoperable. Do I have a flaw in the Pages program that came with the iWorks?
Hi 'plexed,
Use the yellow Table button in the tools to insert a table. With any cell in the inserted table selected, the Table Inspector an all its controls become active.
Regards,
Barry -
below i post my code :
import java.util.*;
import java.sql.*;
import java.io.*;
import com.hxtt.sql.*;
public class backofficeDbfVerification {
public backofficeDbfVerification(String path) throws SQLException {
Properties prop = new Properties();
prop.setProperty("user", "");
prop.setProperty("OtherExtensions","true");
prop.setProperty("Version Number", "03");
try {
Class.forName("com.hxtt.sql.dbf.DBFDriver").newInstance();
connection = DriverManager.getConnection("jdbc:DBF:/"+path, prop);
catch (ClassNotFoundException classnotfoundexception) {
System.out.println("could ot find HXTT class, make sure the classpath have been defined in your system !");
catch(Exception e) {
System.out.println(e.getMessage());
public void createBadRecord(String table, String newtable, int blth) throws SQLException {
Statement stmt = connection.createStatement();
String insert = "insert into \""+newtable+"\" select * from \""+table+"\"";
boolean bInsert = stmt.execute(insert);
stmt.close();
public static void main (String args[]) {
String path = "C:\\MASTER\\SOURCEDATA\\AREA";
try {
backofficeDbfVerification test = new backofficeDbfVerification(path);
test.createBadRecord("source\\area\\123.AA2","source\\area\\others\\89964568.AA1");
catch(SQLException sqx) {
System.out.println("Error "+sqx.getMessage());
i try to perform simple query : insert into tablea select from tableb which has same structure. the source table has only 9 rows, but the process ran very long time, no error message raised,it just run and never end (which make me upset for the whole day).
i have tried another simple query : insert into table1 values (1,2) using the same driver and execute successfully.
is it becoz of function limitation since i used evaluation copy ?Copy the answer from HXTT's support forum:
No function limitation. I just tested:
create table testa1 select * from test;
insert into testa1 select * from test;
Passed.
I also run your backofficeDbfVerification.java sample. Passed too. I'm using the same code as you. The difference is only my 89964568.AA1 and 123.AA2 is simulative tables files. If possible, please zip your 89964568.AA1 and 123.AA2 and email to [email protected] Thanks.
BTW, I pasted the little modified backofficeDbfVerification.java below:
import java.sql.*;
import java.util.*;
public class backofficeDbfVerification {
Connection connection;
public backofficeDbfVerification(String path) throws SQLException {
Properties prop = new Properties();
prop.setProperty("user", "");
prop.setProperty("OtherExtensions", "true");
prop.setProperty("Version Number", "03");
try {
Class.forName("com.hxtt.sql.dbf.DBFDriver").newInstance();
connection = DriverManager.getConnection("jdbc:DBF:/" + path, prop);
catch (ClassNotFoundException classnotfoundexception) {
System.out.println("could ot find HXTT class, make sure the classpath have been defined in your system !");
catch (Exception e) {
System.out.println(e.getMessage());
public void createBadRecord(String table, String newtable) throws
SQLException {
Statement stmt = connection.createStatement();
String insert = "insert into \"" + newtable + "\" select * from \"" +
table + "\"";
boolean bInsert = stmt.execute(insert);
stmt.close();
public static void main(String args[]) {
String path = "f:\\dbffiles";
try {
backofficeDbfVerification test = new backofficeDbfVerification(path);
test.createBadRecord("source\\area\\123.AA2",
"source\\area\\others\\89964568.AA1");
catch (SQLException sqx) {
System.out.println("Error " + sqx.getMessage());
} -
SAP Business One Print Layout Designer.
In Properties, Content Tab, Source Type Database.
How do I select additional tables. When I select the dropdown arrow and I do not see the table I want, I wasnt to select a new table.
I did this before, but do not remember. For example in the Vendor Check Register Report, I want to print the BP Name instead of the BP code. In the table selection I want to add the OCRD table to select the BP NameHi
Hold "ALT" button and click the database field to select the table, henceforth the additional tables will be displayed
Edited by: kambadasan on Jun 3, 2011 7:04 PM
Edited by: kambadasan on Jun 3, 2011 7:05 PM -
Hai Experts,
I have a small doubt in bsp appllication,
shall we write like...
<htmlb:tableView id="TV_VBAK" table= "//SELECT/I_VBAK">
I am using Class
ZCL_CONTROLLER_SALES1
in controller.
thanks in advance...
with regards
babuhai
than q for ur reply.
point will be rewarded...
with regards
babu
Edited by: babu rs on Mar 5, 2008 4:49 PM
Maybe you are looking for
-
Hello. I have two devices and two accounts, so what i want is this: I only want to store mail from both accounts in a remote place and copy most important mails to local folders. (I will be grateful for any ideas as to where/how this "cloud" can be -
-
How do I download iTunes to my dell pc?
I am trying to download iTunes onto my Dell home pc. Any help I can get will be greatly appreciated! I click on "Download iTunes" and pops up a box that asks me if i want to save the file. I click save and immediately the site says, "thank you for
-
Font weight has no effect in legend in flex 4
Font weight,Font size has no effect in legend in line chart. Also i have trouble with date time axis.What should i do about it
-
I have an icloud account that I created on my work computer. When I came home, I tried to log in so that I could get all my purchases in one place. Een though I have my correct Apple ID, it is telling me I do not have an icloud account, but i Know
-
Best practice for ASA Active/Standby failover
Hi, I have configured a pair of Cisco ASA in Active/ Standby mode (see attached). What can be done to allow traffic to go from R1 to R2 via ASA2 when ASA1 inside or outside interface is down? Currently this happens only when ASA1 is down (shutdown).