[java ee programming] Re: Lab-1020 Version problem with the JDBCSample

2009-03-18 Thread Don Brumbaugh
I had the same problem and this worked but I have another problem resolution to resolve. ClassNotFoundException: org.apache.derby.jdbc.ClientDriver SQLException: No suitable driver found for jdbc:derby://localhost:1527/sample Any ideas how to fix this one? Thanks, Don -Original Message

[java ee programming] Re: unclear new Object declaration

2009-03-18 Thread X. Yin
hi, there's no " " around null... just Manager mgr = null; Thanks XH On Wed, Mar 18, 2009 at 12:31 PM, JAaronAnderson.com wrote: > > I am trying to discern another programmer's code (good luck I know) > > In a class that tests connectivity to a datasource, the first line > after the try { op

[java ee programming] Re: Troble with program in JDBC

2009-03-18 Thread Karl
Hi Biljana, I just added a new class file to the existing project... and within the main from top down that created the two tables, populated them and then quit (I think that was all it needed). You can run it by simply right clicking on the class file in the project tree and then 'Run' You co

[java ee programming] unclear new Object declaration

2009-03-18 Thread JAaronAnderson.com
I am trying to discern another programmer's code (good luck I know) In a class that tests connectivity to a datasource, the first line after the try { opening up is a statement that I am not clear on. it is like this import model.Manager; public class DataSourceConnectionObject { public

[java ee programming] Re: please tell the solution urgently

2009-03-18 Thread Fernando Abreu
I don't know if it is the major problem but check on your code : > try{ >pw.println("entered try"); >Class.forName("com.mysql.jdbc.Driver"); >pw.println("enter for name"); >pw.print("url"); > String durl="jdbc:mysql://localhost:3306/mydb?";

[java ee programming] Troble with program in JDBC

2009-03-18 Thread Biljana Biljana
Hi! I don not know who to ask? For homework in JDBC, do we have to create project, or just add in JDBCSamler MyOwnJDBCProgram.java, class which will do everything what is given for homework, but how they run this program, why not one project which will have one bu one all classe with main functi

[java ee programming] Fw: LAB1020 Java Doc

2009-03-18 Thread Biljana Biljana
Hi! I am so sory, I just pick up, and add wrong zipp file, I download good zip file! Regards, Bilja --- On Wed, 3/18/09, Biljana Biljana wrote: From: Biljana Biljana Subject: LAB1020 Java Doc To: java-ee-j2ee-programming-with-passion@googlegroups.com Date: Wednesday, March 18, 2009, 5:40 AM

[java ee programming] LAB1020 Java Doc

2009-03-18 Thread Biljana Biljana
Hi!   I add zip file in Java Platform, first I download JDK6 Documentacion ,  change platform in to JDK1.6 where I add doc zip file, and Everything works, but when I done right click on Statement and pick up Show Javadoc, the Net Bean IDE the message: Canot perform Show Javaoc here! What is the