169 words

Deadlock problems solved - a suggestion

#1
2013-05-27 22:55

Thanks to the new logging capability, I have managed to solve all the deadlock problems, as they were a result of Objectdb encountering new classes in multi-threaded code.  I have a suggestion that might be useful for other users - how about an Ant task that, given a database URL, performs the necessary schema changes (including creating the database if necessary), so that a database is already set up with the complete schema before an application runs?  All the information about the schema should be visible from a combination of XML files (such as package.jdo) and/or annotations.

sjzlondon
sjzlondon's picture
Joined on 2013-04-21
User Post #11
#2
2013-05-29 20:10

Thank you for your suggestion. The deadlock problem was filed as an issue.

Hopefully this will be fixed soon and then a workaround will not be required.

Update: An attempt to fix the deadlock is included in version 2.5.1.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)
support
support's picture
Joined on 2010-05-03
User Post #1,559
#3
2013-05-29 23:16

That would be a much easier solution.  Thank you for your fast and effective responses to problems.  This is one of the factors that led us to choose ObjectDB for a major project.

sjzlondon
sjzlondon's picture
Joined on 2013-04-21
User Post #12

Post Reply

Please read carefully the posting instructions - before posting to the ObjectDB website.

  • You may have to disable pop up blocking in order to use the toolbar (e.g. in Chrome).
  • Use ctrl + right click to open the browser context menu in the editing area (e.g. for using a browser spell checker).
  • To insert formatted lines (e.g. Java code, stack trace) - select a style in the toolbar and then insert the text in the new created block.
  • Avoid overflow of published source code examples by breaking long lines.
  • You may mark in paragraph code words (e.g. class names) with the code style (can be applied by ctrl + D).
  • Long stack traces (> 50 lines) and complex source examples (> 100 lines) should be posted as attachments.
Attachments:
Maximum file size: 32 MB
Cancel