Home Tutorialhelp Comment Hi, This is for the first time in my life th

 
 

Comment

Renjith K. R.
Hi, This is for the first time in my life th,
March 7, 2007 at 5:45 PM

Hi,
This is for the first time in my life that i am using Hibernate. I followed the above steps mentioned and then executed the program. I came to see that the program executed succesfully.
I also got a message in the "Console" of Eclipse that,

"Hibernate:insert into contact(FIRSNAME,LASTNAME,EMAIL,ID) values(?,?,?,?)"

Then i checked the database and found that the table "Contact" was created succesfully. But it was empty and the specified values haven't inserted into it.

So i tried to find out where this "insert" statement is being mentioned. But it was in vain.

Can anyone suggest the reason for that problem and where can i find this "insert" query?

Is it possible for the user to specify the query. If yes, where?
View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Hibernate Questions

hi - Hibernate
hi  hi, what is object life cycle in hibernate 

Development process Questions

hi
hi   i want to develop a online bit by bit examination process as part of my project in this i am stuck at how to store multiple choice questions options and correct option for the question.this is the first project i am doing 

Flex Questions

Life-Cycle of flex application
Life-Cycle of flex application  hi..... Please tell me What is LifeCycle of Flex-Application? please give me the answer ASAP. Thanks ..., and happens automatically the first time that the instance is added to a parent 

Struts Questions

My first struts 2 program
My first struts 2 program  Hi, Please help me for my first struts 2... from one page to another. Details: I am trying my first Struts 2 example program. I want to pass values from first loginpage.jsp to displaypage.jsp. I 

JSP Servlet Questions

time
time  Hi. I have retrieved time from mysql database. its in th format hh:mm:ss. but i want to display only as hh:mm. wat to do? For this i already received the answer. But its converting the time in 24hr format to 12hr format 

JSP Servlet Questions

time
time  Hi. I have retrieved time from mysql database. its in th format hh:mm:ss. but i want to display only as hh:mm. wat to do? For this i already received the answer. But its converting the time in 24hr format to 12hr format 

JSP Servlet Questions

time
time  Hi. I have retrieved time from mysql database. its in th format hh:mm:ss. but i want to display only as hh:mm. wat to do? For this i already received the answer. But its converting the time in 24hr format to 12hr format 

JSP Servlet Questions

time
time  Hi. I have retrieved time from mysql database. its in th format hh:mm:ss. but i want to display only as hh:mm. wat to do? For this i already received the answer. But its converting the time in 24hr format to 12hr format 

JSP Servlet Questions

time
time  Hi. I have retrieved time from mysql database. its in th format hh:mm:ss. but i want to display only as hh:mm. wat to do? For this i already received the answer. But its converting the time in 24hr format to 12hr format 

JSP Servlet Questions

time
time  Hi. I have retrieved time from mysql database. its in th format hh:mm:ss. but i want to display only as hh:mm. wat to do? For this i already received the answer. But its converting the time in 24hr format to 12hr format 

JSP Servlet Questions

time
time  Hi. I have retrieved time from mysql database. its in th format hh:mm:ss. but i want to display only as hh:mm. wat to do? For this i already received the answer. But its converting the time in 24hr format to 12hr format 

JSP Servlet Questions

time
time  Hi. I have retrieved time from mysql database. its in th format hh:mm:ss. but i want to display only as hh:mm. wat to do? For this i already received the answer. But its converting the time in 24hr format to 12hr format 

JSP Servlet Questions

time
time format hh:mm:ss  Hi. I have retrieved time from mysql database. its in th format hh:mm:ss. but i want to display only as hh:mm. wat to do?   Here is a jsp example that fetch the time from the database and display 

JSP Servlet Questions

time
time display only as hh:mm.  Hi. I have retrieved time from mysql database. its in th format hh:mm:ss. but i want to display only as hh:mm. wat to do?   Here is a jsp example that fetch the time from the database 

JSP Servlet Questions

time
time  Hi. I have retrieved time from mysql database. its in th format hh:mm:ss. but i want to display only as hh:mm. wat to do?   Here is a jsp example that fetch the time from the database and display in different 

JSP Servlet Questions

time
time  Hi. I have retrieved time from mysql database. its in th format hh:mm:ss. but i want to display only as hh:mm. wat to do?   Here is a jsp example that fetch the time from the database and display in different 

Hibernate Questions

fIRST APPLICATION - Hibernate
fIRST APPLICATION  Dear Sir, with due respect,it is here to tell you i am beginner in hibernate.AS I M TRYING TO RUN YOUR FIRST APPLICATION OF HIBERNATE. BUT IT IS SHOWING exception Exception in thread "main   Hi friend 

Hibernate Questions

Hibernate - Hibernate
Hibernate application development help  Hi, Can anyone help me in developing my first Java and Hibernate application 

JSP Servlet Questions

time
retrieved time from mysql database  Hi. I have retrieved time from mysql database. its in th format hh:mm:ss. but i want to display only as hh:mm. wat to do?   Here is a jsp example that fetch the time from 

Spring Framework Questions

spring first example - Spring
spring first example  I am trying my first example of spring from... the simple "Hi" message ,I have created simple one jsp page and /WEB_INF/web.xml... org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/31 config=null Jul 16, 2010 2:07 

Hibernate Questions

Problem in running first hibernate program.... - Hibernate
Problem in running first hibernate program....  Hi...I am using... programs.It worked fine.To run a hibernate sample program,I followed the tutorial below and installed the hibernate tools succuccfully. http://www.roseindia.net 

Java Beginners

hi.... - Java Beginners
hi....  Hi friends i am using ur sending code but problem is not solve my code is to much large i am this code please check it and solve its very urgent   Hi ragini, First time put the hard code after 

Java Testing

DbUnit test Life Cycle
DbUnit test Life Cycle       DbUnit framework follows some steps in its life cycle... in the XML file is loaded in the database by this operation. First two steps 

Hibernate-Tutorials

Hibernate Life Cycle
This tutorial contains full description of Hibernate life cycle 

Development process Questions

