ObjectDB Database Search

101-150 of 200 results

Wrong data stored in time only fields

This may be related to the fix for the problem described in this thread: Wrong data stored in date only fields . The object and its date and time fields are the same as in the referenced thread ... are using the 2015g time zone data. While we cannot see a problem with date only fields (more testing

query on calendar class

'}? The only solution is keep time and date i other fields and do that same wiht DAY_OF_WEEK? Solek Henryk Walezy ObjectDB does not currently support extracting a day of week from a date (methods for extracting other date parts are supported by ObjectDB as an extension to JPA), so you should consider

Composite Index error 328

.jdo.annotations.Indices; import javax.persistence.*; import java.io.Serializable; import java.sql. Date ... Integer mail; private int access; private short programType; private Date regDate; private Date regEnd; private Date lastLogin; private String lastIp; private int flags; private String name; private String

Schema update: package, class and field

one with the original name? Currently this works as we expected. Is it ensured that ObjectDB also in the future ... is that a coincidence?   Example: Version 1: class A { String date ; } Version 2: class A { String old_ date ; //renamed Date date ; } Schema: .. .. We expect following: version1: ( date ="21.07.2015" )  

Entity listener - event instead of object

Hi, Currently I'm playing with entity listener to implement auditing with difference between ... ().toString();             final Date transTime = new Date (); // new Date (event.getSource().getTimestamp());       

TemporalType injection with Calendar using JPA

.TIMESTAMP When I use a java.util. Date as a field on this object there is no problem. However, if I ... .objectdb.o.OBC.aF(OBC.java:742)       longpat Brian O'Hare Calender is currently not one of the supported types for primary keys . JPA supports only java.sql. Date (or java.util. Date

virtual servers and one file

of this? Our only current workaround is to swap out older Entities entirely, but of course ... drop. ObjectDB 2.x does use RandomAccessFile . ObjectDB 3.0, which is currently under development ... to distant file areas. Maybe depending on the creation date ? best regards Arne        

Query performance in general

Hi ObjectDB team, we are currently investigating performance issues that affect some ... and date where id is indexed and date is not. Would it make sense to have "WHERE $1.id ... AND $1. date = ..." instead of "WHERE $. date = ... AND $1.id ..."? We saw that there is a special statement

How to Use a SF with extended Persistence Context?

for the guest in the DB. if it finds one it updater his date to the current date . if not, it stores a new ... it that will make it show each name only once with his last login date . The changes are as follows ... ; [org.jboss.as.security] (MSC service thread 1-9) JBAS013100: Current PicketBox version=4.0.7.Final

significant performance decrease

to around 30% when the number of entities was just half of the current ). We tried to optimize the cache settings, current objectdb.conf is: Now the question is, are there settings to change the caching ... = 1L; @Id public String uUid; public Integer associatedFileCurrentVersion; public Date

JSON serialization and __odbHidden members

;    " date ": "2015-10-30T17:25:55.359+03:00",        "ua ... ; {        "IP": "127.0.0.1",        " date ... .0.1",        " date ": "2015-10-30T17:25:55.359+03:00",   

Setting temp directory location in ObjectDB

operation only i.e. Date Modified time in the microsoft explorer window For example, parentfolder ... ;           Date Modiefied parentfolder   ... to the current time and a new temprory file is the created in the folder which I have specified

JPQL JOIN FETCH Error

publishers left join fetch metadata.contributors contributors left join fetch metadata. dates dates left ... metadata.contributors LEFT JOIN FETCH metadata. dates LEFT JOIN FETCH metadata.types LEFT JOIN FETCH ... there is currently only 1 Doi and no actual Metadata. Do let me know if you are able to get it working

Explorer in 2.3

- and that is slow if you have millions of objects. Currently the workaround is to use queries ... expressions in the execution tab. Try the following query: SELECT 2 + 3. This is currently ... ("mypassword") is currently not supported. Please provide a list of additional expressions that you need

openejb jpa jaas module

.*; /** * Created with IntelliJ IDEA. * User: apple * Date : 31.01.2013 * Time: 06:01 * To change this template ... : apple * Date : 02.02.2013 * Time: 23:15 * To change this template use File | Settings | File Templates ... with IntelliJ IDEA. * User: apple * Date : 27.01.2013 * Time: 02:30 * To change this template use File

First query takes 4+ minutes to complete

; // Annotated with @Version : private Short channelNumber; : private Date startDate; // Date : date part of startDateTime private Date startTime; // Time: time part of startDateTime : private String ... , r.toExtension) FROM RecordingMetaData AS r The expected result is 7 records ( date , extension

Improvement in replication

. So in current implementation when master node dies, there is only a chance to read data from slave ... up with current master. The main problem with solution is to choose master when both nodes are down and we start ... yet, and therefore, if the slave accepts write operations they may be based on a state, which is not the most up to date

Failed to commit transaction: Attempt to reuse an existing primary key value (613)

I am using ObjectDB 2.8.3 version for my University Project which currently i am trying ... . @Test public void testONA() { try { SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy"); Date ... ", "Clark", "SmithClark", "ClarkSmith", "123456789", "jonsc@gmail.com", new Date (2001, 8, 1)); ev

@Convert is not supported?

Does objectdb jpa implementation support @Convert annotation? (convertion of property before persistance and vice versa) for example @Convert(converter = MyConverter.class) private Date date ;   ... an ORM feature, if it is found to be useful with ObjectDB. support Support I'll explain current

java.lang.NoClassDefFoundError: java/time/LocalDate

date and time types) you have to use Java 8 or above, rather than Java 7 that you are currently using. support Support ... ) { System.out.println(new Date ()); } gzdillon Lai Yang I removed the ObjectDB 2.8.6, and use

user defined backup target

Date /Time Information maybe: .. /Users/backup/mybackup.objectdb   2. What about the $odb File ? Does this file needs to be backed up? best regards Arne   Arne Arne Stocker Currently ... of the database file, and it would be located in a sub folder whose name reflects the date and time. Additional

JPA inheritance issue with ObjectDB - Field not found in type error

= (String) m.getKey(); if (m.getValue() instanceof Date ) { Date pVal = ( Date ) m.getValue(); qry.setParameter(pPara, pVal, TemporalType. DATE ); } else { Object pVal = (Object) m.getValue(); qry.setParameter

EntityManager.refresh takes a long time

; logger.log(Level.INFO, "begin select for person " + new Date ().toString());     ... " + new Date ().toString());                ... ;  person + "  "+ new Date ().toString());        

Calendar in Criteria Querys

temporal types: java.sql. Date - representing date with no time. java.sql.Time - representing time with no date . java.sql.Timestamp - representing both data and time. If possible, you should use these types instead of java.util.Calendar and java.util. Date , which eventually should be handled as

com.objectdb.o.NLV cannot be cast to com.objectdb.o.CMV

Long version;         private Date startDate;         // Date : date part of startDateTime     private Date startTime

Corrupted Database or error in ObjectDBExplorer?

.TestCaseImpl but somehow the Explorer doesn't have the up to date schema in the database. If this is the case, try to open the database with up to date schema (your entity classes and XML metadata if any ... persistent field, and again opening the database when the up to date class is available in

after upgrade to 2.9.0 database destroys, urgent issue at our most important customer, production shutdown

/becomes unusable, see doctor report and current log, urgent help required, production of a 500 ... we are currently uploading the database that was repaierd and the logs, as soon as available we send ... available hgzpincher Hans-Georg Zwicker The release date is unknown yet. If you would like

Error using query with MAX() function

@Temporal(value = TemporalType.TIMESTAMP) private Date changeDate; public int getId() { return id ... void setRemark(String remark) { this.remark = remark; } public Date getChangeDate() { return changeDate; } public void setChangeDate( Date changeDate) { this.changeDate = changeDate; } } public class

Problem of query With an aggregate function

.nb4xx),SUM(h.nb5xx) FROM HttpEntity h WHERE h.host = :host and h. date _http BETWEEN to_ date (:startDate,'dd/mm/yyyy HH24:mi:ss') AND to_ date (:endDate,'dd/mm/yyyy HH24:mi:ss')"); listClassRepHost

List of Enum Values in an entity

.io.Serializable; import java.sql. Date ; import java.util.ArrayList; import javax.persistence.Entity ... Date      signingDate; private GuestFlag    status; private ... ; this.signingDate = new Date (System.currentTimeMillis());   this.flags = new ArrayList ();   this.flags

Failed to read DB file while online backup is running

; public void performTask( Date date ) {   long wholestart = D.profile("Starting BackupDatabaseTask ... ;  if(subdir.isDirectory() && ( date .getTime() - subdir.lastModified() INTERVAL_TO_KEEP_BACKUPS

can't get HashMap out of the database

Fields: @Id @GeneratedValue Long id; private String name; private Date signingDate; private HashMap ... = name; this.signingDate = new Date (System.currentTimeMillis()); map.put(name, signingDate.toString ... object is: @Embeddable public class Guest implements Serializable { private String name; private Date

How to use JOIN FETCH?

. Date ; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.persistence ... ; @OneToMany   @MapKeyTemporal(TemporalType. DATE )   private Map addressHistory = new HashMap ... ; }   public void addAddress( Date start,Address address) {    addressHistory.put(start

Roadmap - no progress - any plans - transparency?

. Unfortunately we cannot provide a date for implementation of specific feature requests. ObjectDB 2.x ... release date for ObjectDB 3.0 yet, but it will not be before 2016. We understand that some customers ... features is the problem, and this why we will not commit to future dates . support Support

IDs of Entities suddenly became UUIDs?

and be done with it thus using the current databases without problems? quasado Alexander Adam ... Maybe quasado can provide up to date information about this problem. Possibly there was a schema

Mismatch client-server protocol prefix

LoginEvent(); event.setAccessType(AccessType.REST); event.setNote(note); event.setTimestamp(new Date ... that is already in use by an existing entity object of that type. Currently there are no known

Is 2 level cache in use?

it up to date and the memory that it consumes. Therefore, it is disabled in the  default configuration ... by indexes without accessing the primary data. Currently this hint must be set at the query level

jakarta.persistence.EntityManager.lock(Object,LockModeType,Map)

to the current transaction. Since: Jakarta Persistence (JPA) 2.0

jakarta.persistence.EntityManager.contains(Object)

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager boolean contains (    Object entity ) Determine if the given object is a managed entity instance belonging to the current persistence context. Parameters: entity - entity instance Returns: boolean value indicating

jakarta.persistence.EntityManager.refresh(Object,LockModeType,Map)

on an extended entity manager that has not been joined to the current transaction and any lock mode other than NONE was specified. Since: Jakarta Persistence (JPA) 2.0

jakarta.persistence.EntityManager.refresh(Object,RefreshOption...)

entity manager that has not been joined to the current transaction and any lock mode other than NONE was specified. Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.EntityManager.getProperties()

of properties and hints currently in effect. Since: Jakarta Persistence (JPA) 2.0

jakarta.persistence.SynchronizationType.SYNCHRONIZED

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.SynchronizationType SYNCHRONIZED Persistence context is automatically synchronized with the current transaction Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.SynchronizationType.UNSYNCHRONIZED

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.SynchronizationType UNSYNCHRONIZED Persistence context must be explicitly joined to the current transaction Since: Jakarta Persistence (JPA) 1.0

Using SELECT BETWEEN with LocalDate

Element e WHERE e. date between CURRENT _ DATE and : date " , Element. class ) .setParameter( " date " , date ) .getResultList() ; I get the following error for e. date in IntelliJ (Type mismatch: number, date ... I am trying to query all entities whose date is between today and today + X days. The date inside

ObjectDB 2 JDO Manual

that keeping two manuals up to date is a lot of work, but I would suggest that you a least make ... has hundreds of thousands of current users. Most of those users are probably now looking for a new ... manual would likely be a good one. JPA would not be of interest to most people currently using Object

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

duplicate (e.g. if there is a current time parameter it cannot work). Anyway, it is unclear ... ;concurrently but there is currently a synchronized block that locks the page for a very short time before ... and updates by type per minute), etc. a link for downloading the up to date 60GB database could also help

again merger missing logs + objectdb exception

and no corruption is currently found in indexes in the provided database (except number of entries ... ), upload of the database before repair is currently in progress   hgzwicker Hans-Georg Zwicker Good ... , including a position in the database in which there is an error. If you can share an up to date copy

ObjectDB for .NET (C# / VB)

on the progress of this porting to .NET ? When is the expected date of release and what sort ... ObjectDB users (which use Java) are at higher priority - there is no target date for completing this feature request. support Support Is there a way to negotiate such priority (in terms of date , price

ObjectDB 2.6.5

request #1658 ). Fixed a bug in persisting dates ( TemporalType. DATE ) based on time close to clock change . Fixed a bug in indexing java.sql. Date fields during time / time zone change . Fixed a bug in detachment of embedded objects ( if enabled ).