About xml

forum_thread

InternalException & UserException using objectdb with Jboss AS 7.1.1 final

Hello. We are currently using ObjectDB in application server Jboss as 7.1.1.final. ObjectDB version is 2.5.3_02. The following errors occur when multiple ajax requests are executed: Caused by: com.objectdb.o.InternalException: Error reading UTF string Caused by: com.objectdb.o.UserException: Mismatch client-server protocol prefix Our current settings: Persistence.xml: ... prefix Our current settings: Persistence.xml: <?xml version = "1.0" encoding = "UTF-8" ?> <persistence ...

 
forum_thread

JDO support vs JPA

Hi, I am about to update the JDO metadata in the package.jdo files after moving from ObjectDB 1 to 2. However I found that there is no complete description or guide how the XML metadata should look in version 2. I found only small fragments of attributes in the description of JDO Annotations (to which XML element is the given annotation equivalent). So my questions to this are: 1. Is there some description of XML metadata for ObjectDB ver2 using JDO which I did not find? ... that there is no complete description or guide how the XML metadata should look in version 2. I found only small fragments of attributes in the description of JDO Annotations (to which XML element is the given annotation equivalent). So my questions to ...

 
forum_thread

Persist not working when ObjectDB and another db is used in the same application (through spring) with different tx managers

Hi,  Object are not being persisted when ObjectDB and another db is used in the same application (through spring) with different tx managers, please find an example of this below. Any help is greatly appreciate as we are currently evaluating ObjectDB to use in our new enterprise application and we need to decide if we are going to purchase it very soon. Many Thanks   Persistence.xml ... Many Thanks   Persistence.xml < ? xml version = "1.0" encoding = "UTF-8" ? > <persistence ...

 
forum_thread

ObjectDB within a resource adapter module and Java EE Connector Architecture

Has anybody managed to use ObjectDB in a resource adapter module in accordance with the Java EE Connector Architecture so that it may be packaged separately from (but used by components of) an EJB Module after the pattern of the classic EAR File structure as illustrated in the Java EE 7 tutorial in Figure 5-1 EAR File Structure ? ... Specialists in model-based UML, SysML, Enterprise Java, XML, and Drupal CMS web engineering. Dr Darren Kelly, BSc, PhD, ... the same EJBs, which in turn leverage the persistence.xml, which is automatically used via: @ PersistenceContext ... The 2 web apps end up using the same persistence.xml, and thus the same ObjectDB database file name. ...

 
forum_thread

mapping file is not being loaded

Hi, I am evaluating ObjectDB by using it with an in-house developed library in order to prototype its capabilities / performance. I am having a problem in that the in-house library in question reads a simple configuration file to determine available persistence units, and then bootstraps them using the JPA Persistance.createEntityManagerFactory() method and passing in the persistence unit name (again, obtained from the configuration file ). ... Metamodel.   here is my persistence.xml <?xml version = "1.0" encoding = "UTF-8" ?> <persistence ...

 
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. ... com.objectdb.o._PersistenceException: Failed to validate xml file ... ... by: com.objectdb.o.UserException: Failed to validate xml file ... com.objectdb.o.MSG.d(MSG.java:74) at ... 82 more Caused by: java.lang.NullPointerException at javax.xml.validation.SchemaFactory.newSchema(SchemaFactory.java:623) at ...

 
tutorial

Step 2: Entity Class and Persistence Unit

Explains how to define a JPA entity class and a persistence unit (persistence.xml) in a NetBeans Spring MVC web application project.... step click Finish to generate a default persistence.xml file with a default persistence unit (that will be configured later). If ... (with default settings) was generated in a persistence.xml file that was added to the project (under Other Sources > ...

 
tutorial

Step 2: Entity Class and Persistence Unit

Explains how to define a JPA entity class and a persistence unit (persistence.xml) in a NetBeans Java EE 6 web application.... just click Finish to generate a default persistence.xml file with a default persistence unit (that will be configured ... (with default settings) was generated in a persistence.xml file that was added to the project (under Configuration Files). ...

 
forum_thread

Deploy ObjectDB in WildFly 10

Hi, I'm currently evaluating ObjectDB and try to deploy my project in WildFly 10. I've installed ObjectDB in the modules directory and added a persistence.xml file: ... ObjectDB in the modules directory and added a persistence.xml file: <?xml version = "1.0" encoding = "UTF-8" ?> <persistence ...

 
forum_thread

Too many persistable types (>10) - exceeds evaluation limit

Hi, I am trying to evaluate and compare ObjectDB to other persistence solution for a project. At the moment I am trying to read in data written previously with JDO. As I am testing many frameworks and want to automate as much of the testing as possible I am using two persistence units for this and get a JdoDataStoreException: Too many persistable types (>10) - exceeds evaluation limit... Even though I define only 10 entites in the persistenceFile. Has this something to do with the fact that I have to persistence units? ... have to persistence units? Here is my persistence.xml: <?xml version = "1.0" encoding = "UTF-8" ?> <persistence ...