I'm running the java cocoon 2 and castor oql. I'm trying to filter my oql query by today's date, but I can't seem to figure out (or find in google) the syntax of the date. The database is mySql, but the oql is mapped by the java classes... so doing a search on field_date >= Now() doesn't work. Any ideas? I really can't stand the limit...
Hi All,
I'm trying to use jhat/OQL to trace a memory leak in our Tomcat container. The question I want to ask is:
"Show me all the instances (and sub-instances) of foo.bar.Cacheable class that are reachable from javax.servlet.http.HttpSession"
I managed to come up with the following, but this doesn't show subclasses of foo.bar.Cacheab...
I'm analyzing heap dumps in a Portal App.
With the help of OQL I found the MemorySessionData Object with its address.
Now I want to find all SerializableViewState Objects, that are hold by Objects hold by this MemorySessionData object.
In other words: My MemorySessionData Object holds several objects, these hold objects again and so on....
I have a heap dump and I'm using Eclipse MAT, though I suppose this should work through visualvm or whatever OQL client.
We can select fields of all instances of a class by doing something like
select s.field1, s.field2 from org.me.MyClass
... but this is restricted to member variables, and to types with instances.
How can select th...