JPA « IceFaces « JSF Q&A





1. LazyInitializationException in RESTORE_VIEW (improper PersistentSet instantiation)    stackoverflow.com

I'm getting started to use IceFaces and had encountered a problem when trying drag'n'drop support.

IceFaces 2.0.0
JSF 2.0
Mojarra 2.0.2 (FCS b10) (JSF reference implementation)
Spring 3.0.3
Hibernate 3.5.1-Final
JPA 2.0 (with OpenEntityManagerInViewFilter)
The problem is LazyInitializationException ...

2. How to organize data persistence in icefaces project?    stackoverflow.com

What should be relation between Hibernate/JPA entities - backing beans and where should I write and read data from db in web project based on icefaces components?

3. Allow to enter language specific character from keyboard    stackoverflow.com

I have one application providing language selection option to user. I want to implement facility that user are allowed to entering text from keyboard in selected language. e.g. If i select Hindi ...

6. [SOLVED] Hibernate und IceFaces - PrimaryKey    icefaces.org

Hi, I am writing some servlets with IceFaces and Hibernate. First, I used mapping files and everything worked fine, but now I want to try annotations. The data are displayed in my DataTable, but if I try to insert a new record into the table, I get an exception. The first record with the primary key 0 is no problem, but ...

8. SessionFactory of Hibernate is null    icefaces.org





10. JPA peformance issues with iceface datatable component    icefaces.org

Hi, I have developed an application with iceface jsf front end, and toplink jpa backend. I used intellij generation to create the basic beans, entities and jsp's. I then took these generated jsp's and plugged them into a faclets implementation to give the page a side menu, title, footer, main window type setup. Anyway the managed bean maintains a list of ...

11. Generar Dinamicamente ICEFACES+JPA+DBB    icefaces.org

Tengo un problema tengo que generar un paquete con JPA con una clase Presentacion, Persitencia, Conexion.... Para lo cual hay que programar el codigo de la interfaces un la clase de Presentaciony en el index exisira el minimo codigo... Al ejecutarse se presentara los botones y una tabla referenciada con una tabla de la base de datos... y hara las operaciones ...

12. ICEFaces - Hibernate    icefaces.org

16. How use a open session with hibernate    icefaces.org





17. Hibernate + Icefaces hibernate.cfg.xml error    icefaces.org

Hi everyone! I am newbie at Icefaces and I am trying to set up the basic Hibernate CRUD application tutorial with Icefaces (http://facestutorials.icefaces.org/tutorial/hibernate-tutorial.html), however I am facing some problems configuring the framework. The file hibernate.cfg.xml is with some errors, and I still can't figure out why. I am using Hibernate 3.5.6, Tomcat 6.0 and IceFaces 2.0 within eclipse. Anyone who had ...

18. Table Sorting and hibernate    icefaces.org

I was looking on TableSorter system on icefaces tutorial but also on internet to see how it was implememented... unfortunally I don't find the right solution: all resource I have seen, sort a list of object, in this case the compoent "dataTable", shows correctly orderred data, but it's totally wrong!!!!!! This approach works well only if you have a very few ...

20. icefaces + hibernate    icefaces.org

22. Hibernate    icefaces.org

24. Server-initiated rendering and Hibernate/OpenSessionInViewFilter    icefaces.org

com.icesoft.faces.webapp.xmlhttp.TransientRenderingException: transient render failure for viewNumber 1 at com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.render(PersistentFacesState.java:161) at com.icesoft.faces.async.render.RunnableRender.run(RunnableRender.java:142) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528) at java.lang.Thread.run(Unknown Source) Caused by: javax.faces.FacesException: org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.theconsole.log.LoggingEventImpl.throwableMessages, no session or session was closed at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:309) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:159) at com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.render(PersistentFacesState.java:146) ... 4 more Caused by: org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.theconsole.log.LoggingEventImpl.throwableMessages, no session or ...

25. Hibernate Sessions    icefaces.org

Hi we're using hibernate 3 and Icefaces 1.6 and we're encountering the lazy loading problem with hibernate. The standard fix for this seems to be to employ a hibernate filter but this clashes with Icefaces. We can fix it but need to turn off asynchronous updates in order to do this. What functionality would we lose by doing this, or better ...

26. Hibernate + DataTables    icefaces.org

charliepjive Joined: 31/07/2007 00:00:00 Messages: 52 Offline ok here is the code: -----xhtml page------ Code:

...

28. How do you integrate Icefaces with your ORM (Hibernate) ?    icefaces.org

Hi, Simple question ! Let's say you have a 3 tier architecture : DAO - Service - Web. Your model is a bunch of entities mapped with annotations or xml files. But you know, Icefaces and more generally JSF, need to reference entities with EL. The problem : you have to add some useless attributes for mapping in the entity code ...

29. Question about Hibernate Session Management with ICEFaces    icefaces.org

Hi! I'm developing a web application with ICEFaces, JSF, Spring and Hibernate. I'm having problems configuring session management with hibernate. I'm not sure of what is the best approach to use for my web app. I have configured an OpenInSessionFilter to avoid lazy initialization exceptions like this: Code: sessionFilter org.springframework.orm.hibernate3.support.OpenSessionInViewFilter sessionFilter *.faces With this there should be ...

31. Problem with Hibernate    icefaces.org

32. LIferay 6.0 + ICEFaces 2.0 + Hibernate 3.0    liferay.com

I am trying to create a ICEFaces porlet installed in a LIferay 3.0, with Hibernate 3.6 , first I try a sample from liferay web, with a JSP-Portlet Hibernate and works, then I made a Icefaces Hibernate Project (tomcat 7) and also works and finally I made a Liferay/Icefaces Porlet/Hibernate and works fine for reading data but not for saving, the ...