data « JPA « JSF Q&A

Home
JSF Q&A
1.API
2.Bean
3.Component
4.Control
5.Data
6.database
7.Datatable
8.Development
9.Exception
10.Facelets
11.Form
12.Glassfish
13.HTML
14.IceFaces
15.Internationalization
16.JPA
17.JSP
18.MyFaces
19.openfaces
20.Page
21.Portlet
22.PrimeFaces
23.RichFaces
24.Seam
25.Security
26.Servlet
27.Session
28.Tag
29.Test
30.Tomcat
31.validation
32.Web Service
JSF Q&A » JPA » data 

1. if data needed to be trim before going database which tier do you put it in    stackoverflow.com

all data is required to be trimmed before going database. i currently use hibernate with JSF. where would you put this logic in? in hibernate entity bean,or JSF backing beans? what's pros and ...

2. JSF rerender data loaded from DB    stackoverflow.com

I have data loaded from DB, when click a command button:

<h:commandButton value="Show article content and comments" action="#{dataBean.activateArticleContentView}" actionListener="#{dataBean.loadCurrentArticle}">
<f:attribute name="articleId" value="#{article.id}"></f:attribute>
</h:commandButton>

@ManagedBean
@ViewScoped
public class DataBean implements Serializable {

    ...

   ...

3. use jsf and jpa to show data from multiple tables (join)    forums.netbeans.org

I am attempting to learn about the java persistence API and java server faces and just completed the "Generating a JavaServer Faces 2.0 CRUD Application from a Database" tutorial and would ...

4. How to persist parent and child tree node data through JSF and hibernate    coderanch.com

Dear dudes, I'm a novice to JSF and Hibernate Actually i want to create a tree structure where for each child node, i should have the parent node reference in my form and then when i save, i need to save the corresponding child node data in the database. node-1 node 1-1 node 1-11a node 1-2 node-2 node 2-1 node2-2 Whenever ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.