User Profile

Collapse

Profile Sidebar

Collapse
stmfc
stmfc
Last Activity: Apr 7 '08, 05:03 AM
Joined: May 4 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • i have checked it again, and for sure it contains data....
    See more | Go to post

    Leave a comment:


  • amitpatel66, thanks a lot for your reply.
    i tried the way that you told, but it gives the same error (no data found)...
    See more | Go to post

    Leave a comment:


  • no data found error in an "execute immediate" statement

    i dont know why pl/sql block below returns no data found error.
    do you have any idea about it?

    Code:
    declare
    c1 varchar2(80);
    c2 varchar2(80);
    begin
    execute immediate 'select col2 from table1 where col1=:c1'
    into c2 using 'AAA';
    end;
    /

    here is the definition of table:

    Code:
    CREATE TABLE TABLE1
    (
      COL1  VARCHAR2(80 BYTE),
      COL2
    ...
    See more | Go to post

  • problem after java sdk installation (jvm cannot be found)

    although i installed java_ee_sdk-5_03-windows.exe into C:\Sun\SDK
    withouth any problem.
    i get the following error:
    C:\Documents and Settings\st>jav a -version
    'java' is not recognized as an internal or external command,operabl e program or batch file.

    PATH environment variable is automatically set during this installation
    PATH=C:\Sun\SDK \bin

    what can be the problem?
    i also...
    See more | Go to post

  • stmfc
    replied to jee sdk without jdk ?
    in Java
    as far as i understand from your comment you say that:
    jdk consist of: compiler and jvm
    sdk consist of: compiler and jvm and an editor


    but the download options are:
    sdk with jdk
    and
    sdk without jdk (in this case do we download only an editor? )...
    See more | Go to post

    Leave a comment:


  • stmfc
    started a topic jee sdk without jdk ?
    in Java

    jee sdk without jdk ?

    on the web site of sun there is a jee sdk download option like this:
    dowload sdk without jdk? and you can download this binary : java_ee_sdk-5_03-windows-nojdk.exe

    what is the difference between sdk and jdk, i used to think that they refer to the same thing. but then what does an sdk binary with name like
    java_ee_sdk-5_03-windows-nojdk.exe mean?

    i am confused

    here is the link:
    h...
    See more | Go to post

  • Newbie questions for J2EE environment (Eclipse and Tomcat)

    I am very new to j2ee applications and i need some help to set up my environment.
    I have some questions:

    1-Can i use classical eclipse by adding j2ee.jar to the classpath to create dynamic web application?

    2-Are classical eclipse and eclipse web tool related to each other and working together, or are they totally seperate IDEs ?

    3- if i am using Eclipse Web Tools IDE, then do i have to do any arrangement...
    See more | Go to post

  • stmfc
    started a topic ODBC vs Oracle PreCompiler

    ODBC vs Oracle PreCompiler

    what is the relation and difference between
    ODBC and Oracle PreCompiler and OCI (Oracle Call Interface) ?
    See more | Go to post

  • stmfc
    started a topic NetBeans IDE 5.5
    in Java

    NetBeans IDE 5.5

    Hello, i compiled and run the simple hello world application using Netbeans 5.5 and i got the following error:

    ERROR: JDWP Unable to get JNI 1.2 environment, jvm->GetEnv() return code = -2
    JDWP exit error AGENT_ERROR_NO_ JNI_ENV(183): [../../../src/share/back/util.c:820]



    what can be the problem? jre version is: 1.6.0_03
    See more | Go to post

  • stmfc
    replied to odbc jdbc
    in Java
    i am still unclear with the answers of the questions in the 1st post.
    and this last explanation introduced a new question:
    if JDBC use ODBC, then what is the difference between JDBC and JDBC-ODBC bridge?...
    See more | Go to post

    Leave a comment:


  • stmfc
    started a topic odbc jdbc
    in Java

    odbc jdbc

    "The designers of ODBC aimed to make it independent of programming languages, database systems, and operating systems."
    (http://en.wikipedia.or g/wiki/ODBC)

    1- Does it mean that all (or most) programming languages can connect to a database directly using ODBC?
    or should there be a converter between programming language and the ODBC?
    for example how can we connect to oracle or mysql with an application...
    See more | Go to post

  • stmfc
    started a topic is null a keyword in java
    in Java

    is null a keyword in java

    is null a keyword in java?

    in the book "Programmer 's Guide to Java Certification, A: A Comprehensive Primer, Second Edition" by By Khalid A. Mughal, Rolf W. Rasmussen
    null true false are listed in the "Reserved Literals in Java" table not in the
    "Keywords in Java" table.

    but in the mock exam of the same book answer of one question is given as:
    "Java has a keyword...
    See more | Go to post

  • stmfc
    started a topic event handling
    in Java

    event handling

    hi,
    for an event handling mechanism,
    we need an event object. (the object where the event actually occur)
    and we need an event handler,
    and we need a registration of the event handler to the event object(generato r)

    in java, we can create a generator class by extending EventObject class.
    we can create an event handler class by implementing EventListener interface.

    for registration we...
    See more | Go to post

  • stmfc
    replied to problems in a simple GUI application
    in Java
    thanks a lot for the quick reply.
    i corrected line 22, now its ok,
    but still i have the "text cannot be resolved" error on line 8 of the code for the 2nd class. whats the problem here?

    and i am using eclipse, do you think that i should worry about compiler flags?
    See more | Go to post

    Leave a comment:


  • stmfc
    started a topic problems in a simple GUI application
    in Java

    problems in a simple GUI application

    i have two classes located in default package, and i got the following errors:
    for the 1st class on line 22: ActionClass cannot be resolved
    for the 2nd class on line 8: text cannot be resolved

    for the first error, the two classes are public and stays in the same package so why cannot see each other?

    for the second error, text variable has no access modifier (friendly access),
    so it should be seen...
    See more | Go to post

  • stmfc
    replied to multithreading without importing Thread class
    in Java
    thanks for your reply.
    one more question, what is the full list of classes imported implicitly?
    all classses in java.lang package?
    See more | Go to post

    Leave a comment:


  • stmfc
    started a topic multithreading without importing Thread class
    in Java

    multithreading without importing Thread class

    how can a multithreaded code can be compiled succesfully without importing Thread class?

    the example below is taken from marcus green mock exam 1:

    Code:
    public class Rpcraven{
    	public static void main(String argv[]){
    	Pmcraven pm1 = new Pmcraven("One");
    	pm1.run();
    	Pmcraven pm2 = new Pmcraven("Two");
    	pm2.run();
    
    	}
    }
    
    class Pmcraven
    ...
    See more | Go to post

  • stmfc
    started a topic problem with java syntax
    in Java

    problem with java syntax

    i didnt understand the syntax in the code below at line 3.
    there is an object creation of type Thread but the stament dont have any
    terminating semi-colon, instead there is a block opening.
    and the block ends at line 12.
    what kind of syntax is this? is there anybody to explain me?
    (i guess it that this is not an advance topic, it is likely to be related with basics of java, but i could not figure out)
    ...
    See more | Go to post

  • stmfc
    started a topic static local variables
    in Java

    static local variables

    as far as i know we can declare static local variables in C++,
    cannot we do the same thing in java?
    See more | Go to post

  • stmfc
    started a topic getting table definitions via jdbc

    getting table definitions via jdbc

    hi,
    is there anyway to get the definitions of tables in MySql using java programming?

    i want to get the info like: how many columns does the table have, what are the names of the columns, data types of the columns etc...
    See more | Go to post
No activity results to display
Show More
Working...