Home Tutorialhelp Allcomments Hibernate Hibernateormapping

 
 

Comments

 
User Comments for the tutorial:

Understanding Hibernate O/R Mapping



Advertisement
Comments

Hi really it is very useful for those who just wa
Hi really it is very useful for those who just want to learn in their very first attempt Once thanks for this publication 

Really very helpful for the beginners. Thanks f
Really very helpful for the beginners. Thanks for the Tutorial 

This is great and an easy way to explore hybernate
This is great and an easy way to explore hybernate ,thanks to rosenet india 

Hello there, I found this tutorial very interesti
Hello there, I found this tutorial very interesting. And its easy to learn. But a bit more depth in concept is required. Thanks for the tutorial. 

Really amazing stuff from the roseindia. keep it
Really amazing stuff from the roseindia. keep it up guys. 

It is very help full for the beginners. And give
It is very help full for the beginners. And give some more infomation( in depth). 

Rally Helpful for Brginers... Thanks to Roseindia
Rally Helpful for Brginers... Thanks to Roseindia 

Can you tell us the exact difference b/w Increment
Can you tell us the exact difference b/w Increment and Sequence in the Id generator 

thanks for your tutorial, is very nice for me im
thanks for your tutorial, is very nice for me im begginer hibernate user  

hi this is very nice.but we want more detailed.
hi this is very nice.but we want more detailed. 

I have run FirstExample.java and getting inserting
I have run FirstExample.java and getting inserting records done. But in database there is no record. How is this happens??? 

If my table contains primary key that is combinati
If my table contains primary key that is combination of more then one column in database then what column value will be given in id tag 

this is a great tutorial many many thanks
this is a great tutorial many many thanks 

hey its really useful tutorial for understanding
hey its really useful tutorial for understanding basic architecture about hibernate. But need some more in depth.  

It's really very intresting for those who r begine
It's really very intresting for those who r begineer.Give some more information in depth for xml files. Again thanks once again 

It's really a good tutorial for the beginners who
It's really a good tutorial for the beginners who wanted to learn the basics of hybernate and understand the architecture 

Thumps up for the Author. Excellent tutorial for t
Thumps up for the Author. Excellent tutorial for the beginners. Still some more in-depth examples are required. Good Job roseindia.... Satya 

Is it possible to use hibernate with MsAccess, wha
Is it possible to use hibernate with MsAccess, what's the dialect for Access 

Hi This is very nice
Hi This is very nice 

can u help me how to run hibernate with oracle 10i
can u help me how to run hibernate with oracle 10i,here is the config file,it says JDBC Driver class not found: oracle.jdbc.driver.OracleDriver <?xml version='1.0' encoding='utf-8'?> <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibern 

Can any one tell me how to run hibernate in WSAD.
Can any one tell me how to run hibernate in WSAD. when i try to run the example given here it shows an unsupported class version error. 

This is very very good web site for beginners. Re
This is very very good web site for beginners. Really very good job done by rose india. Thanks. thanks a ton 

Thanks RoseIndia Author This was really a great t
Thanks RoseIndia Author This was really a great tutorial i got pretty good kowledge about hibernate by reading and folowing these examples  

This is a really gud tutorial to start learning hi
This is a really gud tutorial to start learning hibernate.kudos to the author. 

While running the hibernate application i m gettin
While running the hibernate application i m getting these errors please help me... log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment). log4j:WARN Please initialize the log4j system properly. /hibernate.cfg.xml not  

Its really amazing. I was not knowing about hibern
Its really amazing. I was not knowing about hibernate.But now i m feeling better.Its really good for beginners. 

while running the pgm iam getting an error- class
while running the pgm iam getting an error- class not found...com.mysql.jdbc.driver...i have added all jar file for the connections to mysql...plz help me... 

It's very nice and helpful tutorial for me. I w
It's very nice and helpful tutorial for me. I want to know that Can I should use cache class or should go without cache class. Because our project is on JSF,Spring and Hibernate Architecture. And it's contain very large Database. So If I used cach 

Gud one
The best for beginners to understand teh clear picture of hibernate. Thx roseindia 

Hibernate - WSAD example
We require an example program to build with the WSAD tool 

