About main

181-190 of 200Refresh
Issue
1

Issue with TYPE expression in Criteria API

.virtual.model.MyCustomer $1 WHERE TYPE($1)=class com.test.model.Customer Exception in thread "main ... :675) at com.test.TestRun.test01(TestRun.java:68) at com.test.TestRun.main(TestRun.java:28) Caused ... .criteria.Root; public class T605 {     public static void main(String[] args
Forum
1

Left join fetch behaviour doesn't retrieve children?

ObjectDbTest {     public static void main(String[] args)  {               EntityManagerFactory emf ... . The test case : public class ObjectDbTest { public static void main(String[] args ... main(String[] args) {   EntityManagerFactory emf = Persistence.createEntityManagerFactory("objectdb
Forum
1

Mysterious "Attempt to persist a reference to a non managed instance" error

com.objectdb.Enhancer; public class ODBTest { public static void main(String[] args ... still getting an exception: Exception in thread "main" [ObjectDB 2.2.6_03] javax.persistence ... .main(ODBTest.java:38) Caused by: javax.persistence.PersistenceException: com.objectdb.o
Issue
1

NullPointer when accessing persistent field

(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main ... class T544 {         public static void main(String[] args) {         EntityManagerFactory emf ... .RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main
Issue
1

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

). Darren PS: We do not want to have to fork our main web application to go through it and tediously ... it works, however it does mean some significant changes in my main project (although these won't hurt ... until the evaluation runs and is proven on our main web app, without forking them.) EAGER is definitely out. As
Forum
1

PersistenceException: Failed to locate field

"main" java.lang.ExceptionInInitializerError Caused by: com.objectdb.o._PersistenceException: Failed ... should still work. ok, so problem resolves if I add programmatic enhancement: static void main ( args ... should out the enhancement code in there first or have a proxy class which calls the main class, if I recall
Forum
1

Pre-detach loading: retrieval by navigation not working in if statement

previous reports regarding using ObjectDB javaagent enhancer. Note that the main difference between build ... ).   > the main difference between build time enhancement and on the fly javaagent enhancement is that the later ... to Enum and Interface class files. The main activity of the Enhancer is to encapsulate persistent fields
Forum
1

Primary key generation problem after changing entity package

; import javax.persistence.*; public class T719 {     public static void main(String[] args ... - lib/). Now when I try to run test again I get error : Exception in thread "main" [ObjectDB 2.3 ... .persist(EMImpl.java:378) at homplex.boostrap.T719.main(T719.java:22) Caused by: com.objectdb.o
Forum
1

Problem with byte arrays in JDO - ClassCastException

of a Query: Exception in thread "main" java.lang.ClassCastException: java.lang.Boolean cannot be cast to [B at spiffy.test.ObjectdbTest.main(ObjectdbTest.java:44) package spiffy.test; import java ...      */     public static void main(String[] args) {         PersistenceManagerFactory pmf
Forum
1

Problem with byte arrays in JDO - internal exception

*/ public static void main(String[] args) { PersistenceManagerFactory pmf = JDOHelper ... > Exception in thread "main" [ObjectDB 2.7.1_01] Unexpected exception (Error 990)   Generated by Java ... .jdo.JdoQuery.execute(JdoQuery.java:761) at spiffy.test.ObjectdbTest.main(ObjectdbTest.java:42