RE: Possible Bug wrt Servlets and creating/finding entities

2000-05-09 Thread Gordon Tyler
Title: RE: Possible Bug wrt Servlets and creating/finding entities I would like to apologise to the Orion team. This is probably one of the stupidest mistakes I've made in a while. Thanks to Victor for making me look at my code more closely ;) The problem was that the servlet calls a

Setting transaction isolation level

2000-05-09 Thread Robert Hargreaves
Dear All Does anybody know if you can set the transaction isolation level in Orion? If so, how? Regards Rob Hargreaves

Static initializers in home interface - won't compile

2000-05-09 Thread Jens Stutte
Hi, it's not serious, but could be a bug: I build an entity bean, everything ok. Now i added a static field to the home interface, like this (the purpose of the field does not matter here): /** Static array of field templates */ public static final NMejbFieldDescription[] m_MyFields = {

Re: Static initializers in home interface - won't compile

2000-05-09 Thread Magnus Stenman
No, this sounds like a bug to me. Orion shouldnt care much for static methods at all and just ignore them ("other" static methods should also be fine per the spec as long as they dont contain/keep state, ie static fields). This will be fixed for the RC2 release (thanks for the report). /Magnus

Slow start Orion on W95

2000-05-09 Thread Ruud Noordermeer
Hey! Starting up Orion goes relatively fast when connected to a network. However when started on a stand-alone machine (without a network) is veeerrr slow (minutes!). Are there any parameters to be set for a faster startup on Windows-95? Ruud Noordermeer.

Re: EJB CMP suggestion

2000-05-09 Thread Karl Avedal
Hello Jen, To find out how to be able to specify joins or any SQL in custom finders, read: http://www.orionserver.com/docs/orion-ejb-jar.xml.html Search for query and look at the partial attribute. What you want is already possible, without changing the code of your beans. Regards, Karl

RE: EJB CMP suggestion

2000-05-09 Thread Conrad Chan
How about having your Product company finder query to be "SELECT * FROM Product WHERE Product.company = (SELECT Company.id FROM Company WHERE Company.name LIKE ?" I understand that this query may not be identical to the query you provided. But my point is it is possible.

Counter.jar in news-app

2000-05-09 Thread Joseph B. Ottinger
I had it pointed out to me that there's a Counter EJB in the news app, which can serve as a unique identifier generator. However, it's unused in the news app as far as I can tell, and has no documentation or source. A couple of questions: First off, has anyone used it in any code I can see?