• 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:
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

JSF and hibernate and oracle database

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:
 
Saloon Keeper
Posts: 26019
186
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
What does a metric clock look like? I bet it is nothing like this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic