ObjectDB Database Search

1-50 of 105 results

Activated DB does not work from one to another day

Activated DB does not work from one to another day . How can this be? com.objectdb.o.UserException: Too many persistable types (10) - exceeds evaluation limit at com.objectdb.o.MSG.a(MSG.java:64) at com.objectdb.o.MST.YW(MST.java:1168) at com.objectdb.o.WRA.YW(WRA.java:215) at com.objectdb.o.TYS.f

Date and Time in JPQL and Criteria Queries

such functions as an extension. ObjectDB supports 6 functions for extracting the YEAR , MONTH , DAY ... '2011-12-31'}) is evaluated to 12 . DAY ({d '2011-12-31'}) is evaluated to 31 . HOUR({t '23:59:00 ... ); Expression day = cb. function (" day ", Integer.class, ts);   // Create expressions

General Settings and Logging

( "" ) logging to file is disabled. Every day a new log file is generated with the name odb .log ... attribute specifies how many days to keep the archived log files. After that period an archived log file

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

each 1-2 days we have the situation that our system changes to a completely underperforming mode ... days . Can you confirm that it happens when the system is on load? Does it happen in a specific time of the day ? any other pattern? a specific query or transaction (e.g. a report)? You wrote

several times a day queries take several minutes

))) that normally take around 10 seconds but sometimes several times a day take around 3-10 minutes

TemporalType injection with Calendar using JPA

