• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

Having problem in running a program in Hibernate

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 393 Kbytes
 
author and cow tipper
Posts: 5006
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 5006
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic