Internal Website Search

1-50 of 102 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

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   

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

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

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

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

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

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ć

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

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);  

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

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

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);  

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

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

Path in tomcat

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

Remove not working

you for your report. Since JDO is not commonly used these days , including with ObjectDB (maybe

@ElementCollection Set is emptied sometimes

, until 1 day ago, when some fields got empty again (but not null). (basically...an empty HashSet

Problem on JPA Merge Entity.

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

GlassFish 3.1.2.2/JBoss 7.1.1

Good day , We have few troubles with GlassFish on @remote. When we wants to get entity from remote interface, but in the result we have null in all entity fields. As I see there is a GlassFish problem (http://www.java.net/forum/topic/glassfish/glassfish/cant-return-entity-ejbs-remote-ejb

Source not found error after downloading ObjectDB 2.3.7_04

2 days Pallavi pallavi You have to provide more details. What kind of error is it? Compilation

Speeding up reporting queries with size() on list

will do some more testing in next few days . lwalkowski Lukasz Walkowski

Activation error on Schema change

Support There was an EFI update few days ago on my MB - maybe this was causing problems. Anyway - I

Problem with distinct select, order by and equivalent alias/attribute path

. Nothing really worked so far but I'll try it again the next days and hope to get rid of the problem

Error reading UTF string

Good day , I have many errors like this, when try to use java.util.UUID as string in querys. 16:18:41,862 ERROR [org.jboss.ejb3.invocation] (http-0.0.0.0-0.0.0.0-8080-5) JBAS014134: EJB Invocation failed on component AuthenticationBean for method public abstract java.util.UUID granat.dp.ejb

Executing JUnit "all tests" throws "Object ... belongs to another EntityManager" Exception

Good day ! I wrote some JUnit tests that create separate objectdb databases and exercise the entities therein (via read/write operations). The tests run fine individually, but when I run "all tests," one fails consistently with the message: com.objectdb.o._JdoUserException: Object 'actr.model

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

[ODB1] Chapter 7 - JDOQL Queries

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

[ODB1] Chapter 1 - About ObjectDB

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

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

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  

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

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

Unexpected error when loading all entity instance

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

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

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

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

combined index not used

more, but you could check in the Action table, typically we take an endDate that is 30 days from

NullPointerException on initial database creation

that reliably reproduces the issue within a couple days . JohnSchneider John Schneider

Negative snapshot user count exception

for several days (with a clean database of course)? If you can share the database (e.g. by providing