pls help its eating my time:(
pls help its eating my time:(  hi am new to struts2.0 in my application i have declared a list in static how to get the static list values in my result.jsp??? if i remove the static in the list the result is getting displayed.why 

JSP Tutorials

Life Cycle of a Jsp Page
once when the container loads the servlet for the first time. _jspService...Life Cycle of a Jsp Page          Life of the the jsp page is just same 

Java Beginners

hi
hi   'print("code sample");`class example(){ public.static.void.main(); system.out.println("this is first pro");}   class example{ public static void main(String[]args){ System.out.println("this is first pro 

Java Beginners

My first Java Program
My first Java Program  I have been caught with a practical exam to do the following: Write a program that takes input from a user through the command line. The user must be prompt to enter a sentence (anything). The sentence 

Java Interview Questions

hi
hi  My program is not find java.io.File; why? help me please 

JSP Servlet Questions

Hi
Hi  how to develop Single sign-on system in my chat application 

JSP Servlet Questions

Hi
Hi  how to develop Single sign-on system in my chat application 

Hibernate Questions

hibernate - Hibernate
hibernate  hi i am new to hibernate. i wan to run a select query with oracle database. could you please help me out. my files are: package... hibernate for use SessionFactory sessionFactory = new Configuration 

JSP Servlet Questions

hi
hi  how i get answer of my question which is asked by me for few minutes ago.....rply 

Java Beginners

Hi..
Hi..  what are the steps mandatory to develop a simple java program?   To develop a Java program following steps must be followed by a Java developer : First of all the JDK (Java Development Kit) must be available 

Java Beginners

Hi
Hi   I need some help I've got my java code and am having difficulty to spot what errors there are is someone able to help import java.util.Scanner; public class Post { public static void main(String[] args) { Scanner sc 

Java Beginners

hi
in my frame should reach mysql and should get saved in a database which we've 

Java Server Faces Questions

hi
in my frame should reach mysql and should get saved in a database which we've 

JavaScript Questions

hi
the user makes the first selection, if the choice is 0, display a bill of $0.Otherwise... to the first, and then display the menu a third time.if the user types0 to quit,display 

Java Beginners

hi.......
hi.......  i've a project on railway reservation... i need to connect... enter in my frame should reach mysql and should get saved in a database which we've... for such a programme... plz help me...   Hi Friend, Try this: import java.awt. 

Hibernate Questions

hi - Hibernate
hi  Hi , Thanks for response. Could anyone tel me what is findByExample method in Basic DAO class developed by hibernate reverse engintnering process. pls suggest me the apporopriate code using the above method . pls 

Hibernate Questions

hibernate object states and life cycle
hibernate object states and life cycle  I am bit confused in between the hibernate states and it's life cycle. Can you please explain this also? also explain the persistent, detached and transient object states.Thanks 

JSP Servlet Questions

hi..
hi..   I want upload the image using jsp. When i browse the file then pass that file to another jsp it was going on perfect. But when i read that image file, we cant read that file.it return -1. and my console message 

JSP Servlet Questions

hi..
hi..   I want upload the image using jsp. When i browse the file then pass that file to another jsp it was going on perfect. But when i read that image file, we cant read that file.it return -1. and my console message 

JSP Servlet Questions

hi..
hi..   I want upload the image using jsp. When i browse the file then pass that file to another jsp it was going on perfect. But when i read that image file, we cant read that file.it return -1. and my console message 

JSP Servlet Questions

hi..
hi..   I want upload the image using jsp. When i browse the file then pass that file to another jsp it was going on perfect. But when i read that image file, we cant read that file.it return -1. and my console message 

JSP Servlet Questions

hi..
hi..   I want upload the image using jsp. When i browse the file then pass that file to another jsp it was going on perfect. But when i read that image file, we cant read that file.it return -1. and my console message 

JSP Servlet Questions

hi..
hi..   I want upload the image using jsp. When i browse the file then pass that file to another jsp it was going on perfect. But when i read that image file, we cant read that file.it return -1. and my console message 

JSP Servlet Questions

hi..
hi..   I want upload the image using jsp. When i browse the file then pass that file to another jsp it was going on perfect. But when i read that image file, we cant read that file.it return -1. and my console message 

Java-Tutorials

Life Cycle of Threads
start its life from Runnable state. A thread first enters runnable state after... Life Cycle of A Thread   ... the life cycle of thread is very valuable. While a thread is alive, it is in one 

Ajax Questions

hi - Ajax
hi  hi, i am doing Web surfing project. i used start and end... timepicker. pls clarify my doubts. how to calculate total hours by using start and end time field....total hours another textfiled in that i have to display total 

Hibernate Questions

Hibernate
of Hibernate. I followed all th steps as given in the tutorial, but a build error... not be resolved. How can i rectify that error?   Hi, The error comes when hibernate library files are not included in the project build path. Please download 

Struts Questions

how to display default radio button in struts2.0 for first time login - Struts
how to display default radio button in struts2.0 for first time login  hi, this is suresh jampala, i have one question regarding struts2.0,how can i display default radio button in struts2.0 when ever i loggedin first time 

Hibernate Questions

hi - Hibernate
hi  hi all, I am new to hibernate. could anyone pls let me know... as possible. thanks   Hi friend, Read for more information. http://www.roseindia.net/hibernate 

Hibernate Questions

hibernate firstexample - Hibernate
hibernate firstexample  Hi all. i m new with hibernate,when i m trying to run my first application i m getting following exception. Error reading resource: Employee.hbm.xml give me the solution. Thank you 

JSP-Tutorials

JSP Life Cycle
: This is the first step of JSP life cycle. This process is started when a request... for the first time and encountered an error in JSP page translation... cycle when a request is mapped to a JSP page first time. A JSP page is entered 

WebSevices Questions

First JSF Application - WebSevices
First JSF Application  First JSF application and JSF application folder structure, please help me in writing my first application using JSF. thanx :-)  Hi,Please check http://www.roseindia.net/jsf/jsf1.2 

Java Beginners

TIME SERIES DOUBT
TIME SERIES DOUBT  HI.................... In my project i am using... has color taken by it on itself by default means first series has red then yellow... we do that ??///// plz helppp plz if u have not understood my question 

Hibernate Questions

Hibernate code - Hibernate
  Hi I could reply better, first of all you tell me...Hibernate code  firstExample code that you have given for hibernate... it is hitting the DB. my hibernate.cfg : com.mysql.jdbc.Driver 

Hibernate Questions

hi i m new to hibernate..plzzzzzzzzzzzzzz help me.... - Hibernate
hi i m new to hibernate..plzzzzzzzzzzzzzz help me....  hi friends i m new to hibernate..& i m stuck in one positon in my pgm.. its a simple select...://www.roseindia.net/hibernate/selectclause.shtml Thanks.  hi deepak.. when i 

Java Beginners

details of my program - Java Beginners
details of my program  hi 1- allow the customer to order any thing... thing with many customers and print the list every time they ask for ording 3- i want to give a report for the whole saled stuff in 2 days (First and second 

Hibernate Interview Questions

Hi - Hibernate Interview Questions
Hi   please send me hibernate interview questions 

Java Beginners

different execution time - Java Beginners
. when i run first time it prints Total time taken 47 second time it prints Total time taken 16 thrid time Total time taken 78 ,why its vary, Please solve my...different execution time    hello, when i run the bellow code more 

Hibernate Questions

hibernate - Hibernate
hibernate  what is hibernate and how to make a pc hibernating?  Hi friend, Hibernate is based on object oriented concept like java... ,resultset every time. It uses ORM which is a better solution. In Jdbc we use 

Hibernate Questions

java(Hibernate) - Hibernate
java(Hibernate)  Hai Amardeep This is jagadhish.Iam giving full code of my relation program plz currect it and send to me plz thank you inadavance..., first_name varchar(20)); child table: ================= create table 

Hibernate Questions

Hibernate - Hibernate
Hibernate  when I run Hibernate Code Generation wizard in eclipse I'm getting the following error. I added ojdbc14.jar to my build path. Still I'm...;Hi Friend, Please visit the following link: http://www.roseindia.net 

Programming Tutorials

Chapter 7. CMP Entity Bean Life Cycle
Chapter 7. CMP Entity Bean Life CyclePrev Part ...;CMP Entity Bean Life CycleIdentify correct and incorrect statements or examples about the life cycle of a CMP entity bean 

Hibernate Questions

Hibernate - Hibernate
Hibernate  I am trying to connect hibernate with ejb2.0 stateless session bean, my application sucessfully deploy in weblogic server but when i...; Hi friend, For read more information : http://www.roseindia.net/ejb 

JSP Interview Questions

Jsp life cycle.
. This method is called only one time during JSP life cycle. 6.Call...Jsp life cycle.  What is JSP life cycle?   Life cycle of JSP (Java Server Page),after translated it works like servlet.It contain 7 phases 

Flex Questions

Flex Component Life Cycle
Flex Component Life Cycle  hi.... please tell me about What is Flex Component Life Cycle? Thanks  Ans: There are following pase of flex component life cycle. 1. Initialization phase 2. Update phase 3 

Java Beginners

Hi.. - Java Beginners
Hi..  Hi friends, I want to display two calendar in my form... first is date of birth and second is date of joining.....date of joining is successfully but date of birth is not why...   Hi Friend, Try 

Hibernate Questions

in connectivity - Hibernate
in connectivity  Hi,my first application in which i have used the hibernate and postgresql that progrram is running while showing no error... insertted  Hi friend, This is connectivity and hibernate configuration 

Hibernate Questions

hibernate - Hibernate
  Hi Radhika, i think, you hibernate configuration... Hibernate; import org.hibernate.Session; import org.hibernate.*; import...*,resultset*,(query|sql-query)*)". What should I do to rectify this? My 

Struts Questions

Still have the same problem--First Example of Struts2 - Struts
Still have the same problem--First Example of Struts2  Hi I tried... tried my own example. Its not displaying the "Struts Welcome" message and also the current time. I also tried the directory structure mentioned in the above link 

Management

System Development Life Cycle (SDLC)
Among all the models System Development Life Cycle (SDLC) Model is one... Life Cycle Model or Linear Sequential Model or Waterfall Method. This model... involves: Preliminary analysis: This is the first phase in which the in depth 

Hibernate Interview Questions

real time question
real time question  can you just give me the example of using hibernate in DAO classes   Hi Friend, Please visit the following link: Hibernate Tutorials Thanks 

Java Beginners

Need help with my project
Need help with my project  Uses a while loop to perform the following... in a single line with commas separating the numbers. Write the date and time as the last... from second input number to first one. import java.io.*; import java.util. 

Java-Tutorials

The Life cycle of An Applet
is begin  on that time when the applet is first loaded into the browser and called the init() method. The init() method is called only one time in the life...() method is called on that time when the user wants to go back into the first 

HTML Questions

How to disable Browser's back button (at the same time i want my own back button to be enabled) :p
How to disable Browser's back button (at the same time i want my own back button to be enabled) :p  Hi, I have designed a "back" button for jsp page. Now I want to disable Browser's default button So that people will use "back 

HTML Questions

How to disable Browser's back button (at the same time i want my own back button to be enabled) :p
How to disable Browser's back button (at the same time i want my own back button to be enabled) :p  Hi, I have designed a "back" button for jsp page. Now I want to disable Browser's default button So that people will use "back 

Hibernate Questions

Hibernate code problem - Hibernate
Hibernate code problem   Hi This is Raju I tried the first example of hibernate course material.This is to insert a record into CONTACT... the record or do we need to create the table first in the data base.  Hi 

Hibernate Questions

Hibernate code - Hibernate
Hibernate code   I am facing a problem in hibernate program. Error is ::: Error in reading contact.hbm.xml contact.hbm.xml is my hibernate mapping file.  Hi Friend, check whether you have specified correct path 

Servlets

Life cycle of Servlet
Life cycle of Servlet       This article is discussing about the Life cycle of Servlet and teaches you the Servlet Life cycle methods. As a beginner you should understand 

