Haroon idrees

Greenhorn
+ Follow
since Jan 09, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Haroon idrees

I tried my different test but still not returning table name I set resultsetmetaoptions in difrent ways kindly help below in my code.I checked this code on 11g and 10g express edition
i use oracle jdbc driver which available for 11g

String driver = "oracle.jdbc.driver.OracleDriver";

Class.forName(driver);
//String jdbcUrl = "jdbc:oracle:thin:@localhost:1521:xe";
String jdbcUrl = "jdbc:oracle:oci:@localhost:1521:xe";
// String jdbcUrl = "jdbc:oracle:oci:@localhost:1521:xe?ResultSetMetaDataOptions=1"; thrown exception invalid sid
// String jdbcUrl = "jdbc:oracle:oci:@localhost:1521:xe;ResultSetMetaDataOptions=1"; thrown exception invalid sid

Properties p=new Properties();
java.util.Properties info = new java.util.Properties();
info.put ("user", "******");
info.put ("password","******");
info.put ("ResultSetMetaDataOptions",1);
Connection conn = DriverManager.getConnection(jdbcUrl,info);

Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery("SELECT * FROM product");
ResultSetMetaData rmd = rs.getMetaData();

for (int i = 1; i <= rmd.getColumnCount(); i++) {
System.out.println("column MetaData ");
System.out.println("column number " + i +" = " +rmd.getColumnName(i));

// get the designated column's table name.
}
System.out.print("table name"+ rmd.getTableName(1) +" schema "+rmd.getSchemaName(1) +" "+ rmd.getCatalogName(1));
Hello
I need to save the web page using java in the same manner browser do.when i save the page using save as button in browser it save some page content( which i think content which have relative path in page) into disk with web page source. Any buddy give me idea how can i save page source with its content as browser i saw many parser and api some capture whole website like htmlparser or most of the web site save only page source thanks

Haroon [email protected]
16 years ago
where i can see passing condidate results on web
Hi
I have Pass SCMAD Thanks God
Any one Tell Can I see all results of all SCMAd's condidate on web
Assalam-u-alaikum
what about your papar . how was is that . please reply this thread describing your experice.
Haroon idrees
SCJP ,J2ee iBM ,XML IBM
Hello
where i find the questions of these answer please give me link
SCJP,XMLby IBM ,J2ee By IBM
hello
According to the jtwi spec 1.0 section 2.1.6 pg 22
Volatile memory for Java runtime (for example,the
Java Heap) 256 KB
And
According to the cldc 1.1 section 2.2.1 pg 22
At least 32 kilobytes of volatile memory2 is
available for the virtual machine runtime
(for example, the object heap.)
And
According to the midp 2.0 spec pg 14
128 kilobytes of volatile memory for the
Java runtime (e.g., the Java heap)
Can you guys tell me that what is actual heap size is recommended and
what is Certification point of view.
Haroon Idrees
SCJP ,J2ee ibm, XML ibm
Hello
any one tell me where i find whizlab 4.0 for uml OOAD