About FROM


Feature Request: Subclassed PersistenceException for Type Not Found in DB Schema

Hi,... String queryString = "select DISTINCT(summary.store) from AbstractClientSummary summary WHERE summary.chain == :chain"; ...


Path in tomcat

Hi, If I put the .jar into /opt/Tomcat/lib/, then where the .conf should be in? And the .odb? When I debug the Eclipse web project, I export all things into a .war file. Then I use Tomcat's web deploy tool by the .war file. However, if I put objectdb into the project's /WEB-INF/, I may lost the db when I use Undeploy tool. TIA ... new Eclipse Project - by dragging the objectdb.jar file from the file system and dropping it on the WEB-INF/lib node in the Eclipse ...


java.sql.Time field off by 30 minutes

Hihi, I'm wondering if this is a bug. I have a simple entity with java.sql.Time field. On writing and readback, the field is found to be 30 minutes off. It is observed on objectdb explorer as well. Timestamp works perfectly fine. Ps. dont think its a UTC issue. My system is set at far off UTC+30min time.   ... query = em. createQuery ( "SELECT e FROM MyEntity e" ) ; List resultList = query. ...



Interface used to control query execution.(Interface of JPA)


GWT RPC is throwing serialization exception when I have object db date value

Caused by: com.google.gwt.user.client.rpc.SerializationException: Type 'objectdb.java.util.Date' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = Sat Jan 29 00:00:00 PST 2011    at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:614)  ... Persisting new objects seems to be ok but retrieving data from the database does not work. I'm using objectdb 2.2.8 and GWT ...


pesimistic Lock semantic

Hi   I have tested pesimistic lock and the result was for me unexpected. In the first transaction i modified one object and in the second transaction i wanted to the same and  I got an exceptopn that lock could not be granted, quite nice but in that moment I wanted commit the first transaction and I also got lock exception. this the test:   public void testPesimisticLock() {   PersistenceManager pm1 = null;   PersistenceManager pm2 = null; ... With reflection (when enhancement doesn't work from any reason) - the picture will be locked only for READ by pm1 then for ...


Feature Request: Improved ObjectDB Explorer

ObjectDB explorer is mainly designed as database viewer, not editor. However, I think it can be improved to function as a capable editor also, and I think this will make ObjectDB an even better product. ... - some work on the GUI: most icons look like they are from win98, and the solid colors for the tables and trees look again, very old. ...


Why the internal error was thrown?

com.objectdb.o.InternalException at com.objectdb.o.CCH.H(CCH.java:298) at com.objectdb.o.CCH.E(CCH.java:155) at com.objectdb.o.QRM.Vo(QRM.java:226) at com.objectdb.o.MST.Vo(MST.java:988) at com.objectdb.o.WRA.Vo(WRA.java:311) at com.objectdb.o.WSM.Vo(WSM.java:115) at com.objectdb.o.QRR.g(QRR.java:247) at com.objectdb.o.QRR.f(QRR.java:153) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:719) ... . getModelElementsByQuery ( "select distinct m from " + PoolImpl. class . getName ( ) + " m" , ...


Enhancer -s broken

Hi, after upgrading to ObjectDB 2.5.4_04 we noticed that the enhancer option -s is currently broken. According to your docs <java classname="com.objectdb.Enhancer" fork="true"     classpath="c:\objectdb\bin\objectdb.jar">   <arg line="-s c:\my-project\classes\*.class"/> </java> we've added the enhancer to our ant build: ... response. You were absolutely right. The snippet from your docs does work on Linux, but not on a windows machine due to the ...


Another NPE on em.createQuery(query).getResultList()

Related to #51 that was tested against 2.2.7 and marked as fixed in 2.2.8. Running the same test case against 2.2.8 now results in: ... used in the test if you can't deduce the exact failure from this. edit ...