error while executing hibernate example
iam getting the following error can anybody help me out log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment). log4j:WARN Please initialize the log4j system properly. Exception in thread "main" java.lang.NoClass 

Creat Table Query
Hi Here is dll you can use for createing table. create table hibernatetutorial.`contact` (`id` int not null, `firstname` varchar(50), `lastname` varchar(50), `email` varchar(50), constraint hibernatetutorial.`PRIMARY` primary key (`id`)); And a 

problem in importing hibernate file like org.hiber
hi friends i am very very beginner of hibernate.I am using eclipse IDE .I download the example hibernate examples from here and try to run that ..i am getting error at the place of importing org.hibernate.and the correnponding places what should i 

hibernate Error
problem parsing :configuration/hibernate.cfg.xml ANy onr can tell me why this error id appera when i m rum my application 

hibernate Error
problem parsing :configuration/hibernate.cfg.xml ANy onr can tell me why this error id appera when i m rum my application 

Driver
To Deepa, You have to get a mysql-connector-java-5.0.7.zip file for the driver. Unzip it and give the classpath. Then only u can use the com.mysql.jdbc.Driver 

solution of coomon errors
check the xml files. change the database name and create the tables.// 

Nice Tutorial
It is really a nice tutorial for new bie 

getting problem
Hi when i run the firstexample.java .it is showing in the console that row inserted .buty when i check in teh db throgh query i am not getting any row in the table . please tell me where i may have to look into, 

classnot found
you have got an error because it is not found your driver class.  

error in cfg file
hi, your cfg file is ok pls check with this. <hibernate-configuration> <session-factory> <!-- Database connection settings --> <property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property> <property name="h 

comments
Hi, your explanation and example is too easy and too great for a newly reader. 

comment
Can u please send me some document of hibernate. 

Good Example.
Thanks, This is a very easy and good example for Hibernate beginers. 

pls explain for me.
After i run your first example code, program run succesful, but i checked tables after that, it is empty. pls explain. thanks. 

Database Values
the values are not being placed in the DB because there is missing two lines of code in FirsteExample.java SessionFactory sessionFactory = new Configuration().configure().buildSessionFactory(); session = sessionFactory.openSession(); //thi 

Unknown entity: roseindia.tutorial.hibernate.Conta
Hi, When i am running the firstclass.java,i was able to see the below error. Can anybody please help me with this.. log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment). log4j:WARN Please initialize the log4j system  

data not getting inserted into table
It's the same question that someone has asked before but I don't see the answer being posted. I tried the example code, the schema gets created, but data is never inserted into the table Contact. What to look and how to get it working? Thanks. 

one to many hibernate
hi, i dint get solution for one to many still. I tried out the above given code too. can u give me the proper steps or site for proper tutorial to be followed? 

one to many
hi team, we did one to one hibernate mapping. we are trying one to many mapping.But its difficult for us. Can u help us? And can anyone provide good tutorial for solving this??Thanks in advance 

CORRECTING A FEW MISTAKES IN THE PREVIOUS POST
Just to correct a few mistakes in my previous post. If you create a table whose id field is AUTO INCREMENT, you will have to change the file contact.hbm.xml. This is necessary to specify that the id generation is auto increment(the current id gen 

How to insert data into database?
SessionFactory sessionFactory = new Configuration().configure().buildSessionFactory(); session =sessionFactory.openSession(); //Create new instance of Contact and set System.out.println("Inserting Record"); C 

Great
Very easy to understand for the beginners but, I request the roseindia team to publish it with out any errors and list out the jars and their usage in the application. 

Hibernate
Hi Basically i am newly reader for Hibernate.How can run a simple Hibernate Web Application on NetBean5.5 IDE.How i use Jdbc with Hibernate. sanjeev 

Thanks to roseindia.net team
thank u very much to roseindia team am trying to learn hibernet for last few months. have a lot of books also. that books r not helped to me. with in two days i learned very well by using this. small request is publish with out errors. that is  

Comments
Very good material to beginners 

Mine blowing site for java
This site realy helful to me and so many people got help from your side.Very very much thanks to you for this type helpful site......thak you very much........... 

Notes
Plz, forward detail material of hibernate 

language problem
Because the author's command of english is so poor, I find this tutorial too difficult to understand and finally I have to give up! 

Log4j & Data not getting updated
for the log4j warning...place the "log4j.properties" file in the root directory of your project. log4.properties -------------------- ### direct log messages to stdout ### log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.s 

thank u
i was working on a project in which i have to use Hibernate technology but i did not know how to use it.i visited ur website and it helped me alot and now i m able to work with hibernate.thanks alot 

able to fetch data into database
package roseindia.tutorial.hibernate; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.Transaction; import org.hibernate.cfg.Configuration; public class FirstExample { public static void main(String[] 

Issue in the FirstExample.java
code should have org.hibernate.Transaction tx = session.beginTransaction(); after opening the session and tx.commit(); after saving the session 

Rating
This is an excellent tutorial 

Hibernate example not working
On console it shows Hibernate: insert into CONTACT (FIRSTNAME, LASTNAME, EMAIL, ID) values but doesn't insert into the table CONTACT 

null pointer exception
I have tried to run the above example in eclipse, however, it is giving the error as "log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment). log4j:WARN Please initialize the log4j system properly. Exception in thread "ma 

Hibernate Execution
Hi, I exexuted the projects its running below output inserting recird is display,then i saw the database there no value is updated. 

program ran fine but contact did not save...
same as two person asked before, program ran fine but contact did not save... 

Regarding Generator Classes
Thr r so many generator classes so please descrbe all this . 

Data not saved in the database
The program running successfully but the data has not saved in the database. the console log is : Inserting Record Done Hibernate: insert into CONTACT (FIRSTNAME, LASTNAME, EMAIL, ID) values (?, ?, ?, ?) 

about this site
these lesions are very use full for us and we can learn lot of thinks. about Hibernate thank for this. 

hibernet run problem
when i am running the project following problem are dispay log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment). log4j:WARN Please initialize the log4j system properly. Inserting Record Done Exception in thre 

Solution for save problem
use the below property in hibernate config file <property name="hibernate.connection.autocommit">true</property>  

appriciation
Thanks for providing huge services I wish you all the best keep it up 

Related Tutorial and Articles
Struts Questions

Hi
Hi  Hi this is really good example to beginners who is learning struts2.0 thanks 

Struts Questions

Hi - Struts
very urgent....   Hi friend, I am sending you a link...Hi  Hi friends, must for struts in mysql or not necessary please tell me its very urgent....I have a only oracle10g database please let me 

JSP Tutorials

JSP Tutorials Resource - Useful Jsp Tutorials Links and Resources
by progressing from very simple examples to complex examples. For best progress... working.  The early examples might seem very simple; please have patience... of a dynamic site. This tutorial will show you how to do just 

General Information

What you Really Need to know about Fashion
What you Really Need to know about Fashion You might think that this is not a very important aspect or activity, but there are a couple of things you should know about fashion, even if you are not really interested in following 

Web Development

Social Media Marketing: Do you really need it?
you are really facing is losing some time without a useful result. Even so... not really pay much attention to what is being presented, they might just go...Social Media Marketing: Do you really need it? Social Media Marketing might 

PHP Tutorial

Why Web Development with PHP Is Useful
A good website is one that will do more than just look great and have plenty.... The PHP language is very easy for a search engine to read. This comes from how.... The code is very easy to use because it is not going to be too crowded 

JSP Servlet Questions

hi
hi   on clicking on button on 1st jsp page i want to display following options like friends,family,doctor etc.on next jsp page and also i want link to those options through which i can save the data from 1st jsp in different 

JSP Servlet Questions

hi
hi   on clicking on button on 1st jsp page i want to display following options like friends,family,doctor etc.on next jsp page and also i want link to those options through which i can save the data from 1st jsp in different 

Hibernate Questions

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

Struts Questions

Hi.. - Struts
.....its very urgent  Hi Soniya, I am sending you a link. This link...Hi..  Hi, I am new in struts please help me what data write...-bean.tld: This tag library contains tags useful in accessing beans 

Advertisements Advertisements
 

 

 

DMCA.com