Posted
over 16 years
ago
If I insert 5 objects of class A to an empty datastore it works. If I insert 5 objects of class B, it also works. But if I try to insert both the former and the latter, I get an exception (on the first insert of class B):
|
Posted
over 16 years
ago
Hi,
i tried to use the new datanucleus 1.0.0.m1 to enhance and validate the schema(maven2).
With the jpox 1.2.2 both works fine.(enhance/schema-validate) but when i start this
with the datanucleus classes i get the following error:
|
Posted
over 16 years
ago
hi,
i tried to inlcude the datanucleus within the equinox environment which then should
be used by another bundle( creating the PersistenceManagerFactory and so on.)
The datanucleus budles are running as you can see below:
22 ACTIVE
|
Posted
over 16 years
ago
After reading Fowler's books, we prefer creating our own class named like "Money" to work with monetary types.
It looks like (a simplified version):
[code]
public class Money implements Comparable {
final private BigDecimal amount;
|
Posted
over 16 years
ago
Hello All,
All help is appreciated.......have been struggling implementing the scenario described below...
I am using JPOX 1.2.2, JPOX-ENHANCER 1.2.2, JDO 2.1 API
Reflecting my classes, given below are 3 sample classes.
|
Posted
over 16 years
ago
We're using Guido's JDOQueryResultCollection in our expojo framework and it's working wonderfully. It gives us automatic query resource cleanups whenever the query result gets garbage collected - instead of when the PM gets closed (which we don't do
|
Posted
over 16 years
ago
Hi there,
The 'getAutoIncrementStmt' in the Postgres adapter seems to be missing the schema name.
The sequence is created in the correct schema though.
In my case javax.jdo.mapping.Schema=trades
JPOX is trying to execute:
[code]SELECT currval('"POSITION_POSITION_ID_seq"')[/code]
when it should be executing:
[code]SELECT ...
|
Posted
over 16 years
ago
Hello All, I am getting the following error:
javax.jdo.JDODataStoreException: Size request failed: SELECT COUNT(*) FROM "ENTITYIMPL_ATTRDEFMAP" WHERE "ENTITY_GLOBAL_ID_OID" = ? AND "STRING_KEY" IS NOT NULL
at org.jpox.jdo.JPOXJDOHelper.getJDOExceptionForJPOXException(JPOXJDOHelper.java:289)
at ...
|
Posted
over 16 years
ago
Ok, this one worries me a bit more.
With a first transaction I insert 5 objects into an xml datastore. If I execute the same transaction a second time... the datastore now contains 10 objects... [b]2 identical copies of each object[/b]. The
|
Posted
over 16 years
ago
Ok, so I got to see my first xml persisted data... nice. Now I'd like to do some more serious issues.
Working with XML datastores I expect to have some of the same problems I'd have with RDBMS datastores. The first one I thought of is the
|