Hibernate Questions

Reg Hibernate - Hibernate
Reg Hibernate  Hi, Iam learning hibernate. Iam got this error /hibernate.cfg.xml not found. I have this file in my source directory. Y iam getting this error? regards usha.   Hi Read for more 

Hibernate Questions

How to run? - Hibernate
, doing MCA at Madurai in Tamilnadu. i know little bit about Jsp,Servlet.. But my friends are told hibernate is a new entry to Java. so plz try to tell how to use Hibernate code in my application?  Hi friend, Hinernate : Hibernate 

Struts Questions

Hi... - Struts
of this installation  Hi friend, Hibernate is Object-Oriented mapping tool...Hi...  Hi, If i am using hibernet with struts then require... more information,tutorials and examples on Struts with Hibernate visit 

Mobile Applications Questions

UIPopOverController - Open a second PopOverController over first UIPopOverController
UIPopOverController  How can i open a second UIPopoverController over my first UIPopoverController in my iPad application? Right now my first UIPopoverController... the first popoverController. But this time you nee little changes like.. You need 

Hibernate Questions

Hibernate error - Hibernate
Hibernate error  I had run hibernate first example but it an error appeared. Error is java.lang.NullPointerException.  Hi Friend... want more examples of Hibernate please visit the following link. http 

Hibernate Questions

Hibernate code - Hibernate
Hibernate code   example code of how insert data in the parent table and child tabel coloums at a time in hibernate  Hi friend, I am...: http://www.roseindia.net/hibernate/insert-data-database.shtml Thanks 

Struts Questions

Hi.. - Struts
Hi..   Hi Friends, I am new in hibernate please tell me... me  Hi Soniya, I am sending you a link. I hope that, this link.../struts/struts-hibernate/struts-hibernate-plugin.shtml Thanks 

Hibernate Questions

Java Compilation error. Hibernate code problem. Struts first example - Hibernate
Java Compilation error. Hibernate code problem. Struts first example  Java Compilation error. Hibernate code problem. Struts first example 

Hibernate Questions

Hi and Thanks for ur response - Hibernate
Hi and Thanks for ur response  Hi, thanks for ur immediate response.Could anyone know abt the elements generated by generic DAO classes and pls let me know what is persistenceInstance with one good example. pls explain me 

Struts Questions

My Eclipse deployed problem. - Struts
My Eclipse deployed problem.  Dear All, I am facing a problem. When First time I am deploying a web project in eclipse in jboss its fine but, when I am changing the project name by pressing 'f2' and then deploying 

Hibernate Questions

Hibernate+JSF+Spring - Hibernate
Hibernate+JSF+Spring  i am facing the same problem. i have invited in Gtalk for chating. u can suggest ur convenience time to chat, so that i can ask my queries directly. i will be highly obliged 

Hibernate Questions

Hibernate in java - Hibernate
Hibernate in java  Hi, This is Gopi, I am working... and Hibernate). Is there any body who can help me out in my task. All I want is an example in Hibernate. " How to configure a login page (user name and password 

Java Beginners

Can someone review my script for an apparent parsing error? -it isn't quite finished yet, but I want to fix error first
Can someone review my script for an apparent parsing error? -it isn't quite finished yet, but I want to fix error first   import java.util.Scanner...{ System.out.println("Incorrect"); } } }   Hi Friend, We 

Java Server Faces Questions

hi - Java Server Faces Questions
hi  Hi sir,my programe is this,the purpose is i am add my table..."); ITEMS.setBorder(title); add(ITEMS); String[] columnNames = {"First Name...); } }   Hi Friend, Try the following code: import 

Hibernate Questions

jsp-Hibernate Error - Hibernate
jsp-Hibernate Error  hi, my problem is, I designed an Interface where i am tring to listing the all rows of a table using Iterator and putted a link... from my database,but not from interface 

Hibernate Questions

hibernate update problem
hibernate update problem  HI, I integrated the struts and hibernate... time SessionFactory sessionFactory = (SessionFactory)context.getAttribute... in the print statement but my database isn't updating... Pls Help... Thanks in Advance 

Java Beginners

Time series sorce code
Time series sorce code   hi.......... I want to show the output of my project as time series. Can u give me a simple code for time series. Where i amble able to put on x-axis the date and y-axis the range.? I require the time 

Java Beginners

Time series sorce code
Time series sorce code   hi.......... I want to show the output of my project as time series. Can u give me a simple code for time series. Where i amble able to put on x-axis the date and y-axis the range.? I require the time 

Advertisements Advertisements
 

 

 

DMCA.com