About null

forum_thread

SSL Problem

Hello, I have a problem to use the server with ssl. I have created the certificate using this command: keytool-genkeypair-dname "cn = Mark Jones, ou = JavaSoft, o = Sun, c = U.S."-alias business-keypass kpi135-keystore-storepass mykeystore ab987c-validity 180 Then I put in the configuration file objectdb: ... When I start the server I get only the word null and the server will not start. What's wrong?   ...

 
forum_thread

Detaching objects after JOIN FETCH

Hi, I have a question about detaching objects after issuing query with JOIN FETCH. Let's say I have two classes: public class A { @ManyToOne B bClass } public class B { @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL) List<A> aClasses; } Now, I want to fetch all B classes with all A classes skipping lazy loading: ... A classes and because EM is closed, B.aClasses is always null. I thought, that after join fetch and CascadeType.DETACH list of A ...

 
forum_thread

InternalError on multiple AND and JOIN Query

Hi, Using objectdb 2.2.8_06. Running the following query: SELECT DISTINCT $1 FROM CDI $1 JOIN $1.contactDetails $2 JOIN $2.addresses $3 JOIN $3.attributeList $4 JOIN $2.phoneNumbers $5 JOIN $5.attributeList $6 WHERE ((($4.name='suburb') AND ($4.valueAsString='Los Angeles')) AND (($6.name='areacode') AND ($6.valueAsString='310'))) Getting: ... java.lang.NullPointerException: null java.lang.NullPointerException at ...

 
api-jpa

valueOf(name)

Returns the enum constant of this type with the specified name.(Static Method of javax.persistence.EnumType)

 
api-jdo

getVersion(pc)

Return the version of the parameter instance.(Method of javax.jdo.spi.StateInterrogation)

 
api-jdo

valueOf(name)

Returns the enum constant of this type with the specified name.(Static Method of javax.jdo.annotations.VersionStrategy)

 
forum_thread

An InternalException occurs when gets an result list

[ObjectDB 2.6.4_04] Unexpected exception (Error 990) Generated by Java HotSpot(TM) Client VM 1.8.0_51 (on Windows 7 6.1). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: java.lang.NullPointerException: null java.lang.NullPointerException at com.objectdb.o.VAR.S(VAR.java:297) at com.objectdb.o.VAR.R(VAR.java:259) at com.objectdb.o.SYR.y(SYR.java:515) at com.objectdb.o.QRC.x(QRC.java:192) at com.objectdb.o.QRM.Vm(QRM.java:272)... java.lang.NullPointerException: null java.lang.NullPointerException at ...

 
api-jpa

getIdentifier(entity)

Return the id of the entity.(Method of javax.persistence.PersistenceUnitUtil)

 
forum_thread

com.objectdb.o._RollbackException: Failed to commit transaction

Check the Exception below: (occurs sometimes, ObjectDB 2.3.6_14) ... [na:1.6.0_21] java.lang.StackOverflowError: null at com.objectdb.o.TYM.ar(TYM.java:862) ~[TYM.class:na] at ...

 
api-jpa

javax.persistence.spi.PersistenceUnitTransactionType

Specifies whether entity managers created by the javax.persistence.EntityManagerFactory will be JTA or resource-local entity managers.(Enum of JPA)