About time

81-90 of 200Refresh
Forum
3

500Mb ObjectDb database opening issue

Hi, I have observed that 500 Mb objectDb database opening time is very slow (~3 seconds) for following code long time = System.currentTimeMillis(); m_EntityMgrFactory = Persistence ... (); LOGGER.info( String.format( "took [%d] ms", System.currentTimeMillis() - time ) ); Does exist
JDO Doc
3

javax.jdo.Constants

_SERVER_TIME_ZONE_ID The name of the persistence manager factory element's "server-time-zone-id" attribute. The name of the persistence manager factory element's "server-time-zone-id" attribute ... " Since: JDO 2.1 See Also: PersistenceManagerFactory.getRetainValues() String PROPERTY_SERVER_TIME_ZONE_ID
JPA Doc
3

javax.persistence.criteria.CriteriaBuilder

: expression for current date Since: JPA 2.0 Expression<Time> currentTime() Create expression to return current time. Create expression to return current time. Returns: expression for current time Since: JPA
JPA Doc
3

javax.persistence.TemporalType

. Since: JPA 1.0 Learn how to define and use date and time fields in Chapter 2 of the ObjectDB/JPA manual. TemporalType DATE Map as java.sql.Date Map as java.sql.Date Since: JPA 1.0 TemporalType TIME Map as java.sql.Time Map as java.sql.Time Since: JPA 1.0 TemporalType TIMESTAMP Map as java.sql.Timestamp
JPA Doc
3

currentTime()

Method javax.persistence.criteria.CriteriaBuilder Expression<Time> currentTime() Create expression to return current time. Returns: expression for current time Since: JPA 2.0
JDO Doc
3

getServerDate()

Method javax.jdo.PersistenceManager Date getServerDate() Get the Date as seen by the server. Clients using this method can order their operations according to a single time source. Implementations use the setting of the server time zone to prepare a Date instance that represents UTC time
Forum
3

Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x

the same amount of time. 11-Sep 14:55:58 ERROR  [JDORepository.retrieve:482] Start Time : class com ... ] End Time Time 11-Sep 14:56:34 ERROR  [JDORepository.retrieve:482] Start Time : class com.anritsu ... Time Time 11-Sep 14:57:09 ERROR  [JDORepository.retrieve:482] Start Time : class com.anritsu.eu.rtd
Forum
3

Selective merge/cascade of detatched entity

memory at all times, in a Detached state (I realise the implications here, there are good reasons ... to the database, so a commit will never fail. Any time an object is modified it is checked ... takes a significant amount of time. What I would Ideally like to happen
Forum
2

Pre-detach loading: retrieval by navigation not working in if statement

through with NetBeans debugger did not help me, as every time you inspect a variable it triggers loading ... the JVM interpreter as well. Have you tried build time enhancement instead of using -javaagent? Please post relevant byte code after enhancement. > Have you tried build time enhancement instead
JDO Doc
2

javax.jdo.PersistenceManagerFactory

and can only be called when the PersistenceManagerFactory is configurable (before the first time ... and can only be called when the PersistenceManagerFactory is configurable (before the first time