DataModel « 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 » DataModel 

1. Can a List<> be casted to a DataModel    stackoverflow.com

I'm trying to do the following:

public String createByMarcas() {
    items = (DataModel) ejbFacade.findByMarcas(current.getIdMarca().getId());
    updateCurrentItem();
    return "List";
}

public List<Modelos> findByMarcas(int idMarca){
    ...

2. JSF Datamodel & JPA parent to leaves navigation. How to?    stackoverflow.com

My web application is a CRUD web application based on JSF 2.0 / JPA using JEE 5 and JDK 1.6. Running on Glassfish 3.1. The IDE is Netbeans 7.0. (I do ...

3. hibernateTemplate and reading parent/Child classes into dataModel    stackoverflow.com

I have come unstuck with this goal after successfully using a dataModel when rendering the result from a hibernateTemplate().find on another class where there isn't a many-to-one mapping to another class. Has anyone ...

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.