About XML

release

2.3.7

... support of @Column(unique="true") and equivalent ORM XML ( issue #79 ). Fixed @PrePersist on merge to be called ... parameter ( issue @45 ). Fixed pom.xml files in the Maven tutorials to use Java 1.5 / 1.6. Version ...

 
forum_thread

Join performance in Objectdb

select count(e) from Meta e, ImageNet i, Page p where e.idImage=i.id and e.idPage=p.id; So simple a command cause me half an hour and is running now! Each table has about 160K records. What formula can predict the time for such counting? TIA ... each field of idxxxx; 3, The Meta is parsed from a xml file like: ... <PIC> <PIC_URL></PIC_URL> ...

 
forum_thread

Dependency from enhanced classes to the objectDB library

Hello, we have a Question to the dependency from enhanced classes (required for license) to the objectDB library.... the persistence unit is not found (defined in persistence.xml) Do you have any idea how you can help us?   ... Exception. 3) Run the enhanced –map.xml, of project com.btc.ep.dal.impl, as Ant Build.     -> ...

 
forum_thread

Null enums and IS (NOT) NULL: NullPointerException

Hello. I'm getting NullPointerException when adding %enum field% IS (NOT) NULL or == (!=) NULL in WHERE clause. The same exception using CriteriaQuery. ... java.lang.Thread.run(Thread.java:744) ]] <?xml version = "1.0" encoding = "UTF-8" ?> <!DOCTYPE html ...

 
forum_thread

problem with lazy loading - unittest project attached

hi, i'm still testing objectdb together with spring-data-jpa. i made a test which should simulate 4 requests 1. save entity 2. read an existing entity, add onetomany relation 3. read an existing entity, add another onetomany relation 4. read entity, get relations. i have the feeling this is not the optional way to test this, because of the differnt transaction behavior. the test is not transactional, but the spring repository methods are. ... It seems that a repository is missing in the pom.xml file: 5/4/11 10:46:52 AM IDT: Missing artifact ... artifactory repository which is defined in my m2 settings.xml please add the spring milestone repo in the POM   ...

 
forum_thread

Problems Running ODB Explorer

When ODB is run in embedded mode (Eclipse), it is fine but the explorer throws the following exception:-   ... case you have to list more than one activation code in the xml configuration file. Technical support via this public forum is free ...

 
forum_thread

On initialisation of lists: impact on migration from EclipseLink to ObjectDB

I would like to draw the attention of those assessing migration from EclipseLink ORM to ObjectDB to a significant difference in the initialization of persistent lists, namely that EclipseLink injects a List implementation into the List field to be initialise it during EntityManager.persist(). So in EclipseLink the following works: public class HasListOfBlocks { .. ... Specialists in model-based UML, SysML, Enterprise Java, XML, and Drupal CMS web engineering. Dr Darren Kelly, BSc, PhD, ...

 
release

2.3.6

... support of @Column(unique="true") and equivalent ORM XML ( issue #79 ). Fixed @PrePersist on merge to be called ... parameter ( issue @45 ). Fixed pom.xml files in the Maven tutorials to use Java 1.5 / 1.6. Version ...

 
forum_thread

Iterating over large result set

Hi, Few days ago I was writing some code to iterate over quite a large dataset. Fitting those data in memory was quite a challenge even with 3GB heap space. So I did paging using two loops. ... entity objects to DTO and then converting DTO to json / xml using Jersey. This way I can be sure that there is no infinite loops in ...

 
forum_thread

JPQL IN Operator

How can I use the standard JPQL IN operator with ObjectDB? This JPQL query works fine with EclipseLink / postgres but throws an exception in objectDB: select distinct dv.creationtime from DataValue dv where dv.capabilityId.capabilityId ==> in <== :capabilities and dv.creationtime >= :earliest and dv.creationtime <= :latest order by dv.creationtime ASC [ObjectDB 2.2.9] javax.persistence.PersistenceException Unexpected query token 'in' (error 752) ... my db-lib module, all static metadata loaded from xml files, so now I can get down to some serious bench marking and volume ...