About proxy


JPA Persistable Types

Explains how JPA manages types, including entity classes, embeddable classes, primitive types, wrappers, string, date, enum, collections and maps.... Types Multi Value Types Proxy Classes Enum Types Serializable Types ... also a good practice when working with ObjectDB. Proxy Classes When entities are retrieved from the database, instances ...


Nexus proxy repository with ObjectDB

I'm trying to setup a proxy repository in my local Nexus to retrieve artifacts from objectdb. Unfortunately I'm not able to get it configured properly and I'm not sure what is wrong. My repository config: ... I'm trying to setup a proxy repository in my local Nexus to retrieve artifacts from objectdb. ... objectdb Name: ObjectDB Type: proxy Provider: Maven2 Format: maven2 ...


Fetching Collections Puzzle

I am working on a project where I need to travel through a massive graph of objects. One of the main entity is the Node which is shown below. class Node { Node parent List<Node> children Node rightSibling Node leftSibling int rank } I have the following issues/doubts ... database - the children field is expected to hold a proxy list  (e.g. objectdb.java.util.ArrayList , which extends java.util.ArrayList) . In the debugger the proxy list might look empty - but as soon as your application accesses its ...


version 2.4.5+ with GlassFish 3.1.2, errors when runs application. Version 2.4.4 worked but not 2.4.5 or later

javax.ejb.EJBException at com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer.java:5215) at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:5113) at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:4901) at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:2045) at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1994) at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:222) Bug Version: 2.4.5 Priority: High Status: Fixed Replies: 3 Type:  Bug ...



Get a thread-safe instance of a proxy that dynamically binds on each method call to an instance of PersistenceManager.(Method of javax.jdo.PersistenceManagerFactory)



The PersistenceManagerFactory is the interface to use to obtain PersistenceManager instances.(Interface of JDO)


Weird behaviour with enhanced classes and embedded entities

Hi, I've found some weird behaviour in my project (www.tinymediamanager.org): Sometimes some entries of my ArrayLists with embedded entities are missing. I've hunted the problem down to an enhanced/proxied list in my entity which contains embedded entities and some .add(obj) are simply failing. Here is a small sscce which reproduces the issue: #1 2014-07-30 11:27 Hi, I've found some weird behaviour in my project (www.tinymediamanager.org): Sometimes some entries ...


GWT RPC is throwing serialization exception when I have object db date value

Caused by: com.google.gwt.user.client.rpc.SerializationException: Type 'objectdb.java.util.Date' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = Sat Jan 29 00:00:00 PST 2011    at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:614)  ... Any ideas? Is there any way to avoid the usage of those proxy classes?   stacktrace.txt ... found this: http://www.objectdb.com/java/jpa/entity/types#Proxy_Classes_ "Most applications are not affected by this, ...


2.5.3_02: java.lang.UnsupportedOperationException

Hello! I use Glassfish 4.0.0 and ObjectDB 2.5.3_02. When I do entityManager.createQuery I get an exception: ... com.sun.proxy.$Proxy266.login(Unknown Source) at ...


Different behavior with persist() and queried instances?

Hi, We have a simple class that by itself contains (among others) a property pointing to a collection: class Bla {  @OneToMany(cascade = CascadeType.ALL) private List<AttributeEntity> metaAttributes = new ArrayList<AttributeEntity>(); } ... is still a regular ArrayList instance and no special proxy class from objectdb which can track changes. However, when we do simple ... in debugger we can see that the metaAttributes points to a proxy class now. Anyway, long text short question --> are we really ...