hy, I\'m having trouble in using entitymanager in a java web applicaton. My code is: public class HelloWorldResource extends ServerResource {
Noob question here. I\'m following this example/tutorial to try and isolate a problem I keep getting on my main project. Problem is, the entityManagerFactory keeps returning null (thus, I get a NullPo
I tried to run the simple JEE6 application generated by maven archetype groupId: org.fluttercode.knappsack , artifactID: jee6-sandbox-archetype in JBoss7.
I am trying to use c3p0 as connection pool provider in my application (jpa 2 and hibernate core 3.3.2)but c3p0 getting too much connection from database.This is same problem but answer not helped.I am
Here is the situation - I need to persist an object between pages.On the first page I create the object, and create a form for it.On the second page, I persist the object.The user then has an option
In my DAO classes I have a reference to an EntityManager. I want to make the acces to the EntityManager thread-safe by using ThreadLocal.
i have a problem with EntityManager.persist (i use tooplink of glassfish). My code is: MyEntity e = new MyEntity();
I really hope you can help me. I\'ve been looking all over the internet for answers and none of them works.
I had a few questions all related to the way an entity manager is created and used in an application with respect to Virtual Private Databases, which is a feature in Oracle DB which enables Row Level
Question 1. I am using Netbeans 6.9.1 glassfish 3.1 . I am trying to retrieve some values from 开发者_开发百科the MySQL DB and save it on a List. My code as follows;