ObjectDB ObjectDB

Internal Website Search

111-120 of 159 resultsRefresh

Database is erased after deploying a new web application version

event (and not by your own application) getServletContext should not return null. support Support ... the provided link but deeper in your code, probably on an invalid event. support Support I'm using 4 packages

@Column length is not working.

, such as non null and length - consider checking relevant fields in a lifecycle event callback. support Support i think implementation of lifecycle event callback is expensive for check the length

stored procedure in ObjectDB

. JPA (or JDO) lifecycle events can be used as a replacement. Since every change to the database starts ... lifecycle events (unlike stored procedures) are portable. support Support hi, You know, when I use

Auto Date for Creation and Update

tlehmann Thomas Lehmann You may be able to update these time/date fields in a JPA lifecycle event ... JPA the JpaRepository uses. Maybe merge is used instead of persist and it may affect which event

auto generate timestamp

the timestamp in an ordinary Date / Timestamp field and update it in an event callback method (@PrePersist ... versions. You can, however, use the server time in the event callback by running a query (not very efficient but should work). support Support

exception thrown when try to run explorer again?

.java:56) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt ... .Explorer$1.run(Explorer.java:56) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251

Class loading problem with private packages in OSGi environment

(Explorer.java:57) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue ... .Explorer$1.run(Explorer.java:57) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java

JBoss 7 startup fails

]] (MSC service thread 1-3) Exception sending context initialized event to listener instance of class ... thread 1-3) Exception sending context destroyed event to listener instance of class guest

NullPointerException on initial database creation

.glassfish.persistence.jpa.JPADeployer.event(JPADeployer.java:408) at org.glassfish.kernel.event

NPE using AND TRUE in WHERE clause

The following (dynamically generated) query causes an NPE: SELECT e FROM Event e WHERE e.account=:account AND TRUE When I change it to a trivial term which evaluates to true, it works fine: SELECT e FROM Event e WHERE e.account=:account AND 1=1 Here is the stack trace: om.objectdb.o

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support