Thanks Matt! As I said, in my interceptor if I implement Initializable
interface, I get access to the Configuration object on persistence unit
deployment. From which I cache the PersistentClass and use it at a later point
in my application..
View the original post :
http://www.jboss.com/index.
Thanks Matt for your reply. I do not want to access the underlying entity class
but the PersistentClass (org.hibernate.mapping.PersistentClass) created by
hibernate when it loads the persistence unit.
The HbmBinder creates RootClass ( org.hibernate.mapping.RootClass) which
extends or.hibernate.
Hi,
I want to access the org.hibernate.cfg.Configuration Object after all the
configuration is done at some point in my application. This is just for read
only purposes. Or even if i can retrieve the list of PersistentClass, then it
will be very useful. Is there a way to do it? Please help
A
Thanks Jai-kiran. I was looking at the wrong version of the file. And of
course, static method calls cannot throw a null pointer exception. Happy Days!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150225#4150225
Reply to the post :
http://www.jboss.com/ind
Hey,
I have a very weird situation. I have a web app deployed in JBoss. I am getting
a null pointer exception on a static method.
Say,
I have a class name StaticHelperClass which has a static method calculateItem.
When I try to access this method in a second class such as
StaticHelperClass.ca
And also, the same code works on two different instances on the same machine.
But it is not working inside the same JBOSS instance with isolated EARs.
I believe it may be JBOSS trying to be smart and optimising the call within the
same instance by not doing the marshalling for the thrown applic
I am using JBOSS4.0.4 installed using jboss-4.0.4.GA-Patch1-installer.jar with
ejb3 profile selected during installation
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974685#3974685
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mo
I am working on the same project as Grant. The problem doesn't occur when we
run a client to invoke the EJBs.
Our project is layered into different applications. Hence we deploy multiple
applications as multiple EARS in JBOSS. And yes, we have the exception classes
packaged as JARs in the cons