12
I Use This!
Activity Not Available

News

Analyzed 8 months ago. based on code collected about 4 years ago.
Posted almost 17 years ago
Hello! It seems that DB2 does not like the LOWER SQL function. The LCASE function should be used instead. I'm not a DB2 guru so I don't have a explanation to this. For example the query filter [code]t.toLowerCase().endsWith("mytext")[/code] ... [More] produces the SQL statement [code]CAST(LOWER(THIS.TEXT) AS VARCHAR(4000)) LIKE <'%mytext'> ESCAPE '\'[/code] what produces a [code]DB2 ... [Less]
Posted almost 17 years ago
Are there any changes regarding sequences in the nightly build? I have tried to use the build from today (with Oracle 11g). I get the following exception when persisting a new object:[code]Caused by: javax.jdo.JDOException: Couldnt create the ... [More] sequence ORA-00933: SQL-Befehl wurde nicht korrekt beendet CREATE SEQUENCE DE.ISYS.LVS.DOMAIN.ORDER.BO.N7 NOCACHE at ... [Less]
Posted almost 17 years ago
Hello, the following exception occurs in jpox version 1.2.1 when using level 2 cache in optimistic mode: Object with id "91[OID]org.jpox.test.A" in table A has no version set on the object in memory and you want to update it!! Please report ... [More] this bug to the developers of JPOX with a way of reproducing it The attachment contains the code to reproduce the exception Thanks for ... [Less]
Posted almost 17 years ago
Hello, after calling tx.setOptimistic(true), I am allowed to change a persisted object without getting an exception, although nontransactionalWrite is set to false. A simple testcase is attached. There is a simple class of objects which are ... [More] persisted: [code]public class A { public A( int a ) { this.a = a; } public void setA( int a ) { this.a = a; }; public int getA( ) { ... [Less]
Posted almost 17 years ago
Version 1.1.3 of the JPOX Eclipse plugin is released. You need Eclipse 3.2 to use this plugin, and can be used with either JPOX 1.1 or JPOX 1.2. It changes the following[list] [*]Fix bug in file suffices for Enhancer/SchemaTool in 1.1.2 ... [More] [*]Remove support for JPOX 1.0->1.1 migration tool [*]Add option to generate persistence.xml to contain all package.jdo in a project [/list] As ... [Less]
Posted almost 17 years ago
Hi, I had a problem with my connection pool (c3p0) when a managed connection breaks. I would like to have the connection pool using another connection instead. I achieved that by modifying the method getConnection in the class ... [More] org.jpox.store.rdbms.RDBMSManager as follows: [code] public ManagedConnection getConnection(ObjectManager om) { ConnectionFactoryRegistry registry = ... [Less]
Posted almost 17 years ago
Hi! I want to do a commit without closing the transaction. (a commit retain). Does JPOX support this? or if not: Does JPOX support reattachOnNewTransaction (the opposite of detachOnCommit) So when I commit my transaction, all my managed ... [More] instances are detached automatically and when I begin a new transaction they get reattached automatically? Thx in advance nomike aka Michael ... [Less]
Posted almost 17 years ago
Hi I have a class named "UsuarioApp" which maps to an existing table from an Oracle 8 database schema The class is as follows: [code]public class UsuarioApp { private String cedulaRif; // <- Primary Key private String nombre; ... [More] private String codGrup; private char status; private java.util.Date fecIngreso; private java.util.Date fecEntrega; ... [Less]
Posted almost 17 years ago
Hi everyone, For the mapping case of List extends someClass>, it is clear to see that this mapping is a combination of class association (One-to-Many) and inheritance. I can handle this mapping, database schema can be generated, storing and ... [More] retrieving objects also no any problem. But I encounter the problem of over-writing the old list in database with the new list in client ... [Less]
Posted almost 17 years ago
Hello all, I have just started to use JPOX and stumbled upon generics with JPOX I am using JPOX 1.2, BCEL enhancer and jdk1.6 say, I have defined a class : public class MyClass @Persistent private T someValue; After Enhancing and ... [More] running schema tool plugin on eclipse, I get the following error message: An exception was thrown during the operation of SchemaTool. ... [Less]