• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

JSF and hibernate and oracle database

Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Forum ranch ; :argh:
i am a student , i develop a full web apllication .
i use eclipse (kepler),jsf2.2,hipernate, oracle 11 xe,
and i create entity and dao, bean class vut i use hibernate annotations for examle @Entity, @id .....
firstly when i use hibernate annation , could i creeate in database table in oracle Fro example create table..?
i know i dont create a table in oracle .entity class create table for me ?
Why it dont ctrate?

hibernate util

my entitiy movie



and i dont create database table in oracle express edition what can i do\ :censored: :banghead: :pissed:
Saloon Keeper
Posts: 22107
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been avoiding an answer for several days because there's simply too much code in your examples for me to read unless someone's paying me to do the job. It's always best if you can reduce your problem to something that fits on one screen or as close as possible.

The other reason I didn't do anything sooner is that this is probably not a JSF problem. I cannot be certain, since there's more information than I can comfortably read on-screen, but I'm taking it for granted that your actions are firing and that the code that talks to Hibernate is being executed.

You may find it useful to turn on Hibernate debug logging. If you set the org.hibernate loglevel to TRACE or whatever equivalent your webapp's logger uses, then Hibernate will log the actual SQL and DDL being executed, along with messages that may prove useful.
See ya later boys, I think I'm in love. Oh wait, she's just a tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic