Internal Website Search
101-150 of 200 resultsTomcat + 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 07.03 ... information of other classes in the same package at java.lang.ClassLoader.checkCerts(Unknown Source | |
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 Map m_objectToPersist; I'm ... this in package .jdo xml? Thanks in advance for your help. -A cvtsc Dev Team In the package .jdo file | |
Maven driven compile time ehnancement mvn package jetty:run The enhancement message is shown, but the Guest.class file in ... . With the domain class project, I also have "Entity Listeners" so I omit those packages , but I'm a bit of a fanatic when it comes to package naming, which made it easier. Happy to help! Willks William | |
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 ... / @Entity) replace the XML metadata (e.g. package .jdo). Enhancement is another issue. ObjectDB 2 | |
Unable to persist fields in subclass: package miscTests; import javafx.beans.property.SimpleStringProperty; import javafx.beans.property ... () { return contactID; } public final void setContactID(long id) { if (id 0) contactID = id; } } package ... ); } else dateOfBirth.set(date); } public ObjectProperty dateOfBirth() { return dateOfBirth; } } package miscTests | |
Mysterious "Attempt to persist a reference to a non managed instance" error the past. package failing; import java.io.Serializable; import javax.persistence.Entity; import javax ... ; public Ostrich() { } } package failing; import java.io.Serializable; import java ... ; public Ostrich getOstrich() { return ostrich; } } ...and a program to try it out: package failing; import | |
Duplicate Entity class names causes Exception in Query I have two Entities which have the same class name but reside in different packages , only one of them is mentioned in the persistence.xml. I a NamedQuery I use the unqualified class name ... the query on objdbTest.Item package objdbTest; import .... @Entity @NamedQueries({ @NamedQuery | |
Explorer in 2.3 to rename the Entity Classes (especially the package names). dmoshal David Moshal One further point: I'm ... described above. dmoshal David Moshal You can rename packages , classes and fields by using | |
Problem with byte arrays in JDO - internal exception This code generates an internal exception: package spiffy.test; import java.util.List; import javax.jdo.JDOHelper; import javax.jdo.PersistenceManager; import javax.jdo.PersistenceManagerFactory ... ("name1"); for (Example data : dataList) { System.out.print(data); } } } package spiffy.test.model | |
EntityManager refresh problem -------------------- package example; import java.io.File; import javax.persistence.EntityManager; import ... ; } -------------------- - SimpleEntity.java -------------------- package entities; import javax | |
EntityManager getMetamodel() causes crash the db each time, so this is on an empty db. package test; import javax.persistence.*; /** * Test Case ... (); } } package test; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence | |
Problem with byte arrays in JDO - ClassCastException to [B at spiffy.test.ObjectdbTest.main(ObjectdbTest.java:44) package spiffy.test; import java.util ... ; } } package spiffy.test.model; /** * * @author steve */ public class Example { private long id; private | |
enhancement issue: [ObjectDB 2.7.1_02] Package app.model is not found by the enhancer (error 108) com.objectdb.o.UserException: Package app.model is not found by the enhancer   | |
Compare old and new schema, some classes may have been renamed or changed package . Is there a way for me to check what "format ... classes, package changes etc... All these changes frequently take place between software versions | |
IN expression in a Criteria Query andrewv Andrew Voumard A test that was written for the original report, still works with 2.5.3: package ... , that still works: package test; import java.util.*; import javax.persistence.*; import javax.persistence.criteria | |
Schema Update: class hierarchy change of MyEntity package profileMigration.classhierachychange; import javax.persistence.Basic; import javax ... to BaseEntity: [Please note the changes in the Main method] package profileMigration.classhierachychange | |
TYPE Expression package path but the exact name of the entity. Alex quasado Alexander Adam Build 2.3.4_02 includes a partial fix and the following test should work: package com.objectdb.test.bug.forum; import java.io | |
Missing atificat for ObjectDB?. marlonmin martin Do I have to move the objectdb package to our company's own maven repository ... You may try moving the ObjectDB package manually, although it should work automatically. It is unclear | |
Error 613 - i cant put a list | |
object creation during pmf.getPersistenceManager() Hi We have observed that during pmf.getPersistenceManager(), objectdb is creating object instances for all classes declared in package .jdo. Could You explain why? we are not even sure ... on package .jdo file, this approach has advantage to writing constructors by hand, we skiped fields | |
javax.transaction.Synchronization with Java SE 10.0.1.LayerInstantiationException: Package javax.transaction.xa in both module java.transaction and module java ... , which includes only a small subset of that package and particularly does not include | |
Changing existing objects from Entity to Embedded another package which were defined as embedded-only, made a migration utility which read the original objects ... as in ObjectDB 1.0), either by annotation ( @Embeddable ) or by external XML metadata ( in package .jdo ). support Support | |
Trouble bug on explorer: package model; import javax.jdo.annotations.Index; import javax.persistence.*; import java.io ... .UMR.H(UMR.java:764) ... 94 more package model; import javax.persistence.Entity; import | |
EntityTransaction.commit() does not release a pessimistic lock result. (side note: EntityTransaction.rollback() releases it correctly) // Account.java package icke ... += a; } } // Main.java package icke; import javax.persistence.*; import java.io.File; import java.util | |
InternalError on multiple AND and JOIN Query 2.28_07. Here is the output from 'mvn clean package ': [INFO] Scanning for projects... [INFO ... test [INFO] task-segment: [clean, package ] [INFO | |
Enhancement API - NullPointerException Hi! I am trying to use the Enhancement API from within my application like this: com.objectdb.Enhancer.enhance("my. package .Foo"); However, I get the following NullPointerException: [ObjectDB 2.7.1 ... :69) at com.objectdb.Enhancer.enhance(Enhancer.java:90) at my. package .Main.main(Main.java:34) I | |
Failed to generate dynamic type Hi I was trying to enhance some of my classes and I got an error : Failed to generate dynamic type com. package .RootContainer (error 361) It seems that all dependent classes ... , can we do the same in case of JDO? can we specify with that option file package .jdo? in a doc | |
Field in Generic Class not persisted? Thanks package DBbug; import com.google.common.base.Objects; import java.util.List; import ... ; H3.print(); } } and the Abstract class package DBbug; import | |
Find the error...JPA ENTITY HIBERNATE.png.html Entities: package com.example.demo; import java.io.Serializable ... ) { this.email = email; } public user() { } } package com.example.demo | |
objectdb:2.8.4 - Error occurred during initialization of boot layer and java.sql export package javax.transaction.xa to module commons.collections Process finished ... layer java.lang.module.ResolutionException: Modules java.sql and objectdb export package javax | |
Possible cause for "Enhancement of type ... is old and cannot be used"; is not enhanced". We didn't added the package com.btc.ep.requirement.bl.internal.* to the enhancer | |
Bug: ClassCastException by retrieval Hi, when a generic array put into ObjectDB, its type changed to Object[]! codes: package test; import java.util.Arrays; import javax.persistence.Entity; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.EntityTransaction; import javax | |
Custom collection types achieve this for collections which are not in java.util package ? if this collection type | |
OEM: Too many persistable types (>10) - exceeds evaluation limit (error 1011) so there are no external influences, just what I have built into the JRE application installer package . I will try now | |
Index on map key Is there a way to create an Index with @Index on the key of a map? wua Andreas Wurm Indexes on map keys as well as queries on map keys are currently not supported. But as a workaround you can use a collection of embedded objects, as demonstrated below: package test; import java.util.*; import | |
ORDER BY problem, when String starts with language specific character, but this should work: package com.objectdb.forum; import java.text.*; import java.util.*; import javax.persistence | |
Problem with distinct select, order by and equivalent alias/attribute path; } package de.solvit.objectdbtest; import de.solvit.objectdbtest.entity.Location; import | |
Need help to make this test work and define proper annotations for entities Lists nor static and no entity is static. package testodb; import java.io.File; import java.io | |
List of Enum Values in an entity, the guest class is the only thing I changed in the whole application: package .model.entity; import java | |
Does ObjectDB support lazy loading? that demonstrates that issue. The following sample program demonstrates lazy loading: package com.objectdb | |
Composite Index error 328 Hi , when i try to use this entity as shown below: package persistence.jpa.models; import javax.jdo.annotations.Indices; import javax.persistence.*; import java.io.Serializable; import java.sql.Date; import java.util.Objects; @Entity @Table(name = "usrlist", schema = "posts") @NamedQueries | |
Feature suggestion: Improved Maven Enhancer support when there are lots of entities in different packages (and also a bit error prone, because you need to remember add a new argument each time an entity is added in a new package ): com | |
Why does ObjectDB duplicate classes from javax.jdo:jdo-api? packages and classes that clash with the JDO API's JAR? If a project uses JPA and JDO, it is most likely ... which is an abstraction (I believe). Furthermore, I believe and finding the same packages in two different | |
Issues with JDO Casting & Full Qualified Names Hi, As I've feared.. Fully Qualified Names in casting not working, throws an identifier expected exception: package com.test; import java.util.HashMap; import java.util.Map; import javax.persistence ... to be supported by JDO. Try: package com.test; import java.util.HashMap; import java.util.Map; import | |
Entity field renaming does not work Hello, we use the ObjectDB version 2.8.5_05. We want to rename a field in an entity and it does not work: from: package com.btc.ep.analysis.verdict.tolerance.bl.internal.dmos; @Entity @Access ... ; We have also class and package renaming for other entities and it works correctly. btc_es BTC | |
ObjectDB BIRT Driver Update. package .reporting.product Command-line arguments: -data C:\Users\kwhittin\new_workspace_birt -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp. package .reporting.product org.eclipse.birt.report | |
Remove of an entry from a @OneToMany collection is not possible if the enhancer is disabled Hello! When the JPA entities are not enhanced the removal of an entry from a @OneToMany collection is not possible. The following java code demonstrates the problem. The statement parentEntity.getChildEntityContainer().remove("01"); does not work correctly with not enhanced JPA entities. package | |
NullPointer when accessing persistent field and db files ( transaction is rolled back ) The packages were all enhanced ( static weaving | |
Dynamic Metadata (JDO 3.0) JDO 3 introduces the ability to specify and query metadata of persistable types dynamically. ObjectDB 2 supports specifying metadata by: JPA XML Mapping Metadata JPA Annotations JDO XML Metadata (e.g. package .jdo) JDO Annotations All these methods are static, i.e. the metadata has to be provided | |
[ObjectDB 2.2.6_02] Unexpected exception (Error 990) at com.objectdb.o.OBC.aJ(OBC.java:961).java:28) The code is as follows: package com.reproduce.error; import java.math |