About web

page

ObjectDB License

ObjectDB Purchase and License info page.... Servers that are leased or rented from third party web hosting and/or cloud hosting companies (including shared web hosting and VPS), if the hosted applications that use ObjectDB are ...

 
forum_thread

How to package orm.xml when using EJB in WAR?

Hi, I have database utility classes in one project, the id's use sequences declared in an orm.xml file for example: ... also work for postgres). However, when a different web project (WAR file), which declares a dependency to the database EJB is ... a copy of orm.xml into src/main/resources/META-INF of the web project that depends on the EJB .. but it's not great to have duplicate ...

 
manual

[ODB1] Chapter 6 - Persistent Objects

Shows how to store, retrieve, update and delete database objects. ... make object IDs very useful for representing objects in web applications (in which parameters are represented by strings). If ... an actual object ID instance. This is a classic case in web applications, in which passing string values between web pages is easier ...

 
forum_thread

On initialisation of lists: impact on migration from EclipseLink to ObjectDB

I would like to draw the attention of those assessing migration from EclipseLink ORM to ObjectDB to a significant difference in the initialization of persistent lists, namely that EclipseLink injects a List implementation into the List field to be initialise it during EntityManager.persist(). So in EclipseLink the following works: public class HasListOfBlocks { .. ... --- Webel IT Australia, "The Elements of the Web", Specialists in model-based UML, SysML, Enterprise Java, XML, and Drupal CMS web engineering. Dr Darren Kelly, BSc, PhD, https://www.webel.com.au ...

 
forum_thread

Cast exception?

Somehow I am unable to persist an entity class I wrote with manual @Id. I have a small Player class and I wish to store it with user ID as the primary key. So I declared the (only) primary key field as: @Id public int uid; This is how I'm persisting the instance: ... same location as your entity classes (e.g. as part of the web application)? ObjectDB Support ObjectDB - ... ObjectDB points tutorial (exported) jar into my current web app, and I created a Point object successfully in code. So I think ...

 
issue

JPQL Case Statements (JPA 2.0)

JPQL 2.0 adds support of CASE statements in queries for conditional expressions (similar switch/case/default in Java), following the SQL syntax. Case statements are currently not supported by ObjectDB.... --- Webel IT Australia, "The Elements of the Web", Specialists in model-based UML, SysML, Enterprise Java, XML, and Drupal CMS web engineering. Dr Darren Kelly, BSc, PhD, https://www.webel.com.au ...

 
forum_thread

Concerning coding style of the example in the posting instructions

(This forum item was spawned from discussions in a private helpdesk ticket.) I write with reference to the coding example in the posting instructions and many of your other examples posted in the forums. While I appreciate the recommended coding style as shown makes for convenient minimal examples and test cases,  I contest that it breaks the rules for JPA2 entities on at least 2 counts. Firstly, the posting instructions state:  ... --- Webel IT Australia, "The Elements of the Web", Specialists in model-based UML, SysML, Enterprise Java, XML, and Drupal CMS web engineering. Dr Darren Kelly, BSc, PhD, https://www.webel.com.au ...

 
forum_thread

PersistenceException UserException: Failed to validate persistence.xml

I'm really tired of looking at the same exception all day. I have DaoService which gets initialized when app starts. ... Failed to validate xml file C:\!heatboxes-web\build\web\WEB-INF\classes\META-INF\persistence.xml: at ...

 
issue

ObjectDB enhancement fails on "is" form for @Transient boolean isLoaded(), ok for "getter" form @Transient boolean getLoaded()

Older objectdb-2.4.0_06, Java6. For the following (note the use of "is" form) in a class Element I encounter ObjectDB enhancement errors: ... --- Webel IT Australia, "The Elements of the Web", Specialists in model-based UML, SysML, Enterprise Java, XML, and Drupal CMS web engineering. Dr Darren Kelly, BSc, PhD, https://www.webel.com.au ...

 
forum_thread

best practice for DB recovery

Hi, I'm trying to come up with the best approach for supporting some kind of hot standby for my master DB. ... slave replication, and when the master fails, switch your web application to the slave (not by using a dual url, but by using only the ... Hi, When you say "switch your web application to the slave", do you mean that we can just start writing to ...