Fast Object Database for Java - with JPA/JDO support

Internal Website Search

71-80 of 169 resultsRefresh
4

isDirty(pc)

transaction, or modified while detached return Boolean.TRUE. Instances known by the implementation ... the current transaction, or while detached. Since: JDO 2.0 See Also: StateManager.makeDirty
4

Selective merge/cascade of detatched entity

memory at all times, in a Detached state (I realise the implications here, there are good reasons ... would be for there to be some way to re-attach the detached salesman with some form of 'I promise I haven't changed ... improve things! My only remaining concern is that the reason the detached objects are kept in memory
3

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

also on detachment (rebuild and enhance your classes again to use this). So you can use now detached entity objects. Maybe you may even use detached entity objects directly in GWT with no DTO. support Support Hello ... of the SerializationPolicy... Simson Simon Have you tried detaching entities before serializing them using GWT? objectdb
3

A lot of ENT and SIV instances which are not cleared by GC

classes? Are you using "objectdb.temp.no-detach"? Try to find the roots and paths to the ENT objects (using VisualVM) that keep them strongly reachable. support Support Yes, I use no-detach option. So how can I fix it? Remove no-detach? But it has negative effects too. Vladiator Vlad Myachikov
3

lock(entity, lockMode, properties)

properties and hints Throws: IllegalArgumentException - if the instance is not an entity or is a detached
3

remove(entity)

Method javax.persistence.EntityManager void remove( Object entity ) Remove the entity instance. Parameters: entity - entity instance Throws: IllegalArgumentException - if the instance is not an entity or is a detached entity TransactionRequiredException - if invoked on a container-managed entity
3

jdoPreAttach()

Method javax.jdo.listener.AttachCallback void jdoPreAttach() This method is called during the execution of javax.jdo.PersistenceManager.makePersistent on the detached instance before the copy is made. Since: JDO 2.0
3

javax.jdo.JDODetachedFieldAccessException

is detached. Since: JDO 2.0 JDODetachedFieldAccessException() Constructs a new
3

getReference(entityClass, primaryKey)

.) The application should not expect that the instance state will be available upon detachment
3

setDetachmentRoots(roots)

Method javax.jdo.FetchPlan FetchPlan setDetachmentRoots( Collection roots ) Set the roots for DetachAllOnCommit. Parameters: roots - Collection of the detachment roots. Since: JDO 2.0

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