• 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 ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

JSF and hibernate and oracle database

 
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:
 
Saloon Keeper
Posts: 22482
151
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.
 
Live ordinary life in an extraordinary way. Details embedded in this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic