About XML

forum_thread

Login Error (bad username 'admin' or password)

I am getting following error when i am trying to connect to server: [com.objectdb.o._PersistenceException: Login Error (bad username 'admin' or password)] with root cause com.objectdb.o.UserException: Login Error (bad username 'admin' or password) at com.objectdb.o.MSG.d(MSG.java:61) at com.objectdb.o.HND.K(HND.java:210) at com.objectdb.o.SHN.K(SHN.java:208) at com.objectdb.o.HND.run(HND.java:132) at java.lang.Thread.run(Thread.java:662) Here is my connection string: ... are in use. Maybe you should try to insert an XML error deliberately to the objectdb.conf file and restart the ...

 
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.... Specialists in model-based UML, SysML, Enterprise Java, XML, and Drupal CMS web engineering. Dr Darren Kelly, BSc, PhD, ...

 
release

2.3.5

... support of @Column(unique="true") and equivalent ORM XML ( issue #79 ). Fixed @PrePersist on merge to be called ... parameter ( issue @45 ). Fixed pom.xml files in the Maven tutorials to use Java 1.5 / 1.6. Version ...

 
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: ... Specialists in model-based UML, SysML, Enterprise Java, XML, and Drupal CMS web engineering. Dr Darren Kelly, BSc, PhD, ...

 
forum_thread

Password Protect Database File

Is there a way to encrypt the odb file so that if hackers somehow steal it they cannot access the data without some kind of password? I would imagine accessing the database from java could just have another connection parameter while accessing from explorer.jar/exe would need to prompt the user for a password for encrypted odb files. ... if there was a password string in a java class (not in an xml/json/txt/etc) so that it's compiled and unreadable. Not sure what you ...

 
forum_thread

How prevent post-compile enhancement of non entity classes

I have recently moved to post-compile enhancement (from automatic run-time enhancement) using an Ant build.xml for a NetBeans web app. My adapted build.xml works for both full project build and per-file compilation (with NetBeans "compile on save" off), but it is not yet perfect at only invoking the enhancer on entity files. For full project build the following works, by grouping entities under clearly named packages: ... (from automatic run-time enhancement) using an Ant build.xml for a NetBeans web app. My adapted build.xml works for both full project build and per-file compilation (with NetBeans ...

 
release

2.3.4

... support of @Column(unique="true") and equivalent ORM XML ( issue #79 ). Fixed @PrePersist on merge to be called ... parameter ( issue @45 ). Fixed pom.xml files in the Maven tutorials to use Java 1.5 / 1.6. Version ...

 
forum_thread

The attribute column name (EXCEPTION) is a reserved SQL-99 keyword.

How do I fix this error/warning that Netbeans gives me? <img src="http://www.objectdb.com/files/attachments/Ashton/reserved.png" alt="Reserved Keyword" /> ... engine type and escape all columns in the hibernate.cfg.xml. Is there a way to escape all columns in ObjectDB and therefore implicitly ... can escape the NetBeans warning with the hibernate.cfg.xml file, which is not part of JPA. Anyway, you only need that annotation for ...

 
api-jpa

javax.persistence.spi.PersistenceUnitInfo

Interface implemented by the container and used by the persistence provider when creating an javax.persistence.EntityManagerFactory.(Interface of JPA)

 
page

How to upgrade from ObjectDB 1.0?

Explains how to upgrade from ObjectDB 1.0 to ObjectDB 2.0.... See JavaDoc Reference Page... ) or by external XML metadata ( <class name="MyClass" embedded-only="true"> in ...