1. Can't create EntityManager stackoverflow.comNew to EJB3, please help/explain. Inside a session bean I declare an EntityManager as follow
and this works. But when I do this
|
2. Websphere 7 EntityManagerFactory creation problem stackoverflow.comI'm working on a maven project which uses seam 2.2.0, hibernate 3.5.0-CR-2 as JPA provider, DB2 as database server and Websphere 7 as application server. Now I'm facing de following problem:
|
3. Entity Manager / persistance file structure stackoverflow.comThe title isnt clear as i couldnt think of one but, i have an EJB project and am trying to play with JPA. To create the entity manager i am injecting ... |
4. entitymanager persist stackoverflow.comI have a problem when trying to update foreign keys. Using the merge function I always get a out of memory error, or I get a timeout Fakultaet and Standort are foreign keys ... |
5. How to use JDBC ClientInfo with JPA and EJB3 stackoverflow.comWe are migrating a JDBC based application to JPA and EJB3. Our old application used the Connect#setClientInfo API to record the current user name as part of the client info: |
6. One entityManger finds entity , the other does not stackoverflow.comI have a very strange behavior in my program. I have 2 classes (class LogIn and CreateGame) where i have injected an EntityManager in each using the annotation
|
7. javax.ejb.EJBException when persisting an entity stackoverflow.comI have an entity called Medico which was created as an Entity Class from Database, hence I think the entity definition is failsafe here, nevertheless the definition is the following: ... |
8. org.hibernate.ejb.Version |
9. EJB3 - unitTest only entity managers... forum.hibernate.orgHello, I have a bit of a problem here with JPA, more specifically with the "persistence.xml" configuration file. As I understand, each and every PersistenceUnit has to be declared in the "persistence.xml" file. What I want is to declare 2 different Persistence units: one for production environment using a specific database and another one for testing purposes only (for this one, ... |
10. EJB - RuntimeExceptions on EntityManager forum.hibernate.orgOps, i reread the book carefully, and asked help from a friend and now i get it. System Exceptions does get rolled back. But the second question is: What happened with application exceptions that do not have @ApplicationException(rollback=true)? The transaction stays "iddle" until it expires? The expiration time is up to the container them? Thks, Israel |