session « POJO « JPA Q&A





2. Calling an EJB (Session Bean) from within a POJO method    forum.hibernate.org

Newbie Joined: Thu Jul 15, 2004 4:58 pm Posts: 5 I have used Hibernate wrapped in a Session Bean under JBoss 3.2.5 and been using it successfully. However, I run into a problem, on the client side, when i call the same EJB from with a persistent class (POJO). I have narrowed it down to the fact that, i get the ...

3. Switching session under POJO / replicating tables    forum.hibernate.org

1) Can I switch the session used by a POJO? Say I do a session1.load(obj.Class,id) then do a session2.switch(obj,id) then session2.save(obj.id)? 2) I have about 20 tables on the master which are used for updating, the slaves are used for reading.I'll replicate 10 of those tables on machine A, then I'll replicate the other 10 on machine B. Both machines will ...

4. Can I use one POJO with Multiple Session Factories?    forum.hibernate.org

I have a DB that has 2 schemas. The schemas are structurally equivalent and guaranteed to stay that way. One of the schemas is considered the "staging" schema and the other is considered the "master" schema. By structurally equivalent I mean each schema has the same number of tables with the same names, the same column names, the same constraints, etc ...

5. Ajax and Long Sessions. How to evict free pojos?    forum.hibernate.org

Newbie Joined: Tue Aug 08, 2006 3:53 am Posts: 17 Location: Tanznaia All, So I'm building an interactive Webapp. The Ajax architecture encourages us to retrieve smaller chunks of data from the server but more frequently. In terms of frequency of client/server toing and froing, Ajax apps represent a mid point between traditional document-based web apps and fully interactive client/server applications. ...