• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF and hibernate and oracle database  RSS feed

 
hayrullah karaman
Greenhorn
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.cfg.xml


hibernate util

my entitiy movie

movie.dao

moviebean


and i dont create database table in oracle express edition what can i do\ :censored: :banghead: :pissed:
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!