ObjectDB ObjectDB

Internal Website Search

51-60 of 200 resultsRefresh
104

Externalising persistence.xml properties in Glassfish?

itself and no formal standard for externalising properties (hence why they appear to be relying on JNDI ... > <properties> <!-- TODO: I would like at all costs not to have any URL ... --> </properties> </persistence-unit> So, anyone encounter any tutorials for handling
94

How to change properties in urls2.xml?

url and their port / user / password properties. I have no control on the port and password used. :( Does it exist a way to change urls2.xml properties ? Adding ?port=XXXX at the end of the persistence.xml database local url doesn't work. ( Tomcat says "Connection refused" ) <properties
25

Database Connection using JPA

of the createEntityManagerFactory method takes a map of persistence unit properties as a second parameter: Map<String, String> properties = new HashMap<String, String>();   properties.put("javax.persistence.jdbc.user", "admin");   properties.put("javax.persistence.jdbc.password", "admin");   EntityManagerFactory
25

Shared (L2) Entity Cache

unit property:    <persistence-unit name="my-pu">      ...      <properties>        <property name="javax.persistence.sharedCache.mode" value="ALL"/>      </properties>      ...    </persistence-unit> The javax.persistence.sharedCache.mode property can be set to one of the following values
24

Setting and Tuning of JPA Queries

to local): For the entire persistence unit - using a persistence.xml property:     <properties>        <property name="javax.persistence.query.timeout" value="3000"/> </properties> For an EntityManagerFactory - using the createEntityManagerFacotory method:   Map<String,Object> properties
22

JPA Metamodel API

details on managed classes and persistent fields and properties, similarly to the ability that Java ... for exploring managed fields and properties (which are referred to as attributes). For example ... to support an ID class when using multiple ID fields or properties. Finally, the EntityType interface
21

JPA Entity Fields

is explicitly defined. Property Access When an entity is being stored in the database data is extracted from ... , but accessing fields indirectly as properties using get and set methods is also supported. To use property ... property convention. Property access is enabled by moving all the JPA annotations from the fields
21

JPA Persistence Unit

> <properties> <property name="javax.persistence.jdbc.url" value="objectdb://localhost/my.odb"/> <property name="javax.persistence.jdbc.user" value="admin"/> <property name="javax.persistence.jdbc.password" value="admin"/> </properties
19

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

to set numeric value of field property com.greensoft.objectdb.test.entity.Element.id using reflection ... of field property com.greensoft.objectdb.test.entity.Element.id using reflection (error 613) at com ... : com.objectdb.o.UserException: Failed to set numeric value of field property com.greensoft.objectdb
19

com.objectdb.o._PersistenceException: Failed to locate set method for field property using reflection

I am developing a J2SE version "1.8.0_241" application and using property based accessors throughout. @Entity @Access(AccessType.PROPERTY) public abstract class PlatformTicker implements TickerKey ... .objectdb.o._PersistenceException: Failed to locate set method for field property domain

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