ObjectDB ObjectDB

Internal Website Search

21-30 of 200 resultsRefresh
118

Specify location of persistence.xml

Is it possible to tell objectdb explicitly where the persistence.xml is located? The background ... also a persistence.xml I exceed the number of persistable classes, as I have one subproject for each persistence technology and somhow the jpa persistence.xml is read in also resulting in more than 10
118

a second mapping-file is ignored in persistence.xml by enhancer

Hello Support-Team, we have a problem with the enhancer. In the persistence.xml are two mapping-files: <mapping-file>META-INF/orm.xml</mapping-file> <mapping-file>META-INF/ormreq.xml</mapping-file> We start the enhancer and the entities of orm.xml will be enhanced by following output: enhancer
117

persistence.xml classes not respected by ObjectDB

Hi! I have the following persistence.xml. The problem is that ObjectDB loads all the classes in P1 ... ? There is no place in code where P1 tries to access classes from P2, so it makes no sense. <?xml version="1.0" encoding="UTF-8"?> <persistence version="2.0" xmlns="http://java.sun.com/xml/ns
117

XML and ObjectDB

to persist XML into ObjectDB? Do you need to generate JAXB JAVA bindings and then persist the generated JAVA ... Tat David Chu ObjectDB can be used to store any type of data including XML. For example, you can define a generic Element entity and store the XML as a tree of Element nodes. Another option
116

Storing XML files in ObjectDB

Hello, Is it possible to store XML files in ObjectDB? Thanks st.clair.clarke St Clair Clarke ObjectDB can be used to store any type of data including XML. For example, you can define a generic Element entity and store the XML as a tree of Element nodes. Another option is to define an entity class
113

Spring + Maven + persitence.xml

.4.3</version>   </dependency> Persistence.xml <persistence-unit name="TEST" transaction-type ... persistence.xml like: (test.odb doesn't exist) <persistence-unit name="BikeShop" transaction-type
113

JPA Configuration without persistance.xml

on a persistance.xml file being in a particular place. When using Hibernate, I was able to do the following: org ... Clapham When using ObjectDB the persistence.xml is file optional. Just annotate the classes and use
113

Change path for urls2.xml file

I am using ObjectDB embedded and have set my home path in relation to the JAR, but running the program still creates objectdb/urls2.xml in my system user folder. Is there a setting to change ... how to change location of urls2.xml? We use user.home for different purposes and we do not want
23

How to change properties in urls2.xml ?

Hello, I am using objectdb in an embedded case with network private access to each database. I see it exists a file name "urls2.xml". <url><main>/var/lib/tomcat7/db/myDb.odb;user=admin;password ... it exist a way to change urls2.xml properties ? Adding ?port=XXXX at the end of the persistence.xml
22

JPA Lifecycle Events

can only be specified in a mapping XML file because there is no equivalent annotation: <entity-mappings xmlns="http://java.sun.com/xml/ns/persistence/orm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns

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