ObjectDB ObjectDB

Internal Website Search

21-30 of 87 resultsRefresh
13

LAZY @ManyToOne field functions as EAGER

to console a lazy @ManyToOne field after the entity manager closes. There is a switch DO_VIEW_BEFORE_CLOSE ... as @ManyToOne(fetch=FetchType.LAZY) ? package com.greensoft.objectdb.test.console; import javax ... TestLazyManyToOne {         /**      * If true the console view of the fields of the entities
13

Show Sql/Jpql

Is there a way to show the executed Sql/Jpql in the console? wua Andreas Wurm You can set the log element in ObjectDB configuration to write logging also to the console:     <log path="$objectdb ... information is written to the console, in addition to being written to the log file. Currently you cannot send
13

Remove a modified entity cause an optimistic lock exception

. Thanks for writing a minimal Java console test case. However, since it behaves differently ... . Committing the changes. The console application is the same but without the flush. Accordingly the following console application includes flush before remove and throws an OptimisticLockException
11

Mapped (Inverse) LAZY @OneToMany vs. Unmapped LAZY @OneToMany

to console a lazy @OneToMany mapped field after a finding entity manager closes. There is a switch DO_VIEW ... .greensoft.objectdb.test.console; import java.util.ArrayList; import java.util.List; import javax ... .objectdb.test.console.TestLazyOneToMany Then ObjectDB follow the hint and the output is: a.listA
11

Duplicate Entity class names causes Exception in Query

Please try to isolate the problem and provide a console test case, similar as possible to the simple ... console test apps! Thanks for your help. BTW the @Unique annotations for non @id attributes makes our JP ... .NoResultException ex) {    return -1;   } } I will attempt to reproduce this in a console app. In
11

Error when trying to open the Explorer (failed to find Java VM)

both explorer.exe and explorer-b.exe? Can you write it from the console: > java -jar explorer.jar support Support On windows: both explorer.exe and explorer-b.exe cause the same error. On console: By ... the windows startup error By trying java -jar explorer.jar the explorer opens as supposed. Both on console
11

Remove an entity which attributes were changed - OptimisticLockException

, could you try isolating it further to a simple test console application? support Support In a simple console application the issue is not occurred. I created an OSGi example for eclipse mars, with plugins ... above? Maybe by applying a small change to that console test case? It is very difficult to follow
11

Stalling on "run File" in Netbeans when using -javaagent:lib/objectdb.jar

am having problems with a console-based Netbeans Java Application with a nominated Main class to run ... but not necessary for running simple console application tests), but it is difficult to simply switch ... ", I can see startup/welcome output from JRebel in the console window. I can well imagine
9

Eclipse/JPA database tutorial

more details: Is it the console tutorial? a web tutorial? When exactly do you get the error message ... , check if there are exceptions in the console or in the server log. support Support Thanks
2

Improve ObjectDB Server

) - Keep it as a console-only app - Put important log info to the console as well - Provide possibility ... ObjectDB as a console application including on headless servers and JVM with no GUI and Swing. The tray

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