[Hibernate] Hibernate JMX, JBoss, and JNDI...

2004-06-21 Thread Graeme Knight
Hi. I am experimenting with having a Hibernate Service running as a JMX MBean per documentation on hibernate.org. All is fine - I can get the MBean housed in JBoss. I want to execute a test to see if I can play with the persistent objects/copies of those objects from a test-client that is not h

[Hibernate] SchemaExport behaviour...

2003-10-23 Thread Graeme Knight
Hi. I am using SchemaExport tool, trying to load mapping files from a Jar file as well as build path to drop my database tables. I get the following error when executing drop.schema: Buildfile: build.xml init: drop.schema: [echo] Path: C:\FIREWALL_DEMO\build\com\bluecatnetworks\proteus\d

[Hibernate] HibernateExceptions...

2003-08-26 Thread Graeme Knight
Hi. Session.load() throws a HibernateException. Is there an easy way to tell what context this exception is thrown in. For example, perhaps an object with the same id is being loaded twice, or perhaps the database is down. I would like to be able to differentiate between possible problems. Man

RE: [Hibernate] Lazy Loading, upwards?

2003-08-25 Thread Graeme Knight
Hi. Nope. I've not looked into using proxies yet (will do). I'm just using the persistent objects themselves in a very short lived Session. Rgds, Graeme. -Original Message- From: Schnitzer, Jeff [mailto:[EMAIL PROTECTED] Sent: Monday, August 25, 2003 3:26 PM To: Graeme Knig

[Hibernate] Lazy Loading, upwards?

2003-08-25 Thread Graeme Knight
Hello. I have checked the FAQs and docs on this, but have not come to a conclusion, so perhaps someone can suggest something: I am representing a tree structure using Hibernate persistent objects. Each node in the tree can represent another node or a leaf. The children of a node are stored usin