[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Acces Configuration/Persistent Class at run time for rea

2008-10-09 Thread ilavenila
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.

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Acces Configuration/Persistent Class at run time for rea

2008-10-08 Thread ilavenila
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.

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Acces Configuration/Persistent Class at run time for read on

2008-09-29 Thread ilavenila
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

[jboss-user] [Beginners Corner] - Re: Accessing a static method throws a null pointer exceptio

2008-05-12 Thread ilavenila
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

[jboss-user] [Beginners Corner] - Accessing a static method throws a null pointer exception

2008-05-12 Thread ilavenila
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

[jboss-user] [EJB 3.0] - Re: Exception recieving problem

2006-09-27 Thread ilavenila
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

[jboss-user] [EJB 3.0] - Re: Exception recieving problem

2006-09-27 Thread ilavenila
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

[jboss-user] [EJB 3.0] - Re: Exception recieving problem

2006-09-27 Thread ilavenila
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