Home » Search

About code weaving

81-90 of 200Refresh
Forum
1

em.flush(); em.clear(); loosing data and not persisting managed objects

that should fix this bug. This fix works except when the primary key is a string. Attached is my test code ... with one row per entry). These tables are the data from the backend of an antiquated source code/bug ... to get the data directly. The code is stored on the file system in SCCS, but the history of each change
Forum
1

Error using query with MAX() function

to the above test code and you can see the problem. String sbs = sb.toString(); if( i % 20 == 0 ... report. I'm getting an error with as stack trace again on my DB and data. The test code above passes but my data and Entity fails. At the spot where my code fails there are no Notes entities
Forum
1

IN expression in a Criteria Query

is with Criteria Language. This code: In inExpression = cb.in(root.get(Computer ... a.code HAVING COUNT(a) < 2 It throws following exception: com.objectdb.o.UserException: Invalid ... ). Regarding the GROUP BY query: SELECT a FROM Account a GROUP BY a.code HAVING COUNT(a) < 2
Forum
1

Access ClassTransformer

Hello, As in our OSGI Environment, we do need to manually weave classes. To be able to do so, we'd need access to the ClassTransformer from ObjectDB. However, there's only the global enhancer api which is not of any help. There's the JEhancerAgent which seems to implement a ClassTransformer as
JDO Doc
1

hashCode()

Method javax.jdo.FetchGroup int hashCode() Return the hashCode for this instance. The hash code should combine both the class and fetch group name. The hash codes for two equal instances must be identical. Returns: the hash code Since: JDO 2.2
JDO Doc
1

javax.jdo.FetchGroup

for this instance. The hash code should combine both the class and fetch group name. The hash codes for two equal instances must be identical. Returns: the hash code Since: JDO 2.2 boolean isUnmodifiable() Return
JDO Doc
1

javax.jdo.identity.ByteIdentity

: the target class name. Since: JDO 2.0 int hashCode() Return the cached hash code. Return the cached hash code. Returns: the cached hash code. Since: JDO 1.0 void readExternal(ObjectInput in)throws
JDO Doc
1

javax.jdo.identity.CharIdentity

hashCode() Return the cached hash code. Return the cached hash code. Returns: the cached hash code
JDO Doc
1

javax.jdo.identity.IntIdentity

. Since: JDO 2.0 int hashCode() Return the cached hash code. Return the cached hash code. Returns: the cached hash code. Since: JDO 1.0 void readExternal(ObjectInput in)throws IOException
JDO Doc
1

javax.jdo.identity.LongIdentity

. Since: JDO 2.0 int hashCode() Return the cached hash code. Return the cached hash code. Returns: the cached hash code. Since: JDO 1.0 void readExternal(ObjectInput in)throws IOException