Want to get totaly how many is insert and how the duplicate name
Hi all,
I need to insert a group of string into database it work, but I also need to know how many rows is insert, and out put the duplicat name out
My code is
while(tokens.hasMoreTokens()) {
MySec=tokens.nextToken();
while(token.hasMoreTokens()) {
rs = stmt.executeQuery("select * FROM "+table+" where Name='"+Name+"' and Segment='"+Segment+"'");
// same sequences will only allow to upload once.
int Row=0;
while(rs.next()) {
Row ++; // count rows in record.
connectionPool.returnConnection(conn);
if(Row <1){
conn.setAutoCommit(false);
//insert data into different tables
stmt.executeUpdate("insert into "+table+" ("
+ "Name, Segment, Sequence, SubType,location, SampleYear, author)"
+ "VALUES('"
+ Name + "','"
+ Segment+ "','"
+ word+ "','"
+ subType + "','"
+ loc + "','"
+ year+ "','"
+ author + "'"
+ ")");
conn.commit();
conn.setAutoCommit(true);}//end if
else{
dupli[k]=Name;
k++;}
}//in while
}out while
Thank you
Orange file?!?I.e. not the Apple file.
Similar Messages
-
After the latest update, all my apple products reverted to an old icloud account. As it no longer exists, I cannot get into it to delete it and add the correct id. How can I change this, especially on my Macbook pro? There is no p/w related to it and even though I tried to reset "password" it won't allow as the id does not exist, neither does the email associated with the old id. How do I switch it to a newer id?
It's all rather odd because the old account cannot 'no longer exist' - if you don't have the correct password you won't be able to get into it, but you can't actually delete an iCloud account from the server.
I'm afraid you will need the services of iCloud Support. If you currently happen to have AppleCare, either because you recently bought Apple hardware or have paid to extend the inititial period, you can contact them here:
http://www.apple.com/support/icloud/contact/
You will need the serial number of the covered hardware.
If you are not covered by AppleCare, then - in common with other free email services - there is no free support and you may be asked to pay a fee. -
For example, when I enter the search term "armoires" and get a search results page/tab with suggestions such as Sears, JCPenney, or Amazon, I want to be able to click on Sears and have the Sears page open in a new page/tab. I want to be able to close the Sears tab and be able to use the search results tab again.
In order to change your Firefox Configuration please do the following steps :
# In the [[Location bar autocomplete|Location bar]], type '''about:config''' and press '''Enter'''. The about:config "''This might void your warranty!''" warning page may appear.
# Click '''I'll be careful, I promise!''' to continue to the about:config page.
# Look to '''browser.search.openintab''' change its value to '''true'''.
With this configuration your search will be open in a new tab -
Other details:
First album/s- Dookie (Green Day), american idiot (green day)
and 21st century breakdown (green day)
Album with same songs in it- international super hits (green day)If I already own a song (from a different album) and the same song is in an album which I want to get, do I still have to pay for the song?
Yes.
The album which the song has been listed under (on the song's page) is listed in your library under that album. The song is then removed automatically from the first album
No it's not.
Purchasing a new song or album will not affect any other song or album in your library.
In the case of the two albums you mention, if you purchase them both, you will have the same song (different copies) in both albums. -
As a JSF Developer, I want to understand technically how the JSF View Components are rendered as html and how there events are binded to Server.I want to know how flows goes to the server and server understands the method which is to be called of managed bean. I know it is with annotation @ManagedBean and method name, but how Call is binded with annotation @ManagedBean.
In short, i want to know the internal implementation of JSF Framework.As a JSF Developer, I want to understand technically how the JSF View Components are rendered as html and how there events are binded to Server.I want to know how flows goes to the server and server understands the method which is to be called of managed bean. I know it is with annotation @ManagedBean and method name, but how Call is binded with annotation @ManagedBean.
In short, i want to know the internal implementation of JSF Framework. -
How can I get rejected photos out of LR5 and off the HD?
When I try to deleted rejected photos in LR5 on my iMac, I get a dialog saying they can't be sent to the trash. How can I get unwanted photos out of LR5 and off the hard drive?
Instead of hitting just the delete key, you need to hit ⌘+Del and one of the choices will be to remove from hard drive.
-
I am a professional photographer of many years standing and at the moment I have a student for 12 months, who I am teaching how to use various Adobe programs, but to introduce her to video editing, I have purchased Adobe Premier Elements 13 which is less complicated than the Premier Pro that I use. The program works perfectly, except for one thing.... when adding a title to the short video sequence we are working with, if I use a particular font (Metallophile Sp8) which I obtained from my Adobe Typekit, it crashes the program,.... all other fonts work perfectly....can anybody help me please?
clivephoto
What computer operating system is your Premiere Elements 13 running on? And what video card/graphics card does this computer use?
From your description, can I assume that this Mettallophile Sp8 font is being recognized by Premiere Elements 13 to the extent
that it can be seen and remains seen in Titler's list of font choices - even after the crashes?
If you opened a new project, imported nothing, and created a text title in the Titler with this Mettallophile Sp8 font, does the program crash?
Please review the following which discuss fonts and Premiere Elements and determine if anything in it helps.
Fonts & Crashes with Titler
Let us start here and then decide what next.
ATR -
I want to increase my wireless network coverage upstairs and to the other side of my house. I have an airport extreme down stairs, can I get another one upstairs and hard wire it in?
Yes.
It has been covered recently. I as interested in same question matter of fact but I will have to look up details or you could search.
Bob Timmons has contributed to this question so look his up and find it as well.
See this link;
https://discussions.apple.com/message/18017606#18017606
Also this;
https://discussions.apple.com/message/18077215#18077215
Message was edited by: WilliamNewMart, to add links and correct spelling. -
I am trying to delete duplicate photos fron my events in i-photo but it deltes the photo entirely from all events. How do I keep them in the original events and delte the duplicates without sending them all to the trash?
Are you referring to Events or Albums? A photo can exist in one Event only. However, it can be in multiple albums, books, etc., which uses pointers to the original photo in the Event. In those cases if you delete the photo from the Event all occurrences of it will be deleted from the library.
OT -
When I did my itunes match, there were some duplicated albums and songs in my library. I have gone back into my library from my computer, and deleted the duplicates. When I did so, itunes did not ask me if I wanted to delete them from the cloud. They are still showing up on my iphone as duplicates in the cloud. What can I do to get them from showing up in my iphone?
They are not on the iphone in the first place. It is just a setting that allows you to see the songs that are available in icloud, but not on your iphone. If you turn the setting to off, then you no longer see the songs that are in icloud, but NOT on your iphone.
-
I want to delete approx 100,000 million records and free the space
Hi,
i want to delete approx 100,000 million records and free the space.
I also want to free the space.How do i do it?
Can somebody suggest an optimized way of archiving data.user8731258 wrote:
Hi,
i want to delete approx 100,000 million records and free the space.
I also want to free the space.How do i do it?
Can somebody suggest an optimized way of archiving data.To archive, backup the database.
To delete and free up the space, truncate the table/partitions and then shrink the datafile(s) associated with the tablespace. -
Itunes 11.4.0.18 crashing when clicking on app store
Itunes is getting crash when clicked on app store. I tried to get some information for this crash and got the above message in debugging mode. Please fix this if required but i am unable to open app store.Click here and follow the instructions to change the iTunes Store country.
(97125) -
I am trying to change country to US for iTunes on my iPad. After I select US in account setting and press NEXT I get message: "Cannot connect to iTunes" and then "The iTunes Store could not process your request. Please true again later". Help please.
downloaded the updated iTunes and that did nothing. I then went through the form about $ very VERY carefully and discovered one field left blank. Once that was filled in, everything worked and I now have my free app.
-
Get error 101 when I try and download the trial
Hi
Get error 101 when I try and download the trial
thanks krisTroubleshoot Adobe Download Assistant
Direct Download Links for Adobe Software
Mylenium -
Getting an error when i try and download the free photoshop trial
getting an error when i try and download the free photoshop trial
I have no problem downloading the trial from http://www.adobe.com/cfusion/tdrc/index.cfm?product=photoshop_elements
If you still have these problems, try downloading from http://prodesigntools.com/photoshop-elements-12-direct-download-links-premiere.html
Make sure you follow the Very Important Instructions on that page.
Maybe you are looking for
-
How to create a workflow based on std 11i workflow
How do you create a new workflow process based on one of the std workflows embedded in the 11i apps? Thanks, Dave.
-
Want Welcome screen to open up all the time in itunes
I'm trying to sync my ipod to itunes and want the Welcome screen to appear when I open itunes. Instead, the program takes me straight to my library. How can I get itunes to always open up to my Welcome screen?
-
Short dump Error during VM container communication between ABAP and JAVA.
Hello All, Can anybody please help with resolving the following issue: Short dump is displayed, when I try to insert CRM product (type: material) in the document (opportunity). This CRM product was created in CRM directly. When I try to insert ECC mi
-
Hi, Can I use the customize xml functionality for providing multi-lingual capability for JSP reports? I have been able to replace report fields labels with foreign language/customized labels for PDF and 6i-style HTML reports. How should one go about
-
I have received some text set in Illustrator CS2. The text has been set in HelveticaRussian, an old font that is no longer available to buy. As we don't have this font, when we open the file, the text defaults to Myriad Roman (Adobe's default font) a