About package

91-100 of 200Refresh
Forum
1

Embedded in JDO metadata not working in objectDB 2.x ?

Hi, I am using JDO access to the database with the persistence defined in package.jdo XML metadata ... 2 is ignoring the "embedded=true" attribute in the package.jdo XML ? If yes, how to handle this ? 3 ... " embedded-only="true"> in package.jdo. Btw, is this declaration equivalent to the @EmbeddedOnly  JDO
Forum
1

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

" />           Test Code package tutorial; import javax.persistence.*; import ... ");   System.out.println("Average X: " + q2.getSingleResult()); } }   package tutorial; import java ... . package tutorial; import javax.persistence.*; import java.util.*; public class Main { private
Issue
1

Exception in thread "main" java.lang.NoSuchFieldError: __odbTracker

: __odbTracker at com.package.Network.__odbSet_Connections(Network.java:1) at com.package.Network.(Network.java:95) at com.package.EnhancementTest.main(EnhancementTest.java:14)   Network class
Forum
1

How to Persist a Map of beans to collections of beans?

Hello, I am trying to add a new persistable object to the package.jdo for persistence in a .odb file.  The class contains a field that is as follows: private Mappackage.jdo xml?  Thanks in advance for your help. -A In the package.jdo
Forum
1

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

. package failing; import java.io.Serializable; import javax.persistence.Entity; import javax ... Ostrich() { } } package failing; import java.io.Serializable; import java.util.Map; import javax ... Ostrich getOstrich() { return ostrich; } } ...and a program to try it out: package failing; import
Forum
1

New to Product & Having An Issue

. package test.Domain; ...imports.... @Entity @Access(AccessType.PROPERTY) @NamedQueries ... ; return this.domainId.equals(obj); } } package test.Domain; ...imports ... case, like this: package test.test; ....imports..... public class TestDepartment
Forum
1

NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1

:10,223 ERROR [stderr] (http--127.0.0.1-8080-1) [ObjectDB 2.5.1_05] Package test is not found by ... : Package test is not found by the enhancer 12:25:10,224 ERROR [stderr] (http--127.0.0.1-8080-1 ... )   All objects is in the package "test". Please tell me what am I doing wrong? Thanks for your help. > I added
Forum
1

ODB 2 JDO enhancement

If I label a class @PersistenceCapable do I still need to explicitly enhance? Do I need a package.jdo file? This question relates to experiences with ODB 1, in which one has to: a) create a package ... metadata (e.g. package.jdo). Enhancement is another issue. ObjectDB 2
Forum
1

OutofMemory error with Object DB 2.0

classes in my package.jdo have been enhanced using com.objectdb.Enhancer. (they were also enhanced ... issue for our release. I am also attaching our package.jdo files (previous file used with 1.0 ... of package.jdo Build 2.4.3_06 includes a fix that may solve the problem. Please try it. Thanks, I
Forum
1

Tomcat + JPA Problem

signer information of other classes in the same package [ObjectDB 2.1.0] class "javax.persistence.Entity"'s signer information does not match signer information of other classes in the same package ... signer information of other classes in the same package at java.lang.ClassLoader.checkCerts(Unknown