About package

111-120 of 200Refresh
Forum
1

Running ObjectDB on a node that does not have internet connectivity

order to verify a package.jdo file) has failed. You are probably using an old beta version, in ... of the package.jdo files do not match the local dtd. Try to set the headers of all your package.jdo files to: The package.jdo files already begin with the line
Forum
1

Type ... is not defined as an entity (@Entity is missing) (error 302)

is shown below: package com.epimss.lab.data.bacti import groovy.beans.Bindable import javax.inject ... project that I use objectdb in. Now objectdb is tied to its own JDO API by packaging. Hence if I use ... but then this does not work.   The only solution it seems is to: 1. Package objectdb as an OSGi bundle. 2
Forum
1

Cast exception?

provider for EntityManager named xxx Upon closer examination, isn't javax.persistence package name inside ... , how can we get the exception contained inside the package? Is it perhaps only part of the jar is being loaded ... the same class loader as the current web app and the objectdb package. I've also checked that objectdb
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