DataModel « JPA « JSF Q&A





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 ...