I get sick of my sequence, please somebody help me !
Hi,
I have made a form which you can use to insert a new employee.
I also have made a sequence for employee ID. It starts from 1 to
999999.
If I call my form for the first time to insert an employee the
value of my sequence is 1, of course.
But If I don't want to insert that employee right now. I close
my form. And next time I call my form again the value of my
sequence is 2 now !.
I don't have insert any employee at the mean time.
I want to increase the value of that sequence if I have add a
new employee.
Does anyone know to arrange that ?
Thanks in advance !
Chu
Hi
The drawback of using a sequence is that it doesn't care what
you are doing with the number provided. Once the sequence has
issued a new number, it forgets about it.
Why were sequences invented?
Without sequences, you have to provide your own table with a row
holding the last used number. To update, you have to lock the
table. The problem arises if you have a big number of users
doing the same task (like entering orders) - everybody is trying
to lock that single row asking for a new number - now the row is
becoming a 'hot spot', degrading the system performance to a
crawl.
Here sequences become handy: Since sequences don't have to lock
a single row, it's not degrading performance but still providing
a distinctive number. But you cannot give back a issued number.
Question: Does the emp-id really has to be an 'unbroken' line of
numbers? One point of chosing a number for a primary key is that
the number itself doesn't have a meaning in itself, so in
general, missing numbers are not a concern. In another situation
(like line-items in an order) however, missing numbers cannot be
tolerated.
In general, for an unbroken line of emp-ids, you have to build
it yourself. I know how to do it with Oracle Forms but not how
to do it with Portal Forms, I'm affraid. Maybe somebody else can
provide this....
Hope that helps
Tino
Similar Messages
-
Upgrading to 7 - Can't uninstall 6 **PLEASE PLEASE PLEASE somebody help!**
I keep trying to install iTunes 7 (have a 1G Nano), but am getting error messages. When I try to install, it gives me a box that says:
"This installation cannot directly upgrade the version of iPod software found on this computer. Please uninstall the iPod software and try again." [OK]
So, I've totally uninstalled iTunes and QuickTime and tried to reinstall, and keep getting the same message. Help!
I've searched/found anything to do with Apple/iTunes/iPod/QT,and deleted them. Deleted the Win32 Temp file too.
I've used regedit, deleted everything iTunes, Apple and Quicktime. Used MCISUU to uninstall installers.
Tried everything on the Apple support page that was suggested.
PLEASE PLEASE PLEASE somebody help!
PC Windows XP Pentium IV 1.4Ghz 1 GB RDRAMI have the same problem - it seems like the old version is stuck on my computer even though I can't see it and when I try to download iTunes again it says to remove the old version first. Is there any help for this? Should I just try to download iTunes on another computer and use that instead? I feel like there is no hope for this!
-
I have just recently got a Mac, didn't buy an anti virus or anything because the store man said it wasn't necessary.
After two weeks of use this update software notification kept poping up, so I did and now everytime I turn my Mac on the background changes.
I've heard that this is how the Mac viruses start, I'm very new to this please somebody tell me how to fix it!!There are no viruses for osx.
You are still under warranty. Call Apple Care. Make sure you get a case number as all repairs have an additional 90 days of warranty.
#1 - You have 14 days from the date of purchase to return your computer with no questions asked.
#2 - You have 90 days of FREE phone tech support.
#3 - You have the standard one year Apple warranty.
#4 - If you've purchased an AppleCare Protection Plan, your warranty last for 3 years. You can obtain AppleCare anytime up to the first year of the purchase of your computer.
Take FULL advantage of your warranty. Posting on a message board should be done as a last resort and if you are out of warranty or Apple Care has expired. -
Please somebody help Flash Media Server 4
I've installed Flash Media Server 4 (I tried on i686 and x86 with CentOS)
also have uploaded applications to /opt/adove/fms/applications/test
here what I see in log files:
Connection rejected by server. Reason : [ Server.Reject ] : (_defaultRoot_, _defaultVHost_) : Application (test/_definst_) is not a valid signed application; loading access denied.
please somebody helpAre you sure that you are using adminconsole from location which mamata specified and not using some old adminconsole from you previous installation or something. I suspect you might be using older adminconsole.swf
You can also get same information using getLicenseInfo Admin command.
Please change your Users.xml to all getLicenseInfo or All. Open Users.xml under conf directory and you should find below text:
<AdminServer>
<HTTPCommands>
<!-- Enable or disable using HTTP requests to execute admin commands. -->
<!-- Set to "true" to enable, otherwise it will be disabled. The -->
<!-- actual commands permitted for server admin and virtual host admin -->
<!-- users can be set in the Allow and Deny elements. -->
<Enable>${USERS.HTTPCOMMAND_ALLOW}</Enable>
<!-- List of server admin commands that can be accessed via HTTP. -->
<!-- Add multiple commands separated by commas. "All" indicates -->
<!-- every command (it's not recommended to allow all commands). -->
<!-- Seperate multiple commands with commas. -->
<Allow>ping</Allow>
<!-- List of server admin commands denied access via HTTP. -->
<!-- Add multiple commands seperated by commas. "All" indicates -->
<!-- every command. -->
<Deny>All</Deny>
<!-- Processing order for deny and allow command lists. "Deny,Allow" -->
<!-- means the command will be allowed if the command is in the allow -->
<!-- list or not in the deny list. "Allow,Deny" means the command -->
<!-- will be allowed if it is in the allow list and not in the -->
<!-- deny list. -->
<Order>Deny,Allow</Order>
</HTTPCommands>
</AdminServer>
</Root>
Now change above content to below content:
<AdminServer>
<HTTPCommands>
<!-- Enable or disable using HTTP requests to execute admin commands. -->
<!-- Set to "true" to enable, otherwise it will be disabled. The -->
<!-- actual commands permitted for server admin and virtual host admin -->
<!-- users can be set in the Allow and Deny elements. -->
<Enable>${USERS.HTTPCOMMAND_ALLOW}</Enable>
<!-- List of server admin commands that can be accessed via HTTP. -->
<!-- Add multiple commands separated by commas. "All" indicates -->
<!-- every command (it's not recommended to allow all commands). -->
<!-- Seperate multiple commands with commas. -->
<Allow>All</Allow>
<!-- List of server admin commands denied access via HTTP. -->
<!-- Add multiple commands seperated by commas. "All" indicates -->
<!-- every command. -->
<Deny></Deny>
<!-- Processing order for deny and allow command lists. "Deny,Allow" -->
<!-- means the command will be allowed if the command is in the allow -->
<!-- list or not in the deny list. "Allow,Deny" means the command -->
<!-- will be allowed if it is in the allow list and not in the -->
<!-- deny list. -->
<Order>Deny,Allow</Order>
</HTTPCommands>
</AdminServer>
</Root>
Once you made the change , restart FMS and FMS Admin Server.
Once both services are restarted, open a browser and put following text in address bar and hit enter (replace necessary stuff like server-ip,AdminUserId and AdminUserPassword to your FMS ip, FMS Admin User and FMS Admin Password respectively)
http://<serverip>:1111/admin/getLicenseInfo?auser=<AdminUserId>&apswd=<AdminUserPassword>
Result displayed should have which edition you are using. -
after restoring all my stuff to the new phone, i wanted to see my messages but i discovered that all my imessages are missing. i checked in settings and i dont know why but the new phone doesnt let me use my phone number for imessage or facetime, instead it's using just my apple id. any idea how can i switch to the phone number again? in my old phone i used both my number and email for imessages, so i think maybe thats why i cant see my immessages now. please somenone help me!! thank you so much
Hi Katrina - I hear what you are saying about the problems. I've been using a BB Pearl here in Canada since January and I had the same problems with PocketMac from the start. iCal dates getting strangely duplicated after syncing and contacts in AddressBook groups getting listed twice on the BB. The only solution I used was to have the Mac always override the BB when syncing. NOt perfect but for me it was the simplest way to ensure the consistency of the data and my own sanity.
If anyone has a better solution that actually allows a clean sync I'd love to hear it. -
I am making my first purchase on iTunes and since it is my first purchase, the security questions were asked. I forgot the answers to the security questions and requested for an email to reset my answers. It has been three days now and I still haven't received any email. Can somebody help me?
If you aren't getting the email, and you've checked the spam folder on your rescue email account as well as the inbox, then you could try contacting iTunes Support or Apple to get the questions reset.
e.g. you can try contacting iTunes Support : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Account Management , and then 'Forgotten Apple ID security questions'
or try ringing Apple in your country and ask to talk to the Accounts Security Team : http://support.apple.com/kb/HE57 -
HT1222 Please somebody help me! if how i can retrieve my notes?
Please somebody will help me because my note in iphone5 when i connect to itunes my notes deleted all... how i can retrieve it? thanks and regards...
Notes are designed to be synced to a supported application on the computer or a cloud service. Sync them back.
-
Please somebody help me lost audio after opened logic 9 and X at the same time helpppp
helppp please lost audio after opened logic9 and X together can't find the solution i only have audio in the main output of my audio interface gott a motu 828 MKII somebody help me please
Hello all looks normal when the problem was presented simultaneously opened LPX LP9 and when you return to open a new project or the same project and I only have audio in my headphones output interface, my interface is a motu 828Mk2 the project exists and the interface looks normal in every normal output comprises all looks normal just never sounds like it had passed but never opened the two programs at the same time not to do, I use a digital mixer yamaha normal surface responds as ccontrolador all seems to work perfect but I only have audio output from the headphones even if I motu channel by channel and I assign output sound headset
-
i updated my computer to the os x and now i can't export my videos to quicktime i got the new compressor still won't let me please somebody help
You need to update the software. This is a very old version that will not work with the current OS. Did you purchase the software from the App Store? If do sign in with the Apple ID used to buy it. Go to the Purchases page and find the software.
-
My bb curve 8520 refuses to connect to my home wifi please somebody help me
i have had my bb curve 8520 for about 6 months now a not being the most hi-tech person in the world i have just downloaded bb app world altough i have managed to sucessfuly download a couple of free new apps to my bb
( battery booster and the sky sports live football scores app ) then i tried to down load TuneIn radio app as i like to listen to music when going to sleep and was fed up with using my top-up to keep paying for single tracks off the vodafone site at first the radio app just would not download that was at 4am this morning so this afternoon i thought i would give it another try and after a quite along wait it finally downloaded brillient thinks me but then when i went to use it i tried to connect to the USE WIFI ONLY option as i had just run out of credit but the wifi just will not let me connect to this app or website whatever it is i went to the connections on the home screen and selected wifi and connected it it said it was connected sucessfully so tried the app again but to no avail i have looked through a lot of posts on this forum and tried absolutly every thing that others have suggested some even say about not having a network service plan ( which i presume is your web monthly web allowance megabytes and that i hope anyway) but i know for a fact that i have one as i pay 5 pounds a month for 500mb and when i rang my account balance number this morning to use the vodafone I.O.U service it told me that my web allowance had been used so is there any one who can help me if this is the case about some websites and apps not being available unless you have or your service is paid upto date the why has it the wifi only option on the app and after it refuses me access to this app a screen pops up saying reload the screen but right at the top of the screen next to the app name there is a red warning triangle and next to it says" IO error :Tunnel...."
please is there any body out there that can help me with this its driving me mad thank you to anyone in advance if you can help with thisplease please someone help me out T_T
«..:itufa¤Pitufo::..» -
Sequence Please.. help.....
Hi all,
I installed the Oracle9iAS and everything on a Single p4 box running WIN2K Prof.
Just after the installation I was able to see the portal home page by firing the url
http://instructor.saturn.com:7778/pls/portal.I was even able to log in using the SSO.
But i restarted the machine and then i was not able to access the portal page.The error was
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Oracle HTTP Server/1.3.22 Server at instructor.saturn.com Port 7778
till then am struggling to start it but came to know that there is a sequence in which the
services should be started.What is the sequence all about.Here i have specified all the
Oracle services.Which service should be made manual/automatic etc.??
Can anybody suggest me the correct sequence so that again i can access the home page.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Oracle OLAP 9.0.1.0.1 Manual
Oracle OLAP Agent Manual
OracleOra9ias_homeAgent Started Automatic
OracleOra9ias_homeClientCache Manual
OracleOra9ias_homeEMWebsite Started Started
OracleOra9ias_homeInternetDirectory_iasdb Started Automatic
OracleOra9ias_homePagingServer Manual
OracleOra9ias_homeProcessManager Started Automatic
OracleOra9ias_homeTNSListener Started Automatic
OracleOra9ias_homeWebCache Manual
OracleOra9ias_homeWebcacheAdmin Started Manual
OracleOra9ias_homeWebcacheMon
OracleportalAgent Automatic
OracleportalClientCache Manual
OracleportalEMWebsite Manual
OracleportalProcessManager Manual
OracleportalWebCache Started Automatic
OracleportalWebCacheAdmin Started Automatic
OracleportalWebCacheMon Manual
OracleServiceIASDB Started Automatic
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Any help will be highly appreciated.........
tons of thanks,
PrasadI'm not sure if you can run 9iAS on WIN2K Prof.
That said, whenever I have startup problems the first thing I check from the Enterprise Manager (http://yourhost:1810) is - if the OID is up and running and if not - start it. Then check if DAS, OC4J_Home and HTTP_Server are running.
Of course this assumes that the Enterprise Manager is running. You can check this in the W2K "Computer Management", "Services and Applications", then "Services". The Enterprise Manager is the xxxEMWebsite listing. If I cannot get 9iAS to come up then the following almost always works. I manually stop all 9iAS services and either restart them or re-boot.
When I stop or re-start I use the following order.
xxxEMWebsite
xxxInternetDirectory
xxxAgent
xxxProcessManager
xxxTNSListner -
TNT On Demand Unable to Sign In - Please somebody help me
This is my third plea for help. The only reason I went with FIOS was to get Showtime On Demand and TNT On Demand. I don't have a TV. I watch exclusively on line. Showtime works great. But I am unable to log into TNT On Demand. It did work two weeks ago using Chrome but not Microsoft Internet Explorer. Now neither works.
In Chrome I get the following message:
This website requires the Flash 10.2 (or higher) player.
You may upgrade your Flash plug-in by visiting the Flash Download Center.
Please note you may need to reboot your system.
I have Flash 11.6.
Then I get this:
Authentication Error
A timeout or configuration error caused this operation to fail. The error has been logged. Please try again.
In Microsoft Explorer I get no error messages. I just loop over and over to the sign on screen.
TNT help and support (which is very minimal) specifically states if we are a Verizon customer to contact Verizon customer support.
If you google this problem you will see the same complaint over and over. Then usually some Verizon person tells the customer that they will be contacted privately and I presume somehow the problem is resolved but the solution is never posted on line.
So please help me fix my problem.
I spent 45 minutes on line with someone a few days ago with no result. But he did something so that now I have to log into Facebook, Amazon, Hulu, Verizon, etc. over and over and over and my login is never saved. When a tech specialist changes a setting they ought to let the customer know what is being changed so the customer can undo it. This is most annoying.
And people, responding with "my computer works fine" isn't helpful. I know it works fine for someone else. It doesn;t work fine for me.
Pretty soon the new episodes of TNT Monday Morning and Southland will have scrolled off and I will miss them. I am getting desperate.
Solved!
Go to Solution.carolamrt wrote:
This is my third plea for help. The only reason I went with FIOS was to get Showtime On Demand and TNT On Demand. I don't have a TV. I watch exclusively on line. Showtime works great. But I am unable to log into TNT On Demand. It did work two weeks ago using Chrome but not Microsoft Internet Explorer. Now neither works.
In Chrome I get the following message:
This website requires the Flash 10.2 (or higher) player.
You may upgrade your Flash plug-in by visiting the Flash Download Center.
Please note you may need to reboot your system.
I have Flash 11.6.
Then I get this:
Authentication Error
A timeout or configuration error caused this operation to fail. The error has been logged. Please try again.
In Microsoft Explorer I get no error messages. I just loop over and over to the sign on screen.
TNT help and support (which is very minimal) specifically states if we are a Verizon customer to contact Verizon customer support.
If you google this problem you will see the same complaint over and over. Then usually some Verizon person tells the customer that they will be contacted privately and I presume somehow the problem is resolved but the solution is never posted on line.
So please help me fix my problem.
I spent 45 minutes on line with someone a few days ago with no result. But he did something so that now I have to log into Facebook, Amazon, Hulu, Verizon, etc. over and over and over and my login is never saved. When a tech specialist changes a setting they ought to let the customer know what is being changed so the customer can undo it. This is most annoying.
And people, responding with "my computer works fine" isn't helpful. I know it works fine for someone else. It doesn;t work fine for me.
Pretty soon the new episodes of TNT Monday Morning and Southland will have scrolled off and I will miss them. I am getting desperate.
For TNT online with IE when I switched to compatability mode in the browser the login began to work. Make sure your Flash settings allow for sight storage for turner.com and the adobe authorization site. Also make sure your privacy setting always accept first party and session cookies. I posted more details in another thread. -
Hello,
Can someone please help me!? I am trying to put music on my IPod and it was working the other day. I can not get itunes to recognize my Ipod. I have tried to unistall and reinstall Itunes. I have tried all the steps on the site and can't get it to come up. I tried my IPhone which was also showing up just the other day and it also is not showing in Itunes! Please help me. I need to be able to put music on my IPod for my work.I have sorted it myself!!
Ipod is now in the top right corner, last time I clicked on it, it ejected it but by clicking on the actual ipod icon then it brings up your ipod. I restored it to factory settings and synced all my music and it now works again. Hope this can help anyone who ends up with the same problem. -
Hi!
I'm trying to use Java Speech API in an applet but I get the Error message: NoClassDefFoundError.
I found out that in order to do that I need to do the following(http://java.sun.com/products/java-media/speech/forDevelopers/jsapifaq.html#applet-use):
How do I use JSAPI in an applet?
It is possible to use JSAPI in an applet. In order to do this, users will need the Java Plug-in (see http://java.sun.com/products/plugin). The reason for this is that JSAPI implementations require access to the AWT EventQueue, and the built-in JDK support in the browsers we've worked with denies any applet access to the AWT EventQueue. The Java Plug-in doesn't have this restriction, and users can configure the Java Plug-in to grant or deny applet access to the AWT Queue.
If you are using JRE 1.1:
Have your users follow these steps if your applet is based upon JDK 1.1:
Obtain a JDK 1.1.7 or better Java Runtime Environment (JRE). The reason for this is we have had problems with applet security being denied with JDK 1.1.6. Please note that the user needs the JRE and not the JDK. The JRE is freely available for download from the following URL:
http://java.sun.com/products/jdk/1.1
Before running the browser, have the user modify their CLASSPATH environment variable to include the supporting classes for JSAPI. For example, if the user has IBM's Speech for Java, have the user include the ibmjs.jar file in CLASSPATH.
Make sure any shared libraries for the JSAPI support are in the user's PATH. For example, if the user has IBM's Speech For Java, have the user include the ibmjs lib directory in their PATH (e.g., c:\ibmjs\lib).
Have the user copy the speech.properties to their home directory. A user can determine their home directory by enabling the console for the Java Plug-in. When the user accesses a page that uses the Java Plug-in, the Java Plug-in console will tell the user what it thinks the user's home directory is.
Use javakey to add your identity to their signature database (i.e., identitydb.obj). This will tell the Java Plug-in to trust applets signed by you. Information on javakey and signing can be found at the following URLS:
http://java.sun.com/security/signExample
http://java.sun.com/products/plugin/1.1.1/signed.html
Copy the identitydb.obj that was created or updated in previous step to the user's home directory (the same place where the user copied speech.properties).
Then perform these steps on your applet:
Use javakey to both create a signature database for your system and to sign your applet's jar file. This will allow the applet to participate in the security model.
Create an HTML page that uses your applet in the Plug-in. See http://java.sun.com/products/plugin/1.1.1/docs for more information on how to do this.
If the user experiences a "checkread" exception while attempting to run your applet, it's most likely due to a mismatch between the user's identitydb.obj file and the signature on your applet's jar file. A way to remedy this is to recreate your identitydb.obj and re-sign your jar file.
If you are using JRE 1.2:
The Java 2 platform's security model allows signing as done with JDK 1.1, but it also permits finer grained access control. The following are just some examples, and we recommend you read the Java Security Architecture Specification at the following URL before deciding what to do:
http://java.sun.com/products/jdk/1.2/docs/guide/security/spec/security-spec.doc.html
For a quick start, have your users do the following if your applet uses the Java 2 (i.e., JDK 1.2) platform:
Obtain the JDK 1.2 Plug-in.
Before running the browser, have the user modify their CLASSPATH environment variable to include the supporting classes for JSAPI. For example, if the user has IBM's Speech for Java, have the user include the ibmjs.jar file in CLASSPATH.
Make sure any shared libraries for the JSAPI support are in the user's PATH. For example, if the user has IBM's Speech For Java, have the user include the ibmjs lib directory in their PATH (e.g., c:\ibmjs\lib).
Have the user copy the speech.properties to their home directory. A user can determine their home directory by enabling the console for the Java Plug-in. When the user accesses a page that uses the Java Plug-in, the Java Plug-in console will tell the user what it thinks the user's home directory is.
Have the user modify their java.policy file in the Java Plug-in's security directory appropriately. There are many ways to do this. The following are just a few possibilities:
Grant all applets the AllPermission property. This is extremely dangerous and is only provided as an example. To do this, have the user modify their java.policy file to contain only the following lines:
grant {
permission java.security.AllPermission;
Grant permissions to a particular URL (e.g., the URL containing your applet). To do this, have the user add the following lines to their java.policy file:
grant codeBase "http://your.url.here" {
permission java.security.AllPermission;
The problem is that I don't understand some things, so if anybody knows something please send me an e-mail
[email protected]For example I don't know what javakey is and I don't understand what I have to do with it.
By the way do you have any idea if this is going to work for my problem?
Thanks -
Interger.parseInt (PLEASE SOMEBODY HELP ME)
I'm getting the following error when using Interger.parseInt:
C:\Binary Files>javac IntsLookup.java
IntsLookup.java:9: cannot find symbol
symbol : variable Interger
location: class IntsLookup
int x = Interger.parseInt(args[0]);
^
1 error
So, if anybody kowns how to use Interger.parseInt, Please help. Here is the code that I'm using:
import java.io.*;
class IntsLookup{
public static void main(String[] args){
try{
DataInputStream in = new DataInputStream(
new FileInputStream("IntFile"));
int x = Interger.parseInt(args[0]); //where the problem is coming
int count = 0;
while(in.available()>0){
int k = in.readInt();
if(k == x) count++;
in.close();
System.out.println(count + " occurrences of" + x);
catch(IOException e){
e.printStackTrace();
With this code I'm just trying to read a binary file called, " IntFile "...
Please help if you know. Thankx in advance.
JoyceMy point exactly. I enjoy helping people with their java problems, that's why I'm here.
If someone doesn't know it should be Interger instead of Integer, that isn't a java problem. It's a general spelling problem. I'm not going to tell them so. Instead, I'll give them some (sarcastic, yes) hints in the hope that they'll actually learn something. Like where the javadocs are.
Maybe you are looking for
-
HP Officejet Pro 8600 Printer - help for office environment/wireless network
I'm an HP person (i.e., laptob, printer, etc.). Our office had a Brothers (sorry) MFC 9840 and with it we had a desktop app that would allow us to scan, copy and fax from our personal computers. Needless to say that printer died and I bought the of
-
How can i stop my mb from sleeping when i close the lid?
Probably very obvious, sorry about that, but any help you be appreciated
-
Apple original Airport card and AEX
I have an iMac slot loading SE 600mhz and want to connect with my wireless network via Airport Express. Are there any compatibility issues witth the Apple originla Airport Card? I am about to bid on ebay but thought I should check. Any help out there
-
View of Description of Document in Different Language
Hi Experts, We maintain the description of the Documents in several languages using the transaction CV01N or CV02N. But when we tried to find all the different language descriptions, we could not find any way of cusotmising. Can anybody have come acr
-
We need to have paging in the E-text Report . Below are the Requirments For a Company A there might be 8 Accounts and we want to show just 5 on one page and next 3 on the 2nd page followed by total . Please can some one help me to acheive this . A "P