About reflection
Entity Management Settings
Explains settings and performance tuning of JPA entities in ObjectDB, the fast Java object database for JPA/JDO.... > <enhancement agent = "true" reflection = "warning" /> <cache ref = "weak" ... <enhancement agent = "true" reflection = "warning" /> The <enhancement> ... only for JDK 6.0 (not JRE) or above. The reflection attribute specifies how non enhanced classes are handled. ObjectDB ...
JPA Metamodel API
Explains how to use the JPA Metamodel API to retrieve details on the types and attributes of the persistent object model.... fields and properties, similarly to the ability that Java reflection provides for general Java types. This page covers the ... ( ) ; // Get Java reflection representation of the field (or property) type: Member member ...
JPA Metamodel API
Reference (JavaDoc) of the JPA Metamodel API, including all the type and attribute interfaces.... of the persistent object model, similarly to the Java reflection API. The main interface of the JPA Metamodel API is: ...
Searching lists within objects
Hi everyone, I've a problem with searching on lists. I'm uncertain as to what the best form is, so I've created a maven project with all the classes and a unit test showing my issue. Pretty much I want to search using cb.isMember passing an object. This however does NOT work. I'm uncertain how the database is doing its matching, but it looks to me like it matches using objectids, which means you can only match isMember if you have a database object. This does not help as I'm never going to have the real object at search time. #1 2011-07-07 00:59 Hi everyone, I've a problem with searching on lists. I'm uncertain as to what the best form ...
alter table
Hi: After a table built by real data, how to alter table structure, such as: alter table add column ... alter table add index ... TIA ... value of field field image. MetaSogou . iHei using reflection ( error 613 ) at com. objectdb . jpa . ... value of field field image. MetaSogou . iHei using reflection at com. objectdb . o ._PersistenceException. b ( ...
The server cannot start in CentOS
Hi, I try to run ObjectDB from Linux, but failed. My command is: java -cp objectdb.jar com.objectdb.Server start The result is attached. After typing the command, the system seems halting. ... > <enhancement agent = "true" reflection = "warning" /> <cache ref = "weak" ...
Error 613 - i cant put a list<Athlete> into a Squad object
hey guys Im a swiss student and my english is not that good and ive never posted in your forum, so thats why im sorry if im doing any mistakes, but i have big trouble, because ive to get this straight till end of week. i uploaded also all classes but if u see the problem in the main problem field the classes are copied after the problem description. the structure: ... to write the value of field test.Squad.athlets using reflection: Attempt to persist a reference to a non managed ... to write the value of field test.Squad.athlets using reflection: Attempt to persist a reference to a non managed ... to write the value of field test.Squad.athlets using reflection: Attempt to persist a reference to a non managed ...
Database size is much larger than expected (x2)
I store images into objectdb. The schema is : <URI>::=(<sUrl>, <cMark>, <iSize>, <baBody>, <id>) <sUrl>::=String <cMark>::=char <iSize>::=int <baBody>::=byte[] <id>::=@ID So simple a class will fail after 155,648 insertions with -Xmx1432m, ... the value of field field image. URI . baURI using reflection ( error 613 ) at com. objectdb . jpa . EMImpl ... the value of field field image. URI . baURI using reflection at com. objectdb . o ._PersistenceException. b ( ...
OneToMany and cascade delete problem
Hi, I don't really know if this is a bug or maybe model that I make is bad. I have a problem with with two different classes with OneToMany relation to one, shared class. For example (first class): @Entity public static class Store { @OneToMany(targetEntity = Offer.class, mappedBy = "store") private List<Offer> offers; } second class: ... field com.objectdb.test.bug.forum.F258$Store.offers using reflection (error 363) at ... field com.objectdb.test.bug.forum.F258$Store.offers using reflection at ... 15 more It indicates a problem in reflection mode. Please approve that this is also what you get. ...
find repeated records by JPQL
Hi, I know a single command in MySQL can find repeated records: Select * from TTT t where id in (select id from TTT s group id having count(id)>1) I dont know how to do this using JPQL, but I use query from 430,000 records and put them into hashmap, finally it cost one hour and failed: ... the value of field field image. URI . baURI using reflection ( error 363 ) at com. objectdb . jpa . ... the value of field field image. URI . baURI using reflection at com. objectdb . o . MSG . d ( MSG. java : ...