Results 1 to 2 of 2
  1. #1
    Divya is offline Member
    Join Date
    Aug 2013
    Posts
    1
    Rep Power
    0

    Question Please Help…How can i use JSF with Hibernate?

    I am trying to insert student entries in to database(oracle) dynamically.In order to do that i am using JSF for form creation and validation and using ORM Framework Hibernate to store the entries to the database.I can create form page and write managed beans using of JSF but I wonder how to map JSF managed bean as a table in Database.can anyone guide me through any sample examples or any useful links,so that i can come to an idea.

    Thanks for any help

  2. #2
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,710
    Rep Power
    5

    Default Re: Please Help…How can i use JSF with Hibernate?

    You shouldn't do that. Keep the things separate; have a managed bean AND a Hibernate entity. Of course you are free to map JSF components to the properties of an entity object you maintain in your JSF backing bean, I do that myself when I'm too lazy to implement a truly isolated application model.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. Should I be using hibernate?
    By sephiroth2212 in forum JDBC
    Replies: 4
    Last Post: 10-11-2013, 08:57 AM
  2. JSF + Hibernate
    By buyapentiumjerk in forum Enterprise JavaBeans (EJB)
    Replies: 17
    Last Post: 07-12-2011, 03:24 PM
  3. JPA vs Hibernate
    By buyapentiumjerk in forum JDBC
    Replies: 0
    Last Post: 07-06-2011, 05:28 PM
  4. Hibernate Use
    By sireesha in forum JDBC
    Replies: 2
    Last Post: 05-21-2008, 03:05 AM
  5. Replies: 2
    Last Post: 06-30-2007, 03:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •