Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Having problem in running a program in Hibernate

 
Swaroop Reddy
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
I am using myeclipse5.5 ,I wanted to run a program in hibernate.I searched in google and found an basic example from
webpage
I had configured all the things like oracle database and so on,even i am able to check the table using hql editor after creating a project in myeclipse.but my problem is after configuring all the things when i am about to add code for operations on database I am not able to code it properly.please see the attachments i had a snap shot of the project structure where problem is highlighted with red color
Filename: hibernate error1.bmp
Description: Hibernate error
File size: 384 Kbytes
[Download hibernate error1.bmp] Download Attachment
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmmm...I'm wondering if that still might be a bit of a complext application for your very first Hibernatea application. Check out my signature links for one of the simplest Hiberante and JPA example you could possibly do.

Simple Tutorial on Getting Started with Hibernate

I might even suggest just copying your error message and posting it here, as opposed to taking a screenshot image of it and posting it as a bmp file. I know the JavaRanch must check for viruses, but I'm always afraid to open up anything online that I didn't post myself. It might help you get some faster feedback.

Regards,

-Cameron McKenzie
 
Swaroop Reddy
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Swaroop Reddy wrote:Hello All,
I am using myeclipse5.5 ,I wanted to run a program in hibernate.I searched in google and found an basic example from
webpage
I had configured all the things like oracle database and so on,even i am able to check the table using hql editor after creating a project in myeclipse.but my problem is after configuring all the things when i am about to add code for operations on database I am not able to code it properly.please see the attachments i had a snap shot of the project structure where problem is highlighted with red color



Thanks for your suggestion,anyway i got the problem solved.
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please post back your solution so anyone else with the same problem could get it resolved! Don't keep us in suspense.

-Cameron McKenzie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic