14 Posted Topics
how to export my table data which is in mysql database to a csv file I am not getting any error or exception but my csv file is empty after successful running this code. code what i did: import java.io.FileWriter; import java.sql.Connection; import java.sql.DriverManager; import java.sql.Statement; import java.sql.ResultSet; import java.sql.SQLException; …
how to interact in multiple modules, can anyone suggest any link or tutorial
I have a arraylist which i want to store in database.I am using preparedStatement so how can i pass my arraylist as parameter to store it in database. my code is: public void insertEnquiryRecord(StudentEnquiryEntity enquiryEntity) { // TODO Auto-generated method stub System.out.println(" hi from vivek.."); ConnectionFactory connectionFactory = null; connection=connectionFactory.getConnection(); …
in while bracket type: Choice.equalsIgnoreCase('n'). By this Loop will terminate on 'N' or 'n'.
Is there anyone who can start discussion on "naive bayes classifier"
I want convert the .csv file to .arff file can someone suggest what to do? my code is: package csvtoarff; import java.io.File; import weka.core.Instances; import weka.core.converters.ArffSaver; import weka.core.converters.CSVLoader; public class CsvToArff { public static void main(String[] args) { try{ String f1 = "C://Users//user//Desktop//testfold//test.csv"; String f2 = "C://Users//user//Desktop//testfold//output.arff"; // load the …
Please help me to generate random in java without using library function
Tell the error msg. It will help to sort it out
Is string primitive value in java? What is difference between primitive value and primitive data type in java? Thanks in advance.
Apply undo,redo operations on string pool. please friends help me to get its answer.
I think blank page is showing because you may not have added the jar file which is required. make sure you have added that jar file for your DB
You have written the code well. Check whether you have added the jar file required. may be this is the problem.
Frnds, My questions is "how come to know whether the number is even or odd without using %,/,bitwise operator".
The End.
vivekH