Internal Website Search

101-150 of 181 results

Eclipse4 RCP - No Persistence provider for EntityManager

. You may be able to avoid changing the context class loader by following ideas from the forum thread

IN expression in a Criteria Query

.UserException: Unexpected query token ':l2' Does anybody have any idea how to solve these problems? Milan mimac

java.lang.NullPointerException when using ORDER BY

;  :     private Integer callDirection;   Any ideas on how to avoid

find() delay

results. I tried em.flush(), em.clear(), etc.. that do not work. Any idea ? TIA gzdillon Lai Yang Maybe

EM.find() is suddenly slower

. Do you have an idea ? I added two profiling pictures for slower and faster measurements. btc_es BTC EmbeddedSystems

NullpointerException when execute a merge

get this error. During development, we work with non-enhanced classes. Have you an idea what is the cause

Auto Date for Creation and Update

" is called. Is java.sql.Timestamp not supported? Any ideas are welcome :) kind Regard, Thomas /** * Date

ObjectDB doctor command

be done? Thanks   EKK Emmanuel Keskes This is not supported since usually it is a good idea

An ArrayIndexOutOfBoundsException with nested entities and enhanced entities

? support Support No, there are only entities involved. Have you an idea why this issue occurs? We try

substring works with string but not with char

changed my mind and agree with you. throwing an exception is this case is good idea ;) chris Christoph Ernst

Inserted entities with strings as keys and indices needs more and more ram memory in comparing to primitive integers as keys and indices

. Can you explain this and do you have an idea for the case that strings are used for keys and indices

Backup file always bigger than live db file

bigger.  The DB file and the backup file are the same size.  Any idea why? $ gzip -l

Error 990... and then new version?

, both through eclipse and through gradle) and I am just out of ideas why not.   joshua Joshua Chambers Ah

Attempt to execute a query using a closed EntityManager

(strategy = GenerationType.IDENTITY). 5. Any ideas why this would happen? @Stateless ClientC

TYPE Expression

(JpaQuery.java:695)   any idea ??? Alex quasado Alexander Adam Even this simple code causes the same

Missing atificat for ObjectDB?

", which is missing. It seems somehow the update is partially completed.   Any further idea ? Thanks

Query to find object from element of a contained collection

I have an OrderData class, containing an OrderItemData collection, i would like to find OrderData elements by OrderData.items.itemId. I cant get a proper query with MEMBER OF or IN. Does anyone have an idea on how i could formulate that as Typed or CriteriaBuilder query? Thanks.   @Entity

Support of modifying an ObjectDB Entity class (Schema Change)

If you modify an ObjectDB Entity class will it be supported by a database set up using the old class? I already have an idea to iterate through a database, getting each record and then creating a record of the new type and replacing it, but I was just wondering if there is an easier way or

Index causes increased memory usage

is not cleared after the data is stored, since the idea of the cache is to be ready for future requests

"Automatic" Auditing

Any ideas around how I could do "automatic" auditing of changes to objects? (An equivalent to Hibernate's Envers) Thanks. Michael. mmcgovern Michael McGovern You may try the following: Define the entity class with a composite primary key [id, revision]. Never delete entity objects - alway update

how to persist an object twice into two diff. collections of two diff. classes

the DB?     i apreciate ur ideas !!!!¨ ggrassi giuliano Just delete the  db.persist

AbstractMethodError ... __odbSetTracker(Lcom/objectdb/spi/Tracker;)V

version of ObjectDB? Any idea what has changed in your code that may be related to this issue? support

Getting exception while executing the Query

idea what might cause this exception to be thrown. We have release so please try to reply asap.  

Fields in objects not populated in query result.

the Explorer gives the results as expected. Any ideas what I'm doing wrong? This code had worked

Activated ObjectDB still throws "Too many persistable types"

, but this is a good idea . Will it help if it is shown on the server tray icon? In the log file? support

Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities

may be a good idea . This feature request has just been added to the issue tracking . support Support

Wrong @Id type

Hi,  I have noticed some values of id column suddenly switched to int, although it is declared as long in our java class. Do you have idea why this happened? Screenshot attached.   Pero_885 Pero Novaković There was a bug in UPDATE queries that was fixed. Please see this forum thread

Group by: list if no aggregate function is specified

, then fetching children list for each parent - not a good idea . Thank you. Vladiator Vlad Myachikov You may use JOIN FETCH for this purpose. support Support

Can you implement fastest Native JPA for MySQL by ClusterJ like?

to share my idea . Thanks kadirbasol Kadir BASOL Thank you for this post. A JDBC driver for ObjectDB

using DbUnit with ObjectDb

;-)   freddieFishCake Jonathan Lister Using JAXB is a nice idea and I am glad it works for you. But I

Failed to resize file - file system limitation error

.   Do you have any other ideas ? Thank you, Clinton CAPdev CAP Dev The next step

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation

considered beyond your scope of responsibility, but I welcome any ideas or suggestions

Problem upgrading

it starts to work again. Any ideas ? Best Regards   Here's a part of the output: org

final fields persistence

(I already wrote the body here, but somehow it got lost; so I'm retrying; apologies if it appears twice.) =========== We love the idea of using ObjetDb, but 99% of our Java entities are immutable, and auto generated using https://immutables.github.io/ -- which creates final fields

ArrayIndexOutOfBoundsException

this error shows up I can no longer query the database. Any ideas why this would happen? Thanks

Roadmap - no progress - any plans - transparency?

Software. So by browsing our issue tracking system , you can have a general idea of what will be included

Using a file extension other than .odb

This is a good idea , thanks. support Support Starting version 2.2.9 you can use other extensions, as long as

Spring MVC Errors

I try to import the project from the tutorial but when doing so I get errors: 1. https://i.imgur.com/tbIsj.png (old link) and then when I try to start it anyways I get things like thaat: 2. https://i.imgur.com/G7UVu.png (old link) any ideas ? I installed m2eclipse plugin and Maven Integration

NullPointerException

Hi! Just got this: [com.objectdb.o.ENT.A(ENT.java:450), com.objectdb.o.OBM.bx(OBM.java:371), com.objectdb.o.OBM.bx(OBM.java:249), com.objectdb.jpa.EMImpl.persist(EMImpl.java:375), ...]   Any idea ?? Using 2.3.3 ... thanks!! Alex quasado Alexander Adam The stack trace doesn't match version 2.3

Recovery file does not match db file

do anything else. Any idea what's going on? dmoshal David Moshal This may be related to issue 695

Best practice: Database update/migration of embedded databases in products

with the new “EntityPerson” Class and without data loss? We have a few ideas , but we think

Unexpected exception when execute query without enhanced entities

expected and shows the correct error message. Maybe you have an idea . btc_es BTC EmbeddedSystems Thank

each 1-2 days objects on some objectdb level lock/block each other

) and to give us an idea what additional index could help ? hgzwicker Hans-Georg Zwicker here are some typical queries

Enhancing a class causes it to not save changes.

have enhancement off, and fails otherwise.  (Included updated DBTest.java) Any idea

Tracking changes to new collections (in enhancement mode) after flush

is missed in the list. Do you have an idea why? @Entity @Access (AccessType.FIELD) public class

huge heap usage

we are using objectdb 2.7.2_6. At a custumer we have huge problems with the memory consumption (see the heap dump attached). The database size is pretty small (1.4 GByte). Any idea ? hgzwicker Hans-Georg Zwicker Could you please share the heap dump or analyse it and provide more information

com.objectdb.o.InternalException: java.lang.NoClassDefFoundError: java/sql/Date

idea why java.sql.Date is not found in the classpath? Which Java version are you using? Do you use

JPA Composite Key make Object Db throws "Unexpected exception (Error 990)"

990) My bookId and its attributes are NEVER null. Have you any idea about this problem

Removed entities can be found by query in the same transaction

a complex scenario. Maybe you have a hint how we can better analyze the issue or do you have an idea

Out of Memory - Slow leak?

will require a live test. Another idea for check - keeping separate database but separating