12
I Use This!
Activity Not Available

News

Analyzed 4 months ago. based on code collected over 4 years ago.
Posted over 17 years ago
Hi, as I'm new to JDO this questions should not be to hard for you: [code] cs = (ObjectX)pm.attach(cs); pm.deletePersistent(cs) [/code] 1) Does this make sense in any case? 2) Must I reregister an detached Object to the persitence ... [More] manager or can I delete it right away (without attach before)? 3) Mayattach also persist ObjectStructures to linked tables (think about ObjectX as ... [Less]
Posted over 17 years ago
Hi! The ant task used to working in 1.2beta5,now failed on nightly build 20070117 saying No datastore driver class has been specified. Following is the ant task and exception: Environment is Postgresql 8.2.5 (Using H2 throws the same exception),Java 1.6.0 and jpox nightly build 20070117 [code]
Posted over 17 years ago
I have a web app with a background thread that makes changes to objects. The web app itself does not make direct changes to the objects directly but queues 'request messages' that are processed by the background thread which then makes the changes on ... [More] its behalf. The web app is probably not standard in that I keep a single PersistenceManager alive for an entire session - I just begin and commit ... [Less]
Posted over 17 years ago
Hi! There, I was trying to obtain a sample JSF using JPOX for a Web App. My goals are to use JSF as my presentation layer and JPOX to persist against DB40. Anybody has some solid samples that I can build on instad of incomplete suggestion or ... [More] snippets of codes. I'm looking for best practices (If any). The goal here is provide a enterprise wide application that usually used the usual backend ... [Less]
Posted over 17 years ago
http://www.jpox.org/docs/1_2/cache.html Has three types of Level 1 Cache: # org.jpox.cache.WeakRefCache - # org.jpox.cache.SoftRefCache - # org.jpox.cache.HardRefCache - If you try one of these you will get a Class Loader Exception. ... [More] This page correctly identifies the options as weak, soft and hard: http://www.jpox.org/docs/1_2/extensions/level1_cache.html Also should the ... [Less]
Posted over 17 years ago
I am having a problem retrieving information from a set of database tables that have a simple 1 to Many relationship. I am using JPOX 1.1. Some background: I have 2 database tables, Member, and ClaimLine, and 2 corresponding classes, with the ... [More] proper entities mapped. A member can have 0 to x claimLines, each claimLine has a specific date associated with it. public class Member { ... [Less]
Posted over 17 years ago
Using JPOX 1.1.9 with Oracle 8i, JPOX is using INNER JOINS when creating classes with collections. Consider the following: [code]public class Foo { private long id; private List bars; public long getId() { return id; } public ... [More] void setId(long id) { this.id = id; } public List getBars() { return bars; } public void setBars(List bars) { this.bars = bars; } } ... [Less]
Posted over 17 years ago
I have an application that uses JPOX and am now having to customize the way JPOX gets its database connections. As a corporate guideline I am being "forced" to follow, I cannot have database user ids and passwords anywhere in my code and am ... [More] having to follow a framework that returns a sql connection object. I am now having to integrate this into JPOX, so that getting these ... [Less]
Posted over 17 years ago
Hi, I'm working on a project or i'm expectling large result, probably around 25000 rows. I've been reading throw the site, reading documentation and looking for examples, and i found a reference to Result Set Control on ... [More] http://www.jpox.org/docs/1_2/jdo/query.html#Result_Set_Control .However i didn't manage to get it work. Can u give me an example on how this can be implemented? I would really ... [Less]
Posted over 17 years ago
Hello, First off, sorry for the lengthy post. Getting the following error:[code][2008-01-11 11:42:18,354]DEBUG400718[main] - org.jpox.util.Log4JLogger.debug(Log4JLogger.java:60) - INSERT INTO CHILD ("NAME",PARENT_GRANDPARENT_NAME_OID_OID,PARENT_NAME_OID) VALUES (<'child1'>,,) [2008-01-11 11:42:18,356] WARN400720[main] - ...