Result re set assign the question.
Just a matter of a novice. I have a code like
ResultSet rs = psmt.executeQuery ("a request here");
iterate on the rs.
RS = psmt.executeQuery ("some other request here");
on Finally,.
RS. Close();
My question is will it create two instance on rs and the other closed left and another cavities not blocked or will he close the two ResultSet?
Kind regards
A.
Ananth Durai says:
The real question is on the issue finally {rs.close}, will it be close instance?
No, it won't. Close() is called on the currently referenced object. This is why I pointed out that you should close when done with them resources. Before even thinking of assigning the same variable to another instance and before the variable is out of range.
If you need two sets of results in the same scope, use two variables. You can close both in the same finally block.
It will cause the memory leak?
No doubt. I don't do JDBC, so I'm not going to say categorically that it will be.
DB
Tags: Oracle
Similar Questions
-
I had installed and configured EPMA.
Now I install the architect of performance as a separate component management.
After you set this up, what are the elements I have to reconfigure to take account of the architect performance management?You will probably need to download the Oracle client on the machine hosting EPMA, you can download the http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html client
Once you have configured the EPMA, you must configure the Foundation > webserver > This will allow of EPMA be accessible from the workspace.See you soon
John
http://John-Goodwin.blogspot.com/ -
set up the question and request
Hello
I recently brought the 2545 printer, 2 issues: one is around the whole. I am not able to connect to network for wireless printing. Help, please. and 2nd: can I print a color as a B & W print word doc? What would be the way to do it?
Thank you!
Marcel
Press the WIN(Windows) key and the X key to bring up the Menu power user.
Select the control panel.
Select View devices and printers.
Right-click on your printer icon, then select Printing Options.
-
EPMA install and set up the question
Hello
EPMA requires IIS to IIS components or uses server? Can be deployed on any server in a distributed envrionemnt or must it be with another component of the EPM works correctly.
Pointers to install step by step documentor link will be useful...
Thanks in advance!EPMA uses IIS, the EPMA server component must be deployed on a windows computer, web applications can be deployed on windows / * nix
See you soon
John
http://John-Goodwin.blogspot.com/ -
question to set all the parameters of the base area at the same time
Hi all
I have a question on the setting of the mode settings to develop.
According to the literature, we can decrease the parameter (highlight, shadow, white black... etc) in shortcut "+", "-".
but he didn't set a parameter.
Can I use hotkey to adjust all the parameters of the base area (exposure, contrast, highlight, shadow black, white), at the same time.
All the increase or decrease together.
(DO NOT USE PRESET)
and how do I do?
Thank you very much
Longo
Click the icon in the shape of triangle to the right of the custom word - see image below.
-
In the face of the question and try to set the affinity through VCO workflow rule
In the face of the question then to attempt to set the affinity through VCO workflow rule I'm trying to write workflow VCO to set up the level of affinity of cluster, but it throws the error message cannot convert ClusterComputeResource 'mycluster' to com.vmware.vim.vi4.ClusterConfigSpec (Workflow: create vm-virtual machine affinity rule / Scriptable task (item1) #19) my script to workflow is var rule = new VcClusterAntiAffinityRuleSpec(); Rule.Key = - 30; Rule.enabled = true; Rule.Name = ruleName; rule.userCreated = true; Rule.VM = MV; var clusterSpecRules = new Array(); var clusterSpecRule = new VcClusterRuleSpec(); clusterSpecRule.operation = VcArrayUpdateOperation.add; clusterSpecRule.info = rule; clusterSpecRules.push (clusterSpecRule); var clusterSpec = new VcClusterConfigSpec(); clusterSpec.rulesSpec = clusterSpecRules; var m = computeCluster.vimHost //spec = task = computeCluster.reconfigureCluster_Task (computeCluster, spec, true); Note: In the above code, what are the entry parameter computeCluster entered type parameter VC:clusterComputeResource ruleName is a parameter of type String - APR
Here is the code I use, give it a shot.
var affinitySpec = new VcClusterAffinityRuleSpec();
affinitySpec.enabled = true;
affinitySpec.name = att_ruleName;
affinitySpec.userCreated = true;
affinitySpec.vm = att_vmArray;var clusterRuleSpec = new Array (new VcClusterRuleSpec());
clusterRuleSpec [0] = new VcClusterRuleSpec()
.operation clusterRuleSpec [0] = VcArrayUpdateOperation.add;
clusterRuleSpec [0] .info = affinitySpec;var clusterConfigSpec = new VcClusterConfigSpecEx();
clusterConfigSpec.rulesSpec = clusterRuleSpec;att_task = att_clusterComputeResource.reconfigureComputeResource_Task (clusterConfigSpec, true);
-
I have a note of galaxy tablet. with photoshop touch in English, my question is can be set for the Spanish program
I could have sworn that PS Touch takes example of Android 'language & entry' slot parameter settings. for example, if it is set to English, then tap PS will be in English.
-
A question on the setting of the CDP.
I have a question on the setting of the CDP of vCLI Scripting Guide.
Of the guide, it is said:
Set the CDP for a vSwitch. You can set the State down, to listen, to advertise, or both.
vicfg-vswitch < conn_options > - set - COP 'listen '.But in this command, it does not specify a virtual switch. How can I specify a? Or I need to specify a virtual switch?
Thank you.
You must specify the vSwitch when you configure CDP
for example
vicfg-vswitch - esx4.4.primp - industries.com - username - two set - cdp server root vSwitch0
-
Is it possible to use advanced actions to set the value of the question?
Hi - I am trying to develop a course of Captivate 4 and wish I could on slide enter advanced use of actions to check the value of a user variable, and if the variable is equal to x then set the value of the question (correct) 1. Is there a system variable, that I can use to define?
This course is to download a package to an LMS (Moodle) SCORM.
Ideas/suggestions would be greatly appreciated.
Unfortunately, Captivate is not currently a way to manipulate SCORM score via advanced Actions and the user or System Variables.
So that you could have OnSlideEnter check and set the value of a variable, you don't have a way to use this information to force sending a question slide.
-
Retrieve and display a result set using the dynamic sql?
Hi all
How would display a result set in Oracle using the dynamic SQL? Reason being, the table where I'd retrieve and display the result set is a GLOBAL TEMP TABLE created in a stored procedure. If I try to use the loop as usual, the compiler complains that the table does not exist. This makes sense because the compiler does not recognize the table because it is created dynamically. Here is an example:
create or replace PROCEDURE maketemptab IS
sql_stmt VARCHAR2 (500);
OutputString VARCHAR2 (50);
BEGIN
-create temporary table
sql_stmt: = ' CREATE of TABLE TEMPORARY GLOBAL globtemptab (id NUMBER, col1 VARCHAR2 (50))';
EXECUTE IMMEDIATE sql_stmt;
dbms_output.put_line ('... created table ');
-Insert a row into the temporary table
sql_stmt: = "INSERT INTO globtemptab values (1, 'some data of a test')';"
EXECUTE IMMEDIATE sql_stmt;
dbms_output.put_line ('... inserted row ');
-Insert a row into the temporary table
sql_stmt: = ' INSERT INTO globtemptab values (2, "some more test data");
EXECUTE IMMEDIATE sql_stmt;
dbms_output.put_line ('... inserted row ');
-Select the row on temporary table
sql_stmt: = 'SELECT col1 FROM globtemptab WHERE id = 1';
EXECUTE IMMEDIATE sql_stmt INTO outputstring;
dbms_output.put_line ('... selected line: ' | outputstring);
-drop temporary table
sql_stmt: = 'DROP TABLE globtemptab;
EXECUTE IMMEDIATE sql_stmt;
dbms_output.put_line ('... moved table ');
-display the result set
for tabdata loop (select col1 from globtemptab)
dbms_output.put_line ('... test of recovered data are' | tabdata.col1)
end loop;
end;
In short, how to rewrite the SQL below the comment "to display the result set" using the dynamic sql?
Thank you
Amedeo.Hello
Try this:
CREATE OR REPLACE PROCEDURE maketemptab IS sql_stmt VARCHAR2(500); outputstring VARCHAR2(50); v_cursor SYS_REFCURSOR; v_col1 VARCHAR2(30); BEGIN -- create temp table sql_stmt := 'CREATE GLOBAL TEMPORARY TABLE globtemptab(id NUMBER, col1 VARCHAR2(50))'; EXECUTE IMMEDIATE sql_stmt; dbms_output.put_line('...table created'); -- insert row into temp table sql_stmt := 'INSERT INTO globtemptab values (1, ''some test data'')'; EXECUTE IMMEDIATE sql_stmt; dbms_output.put_line('...row inserted'); -- insert row into temp table sql_stmt := 'INSERT INTO globtemptab values (2, ''some more test data'')'; EXECUTE IMMEDIATE sql_stmt; dbms_output.put_line('...row inserted'); -- select row from temp table sql_stmt := 'SELECT col1 FROM globtemptab WHERE id=1'; EXECUTE IMMEDIATE sql_stmt INTO outputstring; dbms_output.put_line('...row selected: ' || outputstring); OPEN v_cursor FOR 'SELECT col1 FROM globtemptab'; LOOP FETCH v_cursor INTO v_col1; EXIT WHEN v_cursor%NOTFOUND; dbms_output.put_line('...test data retrieved is' || v_col1); END LOOP; CLOSE v_cursor; -- drop temp table sql_stmt := 'DROP TABLE globtemptab'; EXECUTE IMMEDIATE sql_stmt; dbms_output.put_line('...table dropped'); END; /
Kind regards
-
Question about setting up the integration of siebel beep
Hello
I am new to siebel environment, I installed siebel and try to configure the integration beep part
Step 1:
I stopped the services of siebel, and then I copied the siebel to siebel tools driectory srf file and then imported the pix files and compiled
and then I try to configure the service to start, deleted files existing integration and wsdl file and then imported xmpl I compiled. Now my quesiton is before you start the siebel service, should I copy the srf file compiled the directory from the siebel server and start the server using this framework of strategic results? then configure the incoming serviceYes, you must copy the compiled objects srf /
folder on the Siebel server. Check the Doc ID 546999.1 on support.oracle.com to find more information about repositories and changes in the repository.
It will be useful,
Wilson
-
HFM another set hierarchy in place the question
Hello!
I need to set up another hierarchy who said ' keep company (a company consolidated level) then company B (one of her children) him. I can see how to set up the hierarchy which would add things together, but not how to set one up that would have subtracted from another entity.
If someone has been able to do this successfully? Is this possible? If so, please help :)
Thank you!
KristenThere is no easy way to do it. You couldn't have something with the rules, but I wouldn't recommend it. Why not establish a hierarchy that omits the entity you want to take away or create a new node that does not include it.
-
Ask to install or assign the certificate on the 2013 Lync Server default
Hi, I'm in the middle of installing Lync Server 2013 and is stuck on the process "Request, install or assign the certificate on the Lync Server default 2013". Whenever I get this error...> Assign the certificateGame-CSCertificate-Type by default, WebServicesInternal, WebServicesExternal-A872BC92C77A1BF921085E54333C820AFA8A3AE7 footprint - confirm: $false - report "C:\Users\administrator. LOCAL\AppData\Local\Temp\1\Set-CSCertificate-[2013_07_13][21_58_52].html ".
WARNING: The 'A872BC92C77A1BF921085E54333C820AFA8A3AE7' certificate has an expiration more than five years in the future.
WARNING: The name of the subject of the certificate "WMSvc-MSLYNC" does not match the name of FQDN full computer (FQDN) "mslync.local.lab".
ATTENTION: Other object names "' certificate 'A872BC92C77A1BF921085E54333C820AFA8A3AE7' do not contain the names of calculated replacement 'mslync.local.lab, dialin.local.lab, meet.local.lab, admin.local.lab, LyncdiscoverInternal.local.lab, Lyncdiscover.local.lab.
The following certificate was awarded for the type "Default":
Default: A872BC92C77A1BF921085E54333C820AFA8A3AE7 WMSvc - MSLYNC 08/07/2023 CN = WMSvc-MSLYNC 61F3BE44FA5E45BD4547A73F8057D533
The following certificate was awarded for the type "WebServicesInternal":
WebServicesInternal: A872BC92C77A1BF921085E54333C820AFA8A3AE7 WMSvc-MSLYNC 08/07/2023 CN = WMSvc-MSLYNC 61F3BE44FA5E45BD4547A73F8057D533
The following certificate was awarded for the type "WebServicesExternal":
WebServicesExternal: A872BC92C77A1BF921085E54333C820AFA8A3AE7 WMSvc-MSLYNC 08/07/2023 CN = WMSvc-MSLYNC 61F3BE44FA5E45BD4547A73F8057D533
ATTENTION: The "Set-CSCertificate" treatment completed with warnings. '3' warnings were recorded during this execution.
WARNING: The detailed results are "C:\Users\administrator. LOCAL\AppData\Local\Temp\1\Set-CSCertificate-[2013_07_13][21_58_52].html ".Hi Kumarajit,
The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.
http://social.technet.Microsoft.com/forums/Lync/en-us/home?category=LyncHope this information helps. -
How to assign the value to the application-level element
Hello
I'm learning to APEX. I use version 4.2.6.
My question is, I set a text field called 'FINANCIAL_YEAR' in the login page. I wanted to know how to assign this value to a text element of Application level (on page sent), so that I can get this value through at my request.
Thank you
-Anand
anand_gp wrote:
Yes, I created a 'text area' under 'HTML' in the 'Home' page Who accepts the exercise of a table through LOV. I intend to assign this value to a global variable so that this variable can be read in any of the application to filter the result set from different tables (not yet built the rest of the application). To do this, I was intending to use "Shared components"-> "Elements of Application". I'm still not quite sure how it works.
Start by reading the documentation on elements of application.
Go to the shared components > Application parts and create your G_FINANCIAL_YEAR item. Value Session State Protection Restricted - can not be set the browser so that the value is not editable by the user, falsification of URLS or scripts.
On the home page, if there is not already a button to submit the value of the fiscal year, add one in the HTML area, with the Action as a submit Pageclick. Otherwise, you can do without the button and using submit Page in Page Action when the changed value select the parameter in the list so he can undergo.
Then, in the section of the Page processing, create a calculation:
Point Type: Application-level element
Calculate Item: Application: G_FINANCIAL_YEAR
Point calculation: After submit
Type of calculation: Value of the element
Calculation:
Run the application, select a value in the list of the fiscal year and submit the page. Review of current session state in the viewer of session state by clicking on the link of Session in the toolbar developer. Select the Elements of Application in the view list, and then click set. The element of your application and its current value must be visible. You can now reference value throughout your application by using the appropriate syntax.
You should also consider if a default value (for example the current year) using a calculation Application from the point of calculation on the new Instance and coordinate the application point and part of the homepage using point application as the Source of value or an expression with Source page element, the value always, replacement of value that exists in the session state.
-
Quick way to assign the IDs table header cells to data?
Acrobat X (10.1.9)
For the accessibility of tables with complex headers, is there a quick way to assign the ID of the header cells to data associated with them? I have not found a way faster than go to one cell at a time.
All tags already have an ID, this question is how quickly assign the ID of header cells to all data cells in a row or a column.
Better yet, is there a function or plugin that looks like to a table column and line and automatically assigns the headers for all data cells?
I used the Table Inspector in Acrobat and several years of the CommonLook plug-in version. Both allow you to set several properties for all the cells in a selection. And they act as if they fortunately put header IDs for multiple cells, but after clicking OK and watch the cell properties, TI is not set for any of them, and CL only sets it to the first cell that has been selected.
I prepare a PDF file of scientific reports for Section 508 compliance. Often, they are hundreds of pages long and got the results of large tables. Some clients insist on complex headers. Cell by cell is surprisingly long.
I am running the latest version of CommonLook and manages to assign very well identification tags. You can select multiple cells and assign them to a header. You can also select the same cells and assign them to another heading using "Append". This will add the new header, without deleting the header already assigned. In earlier versions Append has not worked for me. That's what you need, if you have complex tables for a long time. If you get the latest version and this isn't the case call Technical Support, as the plugin does not work correctly. The Touch Up reading order tool does not.
I sometimes create a white/hidden text for the header text that spans several columns and then create individual
to keep them, but I wouldn't rely on it for long tables or use it as my main method. It's a pretty quick solution in some cases - or if your author likes to let in line 1, column 1 white, you can create your own invisible header for the screen reader. But it is too difficult to verify, and not the best route to follow. Also the hidden text is considered a no-no by some as it is supposed to be a drop out / drop behind or mistake to layout.
Maybe you are looking for
-
Safari 10.0 and twitch.tv
After the update that I can't change the quality twitch.TV it seems that safari is looking for html5 player, but it doesn't have a tip on how can I make it works again with Flash player? the video plays always but on the automatic mode of the quality
-
What happened at the sight of split with iOS 10 on iPad? Before the download, I could open next to safari pages or other apps.
-
Research on the Internet are taken hostage by a - 63.209.69.107
When I search on the internet, I keep getting hijacked by 63.209.69.107. I ran several spyware but may not get as this removed from my computer. How can I remove this? Check your simple answers because I'm no where near an expert with this stuff. Tha
-
Xbox Live call disconnection after every 10 Minutes.
First of all, I am aware of the number of threads on this subject... but I couldn't find a solution after almost a year of searching for a solution. Then... I apologize for this o_o Anyway, here's how I put things up: Paul (provided by ISP) modem > L
-
Optex slide and film window 7 driver
I need a driver for a scanner for film and slides monopod for windows 7. the. I've had is for Vista. I have not found anything to replace this driver. Maybe someone could help me with the tht. enjoy. I thank.