Can we use function in Callable Statement?...
Comments (0) | Promote | Bookmark
sqlj execution errorSat, 09 Feb 2008 23:01:00 GMTHi,I am developing a product on sqlj. I am usingoracle8.1.6 with jdk1.2.2. I able to generate the java file and compile it. But when I execute it I get the following error.NetCNM:driver designator not found.Kindly give me a solution for the above problemWith regardsAnuradha...
Comments (0) | Promote | Bookmark
JDBC & Combo boxesMon, 24 Sep 2007 02:08:00 GMTI am tring to update a table on an SQL database using values from a combobox selection but it gives me an error saying i cant you a name, either constants and variables are allowed. please send me a sample code that reads data from a combo box ans update a certain table on my database....
Comments (0) | Promote | Bookmark
Sql loaderSun, 10 Feb 2008 02:45:00 GMTThe character set ID was obtained from the database server, theSQL*Loader client does not have knowledge of the given characterset ID. Possible mismatch of NLS data on the client and serverside....
Comments (0) | Promote | Bookmark
MS SQL Server 2000 & MS JDBC SQL Server driver problems. (ConnectionWed, 30 Apr 2008 12:06:00 GMTHi. In order for the jdbc driver to connect to the DBMS, the DBMS needs to beconfigured to listen for TCP connection requests. It does not do this by default.Ie: "Mixed mode" connections in setup. 1433 is the default port for a SQLServerto use for tcp connections. You should verify that the DBMS...
Comments (0) | Promote | Bookmark
I have a JPanel in a JInternalFrame from which I am launching a JDialog. The calling code from the JPanel class is the following:void jBtnAddProcess_actionPerformed(ActionEvent e){ProProperties newProc = new ProProperties(procBuild,constructs,this); //this here refers to the JPanel}In the ...
Comments (1) | Promote | Bookmark
Getting JTextPane's Document's content in reasonable waySun, 23 Sep 2007 10:49:00 GMTI have JTextPane, which does the following:1) changes style of text (bold, italic, underlined, possibly font size and family, but restricted to few categories)2) inserts my custom component which renders image (let's say something like JLabel with Icon), again restricted to few images.I need ...
Comments (1) | Promote | Bookmark
UI gets frozen when accessed 2nd time without closing browserTue, 25 Sep 2007 02:32:00 GMTI have written an applet using java swing. It works fine for the first time.When I close that applet without closing my browser for the second time, the applet gets loaded, but I can not type in the textbox or even can not use my mouse. In java console window it shows null pointer assignment ...
Comments (0) | Promote | Bookmark
problem in rotating & moving image at same time(JAVA)Tue, 08 Jun 2010 08:41:00 GMTHello every one im making a car game in which you have upper view problem im facing is that i cannot move and rotate the car(image) at the same time means if i press up and right arrow key at the same time i wont rotate and move which i want it to it just moves forward or rotate Any one who know...
Comments (0) | Promote | Bookmark
Help Array & JTable! Please!Wed, 30 Apr 2008 14:10:00 GMTHello Everybody!I need a help about Array and JTable, could somebody help me?I have some problems with the AbstractModel and the array!The file I want to parse is simple, because I want to copy theintegersinside my table:10 //this number is the dimension of the table = 10x101 1 1 1 1 1 1 1 1 11...
Comments (0) | Promote | Bookmark
HiI want to make a dialog or frame Transparent. Is it possible in java. Actually i want to add an gif image on the Frame container that image is in curve shape with transparency, and I want this transparency also on the Frame in the java application. I m using JFrame with setUndecorated(true). ...
Comments (1) | Promote | Bookmark
SSH with JavaMon, 24 Sep 2007 10:04:00 GMTHi there, I'm a newbie to distributed computing and was wondering if there are any free java libraries out there to do SSH?See as I may have classes on distributed host(s) which should be able to accept /SEND remote commands via SSH.Can somebody please point me into the right ...
Comments (1) | Promote | Bookmark
JEditor PaneSat, 22 Sep 2007 15:56:00 GMTi am trying to render progress message one by one in JEditorPane but it is taking to mucn time in loading .how can i improve the performance of this i am sending my code ..method public void writeMessage(String s_messageText) are used to write message in JEditoPane..plz help me!!!! public class ...
Comments (1) | Promote | Bookmark
Caret Possition ProblemSat, 22 Sep 2007 03:19:00 GMTIn regard with this question :http://forum.java.sun.com/thread.jsp?forum=31&thread=503158&tstart=0&trange=15 ...
Comments (0) | Promote | Bookmark
Accssing GPRS through mobile from PCWed, 14 Nov 2007 18:59:00 GMThi all,i need help on developing a midlet which will access the GPRS connection from my PC using the mobile as a midway.I hope there will be 2 midlets, one for the mobile (server) and the other for the PC (client).The connection between the PC and mobile will be via bluetooth (JSR-82) and/or ...
Comments (0) | Promote | Bookmark
Hi everybody,I have tried to install jsdk 1.3 on linux red hat 7.0 but i obtain one error message when i try to execute java,javac.... I dont know which is the problem. Can somebody help me? Please its importantThanks ...
Comments (1) | Promote | Bookmark
How to install NIS in Solaris8Tue, 18 Sep 2007 05:36:00 GMTI want to install NIS or NIS+ in Solaris 8. How do I do that? Any good documentation about that? ...
Comments (1) | Promote | Bookmark
Iam not getting loacal server home page in brosers.Wed, 14 Nov 2007 16:47:00 GMThellow sir,iam sridhar.I have some technical problem.I started Bea Weblogic version 8.0,Apache Tomcat version 5.0 success fully.But when iam giving url like"http://localhost:8080/manager/html" for tomcat, and url like "http://localhost:7001/console" for weblogic iam not getting servers home ...
Comments (1) | Promote | Bookmark
hs_err_pid1680.logMon, 24 Sep 2007 20:00:00 GMTi play pogo everyday and all of a sudden i cant play this game and it only does it on this particular game. but heres the log.## An unexpected error has been detected by HotSpot Virtual Machine:## EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x07047b41, pid=1680, tid=1300## Java VM: Java ...
Comments (0) | Promote | Bookmark
JNLP API on server sideTue, 25 Sep 2007 00:15:00 GMTHi,Can I install Java webstart on server and use JNLP API http://java.sun.com/j2se/1.5.0/docs/guide/javaws/jnlp/in server side code, for saving document to file using PersistentService class....
Comments (0) | Promote | Bookmark
Dear Ajith,Thanks for such a prompt and kind action!!!I am sure this step of creating separate XML Certification Forum will be of great help.I promise to support this action of yours.Regards and best wishesPurveshXML@Whiz - IBM XML Certification Test Simulator http://www.whizlabs.com/jwhiz...
Comments (1) | Promote | Bookmark
array elementSun, 13 Jul 2008 10:40:00 GMTstatic char ch;//implicitly \u0000 default value is assigned for chint[] ia = new int[1];ia[ch]=5;//line 3SOP(ia[ch]);at line 3,i am thinking like ia[\u0000] is executed.\u0000 is emptyspace.then how come ia[0] is printed....
Comments (1) | Promote | Bookmark
how does System.out.println() worksSat, 12 Jul 2008 11:51:00 GMTfrom many days i was just thinking that how does the System.out.println() works in java.I refer many books but not getting the right explanation....
Comments (1) | Promote | Bookmark
JMenuSat, 12 Jul 2008 20:44:00 GMTHi i have placed a JButton and JTextField into a JMenuItem now when the menu expands i see both of them. The problem is when i hit the button i'd like the JMenu to close, does anyone knows how to force it to colapse ?Thanks....
Comments (0) | Promote | Bookmark
Enthuware Question ID: 1074483088830Sun, 13 Jul 2008 19:05:00 GMTQuestion ID:1074483088830 Time Left: 01:27:47I say option b) Page 2 as println() on out doesn't throw IllegalStateException.They say option d) IllegalStateException at Runtime.What do you say?Question 6 of 69 (Answered Wrong)Consider the following code snippets. What will be displayed on the...
Comments (0) | Promote | Bookmark
Hi,I have been trying to open internal frames by clicking menu items but have not been able to do so because menuitems support only action listeners and not all mouse event listeners.Actually I wanted the event to return the frame n which the event has occurede.g., event,getframe(), so that I ...
Comments (1) | Promote | Bookmark
Why is my bean locked when i call methods on itWed, 16 Jul 2008 22:07:00 GMTHi,I have a been that when i call this line in ejbActivate() id = new Integer( (String)context.getPrimaryKey() ).intValue() ;i get an exception, see below. i don't know how i could have locked the bean, container transaction probably. i would think it is a depoyment config thing but i am not...
Comments (1) | Promote | Bookmark
WorkLoad MonitoringWed, 16 Jul 2008 22:22:00 GMTHi, I have to develop a [jsp/servlet/class] program which can monitor the workload , messages , byte consumes , message received , message consumed..It means it should be able to monitor all the activities going on WebLogic ...would really appreciate the suggestions ...RegardsNand KEswani...
Comments (1) | Promote | Bookmark
java null pointer exception when calling create on a localhomeWed, 16 Jul 2008 22:06:00 GMTthe subject say it all. I find the localhome, cast the result but when calling create I get the following exception. (using jboss 4.0.2).If you can help or have a pointer on the reason why. I googled extensively with no result.Alexjava.lang.NullPointerException at org.jboss.ejb.plugins.local.Loc...
Comments (0) | Promote | Bookmark
character encodingSun, 23 Sep 2007 10:15:00 GMTCan anyone help me with this?scenario:I retrieve a word file from a microsoft database where it is stored as an image object.This is done by:byte[] b = resultSet.getBytes("data");I then write this byte-array to a file in the following manner:for(int i = 0; i < b.length; ...
Hi, we've sucessfully installed inmstant messaging 6.0, however, we have a client that is unable to access this, they follow these steps - open browser (any browser in fact) and access site, click on the 'use java plugin' link - another small browser window opens and nothing else happens, I ...
Problem: JList doesn't display all items (javax.swing.ImageIcon), only several.Background: This is part of a program that animates sprites. [1] There is one pane(w/ javax.swing.JLable) that handles animation (works fine by the way) [2] and a JList that displays the current sequence being ...
Hello.I'm running iPlanet 4.1 on an HP UX box.My site in configured to use a WebLogic proxy plugin for JSPs..The problem I'm having right now is that iPlanet seems to have trouble writting my access logs. My current log format is:"%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] ...
I got certified with the 310-035 exam this week and I must say I am a little surprised how easy the exam was compared to the mock exams I was studying with for the past week and a half. I don't know if I should be proud or not because I thought this was going to be tough. I have to admit, If ...
Hi All, suppose,there are(example D drive) some files which are having paragraph ... if i give some word in search button..then i submit..now i want the file/files which is having the particular word... how to do it?please anyone can explain methanks & regards,seetharaman...
Hi all,Im new to webservices...im able to generate mapping.xml file using wsgeneratebut i dont know how do we generate webservices.xml.Im waiting for ur ...
Hello,I made two simple jsp pages that use Oracle beans (navigator bar and edit record) to edit and save a database record. My application module uses oracle database connection and it works fine.When I ran those jsp pages localy in jDeveloper, everything was fine, but after deploying and settin...
HiI would like to know more about java's JNI methods. where is a complete list of them ? for example how do i convert primitives in C++ to jint , jdouble , jintArray and vice-versa etc. ?thanks,Padmanabh....
Hi,First of all, sorry if this question has already an answer here, I tried to search the forum beofre posting without finding it.I wanted to test the JDBC type 4 database access with MS SQL SERVER 2000.So I just wrote 3 classes which do a SELECT on a user table containing special French ...
Hi,Can I install Java webstart on server and use JNLP API http://java.sun.com/j2se/1.5.0/docs/guide/javaws/jnlp/in server side code, for saving document to file using PersistentService class....