Referential Integrity in one to one

2002-04-10 Thread Jesper Rasmussen
Hi, Im having some problems with the move integrity of a one to one relationship. The problem is this: a1 = new A a2= new A b1= new B b2 = new B a1.setRefToB(b1) a2.setRefToB(b2) This all works fine. when i then do: a1.setRefToB(a2.getRefToB()) The container should move the reference and

RE: JDBC try/catch Pitfall ***MUST READ***

2002-04-10 Thread Jens Schumann
- Retry - I don't know if there are any issues with finally clauses - at least you should not wrap all close() in your finally block within _one_ try/catch clause. Use e.g. a static helper class which encloses every close() in a separate try/catch block. I have never had any issues by doing so -

trigger a refresh to the bean caches

2002-04-10 Thread Oliver Stauss
Hello, i´m working on the current experimental version 1.5.4 and i need to trigger a bean cache refresh from inside my application. Reason: The entity beans are deployed with the exclusive-write-access = true. This should assure a better performance. over 95% - 99% percent of all table

include orion-ejb-jar.xml in an ejb.jar ?

2002-04-10 Thread Matthias Gottschlich
Hi, thank you for the comment on my last posting distibute beans in different jar! Here is another question: We develop in a small team. One person create the entity-beans with finder, interfaces , dd and so on If he creates an new finder, he has to create the where clause of the

SV: JDBC try/catch Pitfall ***MUST READ***

2002-04-10 Thread Fredrik Ålund
The connection object itself is destroyed when it's garbage collected, so from a client perspective that's ok. But you don't know what happens on the server. In some database the connection take up resources until garbage collected there as well, and since database connections can be quite

Java newsgroups: Entity Beans not synchronising with database

2002-04-10 Thread Kumar, David
We are currently using a stateless session bean to perform a direct update of a table in the database and then usinga findermethodin the home interface of an entity bean which is mapped over the same table to retrieve the records that have just been updated. Because both transactions are

Re: include orion-ejb-jar.xml in an ejb.jar ?

2002-04-10 Thread Lachezar Dobrev
Hi. Yes. You may include an orion-ejb-jar.xml in the jar file. Orion wiull read it on deployment, mix-in the missing values, and then use that xml. Since orion 1.4.8 the orion-ejb-jar.xml should be in the META-INF directory in the jar. Earlier versions had the deployment dd in another

error-page tag in web-xml question

2002-04-10 Thread Jose Mena
Hi, I'm trying to set an error page in one of my web applications. To do this i have put this tag in the web.xml file: error-page error-code500/error-code location/error.html/location /error-page to catch all the 500 errors and redirect the user to an error page. It works when

mail list

2002-04-10 Thread @Basebeans.com
Subject: mail list From: Vic Cekvenich [EMAIL PROTECTED] === This mail is now mirrored on a news so you can read it using a news reader at news.basebeans.com. (other news on there are Struts, Tomcat, Soap, Fop, Castor, Orion, Resin, Commons, Tags, etc.) You may need to hit refresh to get a

R: error-page tag in web-xml question

2002-04-10 Thread daniele rizzi
as far as I know, no (don't know why, simply it won't work) d. (on oc4j, a close relative of orion) -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Per conto di Jose Mena Inviato: mercoledì 10 aprile 2002 13.20 A: Orion-Interest Oggetto: error-page tag in web-xml

RE: error-page tag in web-xml question

2002-04-10 Thread DORAN, GRANT
Jose, You should be able to. We use jsp pages for surface level exceptions like this. error-page exception-typeuk.co.britannic.flexisale.common.exception.FlexisaleExceptio n/exception-type location/error/FlexisaleException.jsp/location /error-page And

LDAP

2002-04-10 Thread 45100125
´ó¼ÒºÃÎÒÏëÖªµÀOpenLDAPºÍEJBµÄÁª½ÓºÍÈçºÎÅäÖã¬ÎªÊ²Ã´Õâ¸ö´úÂë²»ÓëLDAPÁª½Ó¡£Ð»Ð»Çë¿ì¸æËßÎÒ£¡£¡£¡£¡£¡£¡£¡£¡£¡ = VIPÓÊÏä³öпÓŻݼÛÿÔÂÖ»Òª4ԪǮ£¡ ÓÃvipÓÊÏ䣬ËÍ¡¶ÇóÖ°±¦µä¡·£¡ ¶¨°üÔ¶ÌÐÅ£¬ËÍVIPÓÊÏä £¡

Re: Referential Integrity in one to one

2002-04-10 Thread Ray Harrison
Jesper - There has been a tremendous amount of work done on relationships in an upcoming release of Orion. This particular bug has been fixed. Cheers Ray Jesper Rasmussen [EMAIL PROTECTED] wrote: Hi,Im having some problems with the move integrity of a one to onerelationship.The problem is

RE: Java newsgroups: Entity Beans not synchronising with database

2002-04-10 Thread Greg Davis
You should set the exclusive-write-access="false" in your orion-ejb-jar.xml file since you are not accessing the table (exclusively) through the Entity bean. Why not have the stateless session bean use the create() method in the Entity bean's home? Have you run into a performance issue

Re: mail list

2002-04-10 Thread @Basebeans.com
Subject: Re: mail list From: Anders Dahlberg [EMAIL PROTECTED] === This mail is now mirrored on a news so you can read it using a news reader at news.basebeans.com. ...and send? probably :) (other news on there are Struts, Tomcat, Soap, Fop, Castor, Orion, Resin, Commons, Tags, etc.) You

How to display a directory using Orion as a webserver?

2002-04-10 Thread wzfg
Hi, Can anyone tell me how can I display a directory use Orion as a WebServer? What I need set something and where or which file I need update and how to update? I checked all the conf files, but I did not find. Thanks a lot.

apache front end

2002-04-10 Thread Tim Courtney
second attempt at sending this. sorry if anyone gets it twice. I'm curious as to anyone else's experience with putting the apache web server as a front end to orion. We basically followed the instructions from this guide http://www.orionsupport.com/articles/apachefrontend.html Although the

Re: How to display a directory using Orion as a webserver?

2002-04-10 Thread Scott Farquhar
You need to turn directory browsing on: http://kb.atlassian.com/content/orionsupport/articles/dirbrowsing.html http://kb.atlassian.com/content/orion/docs/deployment/orion-web.xml.html Be sure to also read this: http://kb.atlassian.com/content/atlassian/howto/orionxml.jsp Cheers, Scott wzfg

Re: apache front end

2002-04-10 Thread Joseph Ottinger
Yes, Apache slows Orion down quite a bit. It ends up issuing new requests to Orion, which is really inefficient. When and if Orion gets a mod_jk equivalent, that will change... although adding apache in front will always be a problem. -