.foo.bar.jpa.enity.TimePeriod[ day , java.util.GregorianCalendar[time=1306779283031,areFieldsSet=true ... ,WEEK_OF_MONTH=5, DAY _OF_MONTH=30, DAY _OF_YEAR=150, DAY _OF_WEEK=2, DAY _OF_WEEK_IN_MONTH=5,AM_PM=1,HOUR=7,HOUR_OF_ DAY =19,MINUTE=14,SECOND=43,MILLISECOND=31,ZONE_OFFSET=0,DST_OFFSET=3600000], java.util

Grouping by date()

'}) is evaluated to 12. DAY ({d '2011-12-31'}) is evaluated to 31. HOUR({t '23:59:00'}) is evaluated to 23. MINUTE ... have to group by date(). For few queries I was concatenating 'date' from year()-month()- day () calls ...  in queries: DATE(ts) - Extracts the date part (year, month, day ) as a Date instance. TIME(ts

query on calendar class

where Calendar. DAY _OF_WEEK is FRIDAY or any other. My class: @Entity public class Cdr {     ... ("SELECT c FROM Cdr c where c.start. DAY _OF_WEEK = ?1",Cdr.class); query.setParameter(1,Calendar.FRIDAY ... .PersistenceException Navigation from 'java.util.Calendar' through ' DAY _OF_WEEK' is invalid (error 763) at com

Group by date / time

Hi, I'm trying to create reporting query that will return entities grouped by year / mont / day ... () or DAY () in ODB. So, how to build queries similar to something like this: SELECT COUNT(id) FROM stats ... , DAY , HOUR , MINUTE , SECOND ) was just added to ObjectDB in build 2.2.8_02. For example

Mismatch client-server protocol prefix

this method for over 3 years now. It's from the early days of our software when we used MySQL. This method is called thousands of times a day by different daemons and webapps. It only fails in ... multiple times during the day : com.objectdb.o.InternalException: Error reading UTF string   

ObjectDB is opening too many sockets

to print all network related kernel calls from process: Based on that 2 times a during day the ODB ... for several hours. thamal Tomas Hamal Based on that 2 times a during day the ODB Server went crazy ... the heap dumps? I don't think so. This server is in idle mode for days for observations

ObjectDB shuts down

Hi, we have a problem with OBjectDB shuts down every few days , sometimes every day . It always happens in the morning ie. after several hours of inactivity although we are not sure ... . Shutdowns are terminating the proces. Will analyse more in the folowing days and provide more detailed info. lp   peric.emil Emil Perić

Date field Index is corrupted due to time change

time in the actual day light saving time zone. 3. Add records - as you can see from the attached DB file we added about 30K records over 2 days . 4. Try a DELETE - exception thrown. Restarting ... (Calendar.MONTH, Calendar.JANUARY);         calendar.set(Calendar. DAY

Incremental online backup

to perform backups more often, several times a day , in order to always have a backup that's closer ... up incrementally twice a day , and one day we realize that the database has been corrupted (by which i mean

InternalException when reading a HashMap

Hi, our app threw this exception during saving an object after running for several days (using ... :289) ... 16 more a few days later an instance of the same class was saving fine - no exception thrown. 8 days later the same exception was thrown for another class and another DB file in the same

Path in tomcat

. support Support You can try configuration like this (it's my day to day dev environment): - create

watch out for your hosting provider migrating machines

your account in the last days . How exactly did you solve the problem? support Support yep, I activated it a few days ago.   dmoshal David Moshal

Modifying something with Explorer -> app JPQL with Enum doesn't work anymore

to take much more time. Images in the website work now. Our website may be less stable during the next days ... it. Unfortunately we cannot provide same day fixes for issues that are not demonstrated

Exceeding max connections and crashing

stops once a day with no apperent reason. Second cause we suspect is the number of network connections ... of connections 2 days ago we didn’t had any ObjectDB crashes. Thanks for your help peric.emil Emil Perić

Replication error on slave restart

files or at least estimate sizing. Because I use objectDB in online game, and every day ... you can see slave is updated now only to the end of the first test case (1 day ago). Master is up to date

java.sql.Date equals comparison not working with CriteriaAPI

;  cal.set(Calendar.HOUR_OF_ DAY , 0);         cal.set(Calendar ... (Calendar.HOUR_OF_ DAY , 0);         cal.set(Calendar.MINUTE, 0);  

Wrong data stored in date only fileds

2015", i.e. one day before 25th. The other two fields are correct.   This does not happen on other days . For example if add objects with the same time but on the 26th of October, the startDate

Wrong data stored in time only fields

.e the error is exactly 1 day behind. For record 8 the input is "Thu Jan 01 18:18:14 EST 1970 ... .JANUARY);         calendar.set(Calendar. DAY _OF_MONTH, 1);  

License State

it will be valid sometimes for 2 hours, sometimes only for 30 minutes or less and sometimes for the whole day ... could not be used as developing machine unless I want to reactivate my license up to 10 times a day . 

General Performance Issues Illustrated with a Specific Method

(period.getMonths() + " months and " + period.getDays() + " days ."); } period = new Period(dob, date, PeriodType. days ()); setAgeInDays((long) period.getDays()); } public String getAge

License Key on macOS Sequoia 15.6.1

, sometimes only for 30 minutes or less and sometimes for the whole day . Once the license ... unless I want to reactivate my license up to 10 times a day .  best regards Arne Arne Arne

Explorer

Hi, For last few days I was refactoring my application from standrad ORM aproach to ODB. Everything is fine for now, but I have a question about Explorer. It works only in R/O mode, which in some cases is insufficient for effective work. Is there any plan to release a R/W version of Explorer

Problem on JPA Merge Entity.

a little sample. guli CHARLOIS Hi, I just work all day on the problem reported yesterday . I think

migration path from JPA / Hibernate

supported (relevant documentation will be released in a few days ). If your application uses old

Server connection management

The server does not appear to release broken connections. My typical development pattern is to keep reloading my war file in tomcat until the permgen space runs out, and then I kill and restart tomcat. After a few days of this, the server stops responding, and I see the following in the server

Fetching Collections Puzzle

Paul Kant Thanks Erick, I was messing up with the EntityManagers, which was the root of the problem. Have a beautiful day ! paulk Paul Kant

OptimisticLockException

Moshal I haven't had this issue yet with ObjectDB, but during my early days with hibernate I got

Different behavior with persist() and queried instances?

okay I am giving up after a whole day struggling.. The one thing I can *definitely* say

How to creat a Query with Sql which returns a List marks

to go over the athlete. im in a hurry because we have to get this straight within two days , and my friend just

using DbUnit with ObjectDb

? If you do - this could be served for a quick initial implementation of this feature (hopefully in days

[ODB1] Chapter 1 - About ObjectDB

that's expanding every day . JDO already has websites, a forum, a mailing list, consulting and training

[ODB1] Chapter 7 - JDOQL Queries

four lines of code prepare a Date instance representing the first day of the year 2000. The query

Server out of memory exceptions

of where the memory is being used. In each exception case the server has typically been running for 3-4 days ... . Could you get heap dump snapshots - after one day , two days , three days - in order to detect memory leakage ... itself after a few days the test is deliberately more extreme to try and force the issue out. The application does

Online Backup degrades responsiveness.

days : try { CoreService.getLogger(this).info("DB Backup Start..."); TypedQuery backupQuery =   ... (); } These 2 days I notice that the server, or mainly database would start to have issues responding ... happening these 2 days , and only when the server is busy, e.g. the DB is getting hit harder

again merger missing logs + objectdb exception

to have a solution (at least a workaround to prevent future corruption) in the next days ... Support again we have an assert (we could only stop and copy the database 2 days ago, there was not ... on it every day after the repair it would help monitoring the issue further, as the bug has not been solved

log entry and massive performance issues

times per day we have a simple object remove (entityManager.remove) that takes more than 5 minutes ... unfortunately it cannot be reproduced as it just happens spuriously several times a day . the class ... addition to this slow behaviour we have several times a day the situation that a normal select

Inverse OneToMany Mapping and EmbeddedId

;   byte day ;     byte hour; } Query: select ps.platform.id, ps.sensor.id, v.id.year, v.id.month, v.id. day , v.id.hour, v.value from PlatformSensor ps, Value v where ps.sensor.name like ?1 and v.id.platformSensor=ps.id and v.id.year=?2 and v.id.month=?3 and v.id. day =?4  

ObjectDB 2 JDO Manual

being a great solution for me, and my looking usewhere for a solution. But, for the last few days I ... rather than to JPA. JPA is much more popular than JDO these days , and accordingly most ObjectDB users use JPA. Not

Server crash - Mismatch client-server protocol prefix

We've been having a problem where our ObjectDB server goes unresponsive every 2 days or so.  I've reviewed the server-side logs, and there are no events logged shortly before the crash.   ... .something).  The issue I reported as #206 started within a few days , and occurred in clusters

Feature Request: Subclassed PersistenceException for Type Not Found in DB Schema

Hi, Our application uses a sharding strategy with ObjectDB.  We have numerous ODB files with different schemas managed by the same ObjectDB server that are sharded based on the day .  ... .AbstractHLogService:74 One of the methods that returns this exception every day a before a new shard

Unexpected error when loading all entity instance

. in the last day )? Corruptions started in the last days , but apparently you were using ObjectDB

Query fails with failed to read

2-3 times per day we have a query that fails with:   Failed to read from file 'F:\Hummingbird\Objectdb\db\coresystemdb.odb'     in the objectdb log there is no entry ... we have it now 5-10 times per day . There is not any backup activity active during these times. It always happens

ObjectDB 2.2.9

Added new configuration to enable / disable auto serialization of non persistable types (now disabled by default). Added support of date methods ( YEAR , MONTH , DAY , HOUR , MINUTE , SECOND ). Added support of  bypassing no arg constructors  of entity classes . Added support of using

Out of Memory - Slow leak?

dumps. Maybe it would be better if you send a heap dump of your application after 2-3 days (before

Referential Integrity

support than Datanucleus. But declarative referential integrity is a must from day