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
Dear All
Does anybody know if you can set the transaction isolation level in Orion?
If so, how?
Regards
Rob Hargreaves
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 =
{
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
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.
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
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.
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?