ObjectDB ObjectDB

Internal Website Search

71-80 of 121 resultsRefresh

TypedQuery implementation problems

have tried to make a new module, it does not work, it indicates that the variables have not ... , the variables are not defined ... + "", Budget.class ); retList = query.getResultList

ODB with Netbeans

"Instance variable for persistent attribute must not be public" How does one switch that off in Netbeans ... variable for a persistent attribute must not be public." This is another JPA restriction, which is not

On ensuring ID available after persist

); // then do something that relies on Java variable e having e.getId() defined (like wiring ... () there is no managed entity returned. My copious entity wiring code assumed that the Java variable passed

Clarification on free license restrictions

user generated class of Patient, which contains an instance variable of class Person, which in turn has a user defined instance variable of type Name, all used by composition. I get the following error

Externalising persistence.xml properties in Glassfish?

. That is the easiest solution. Another way might be by setting a system variable with the url ... for example property pu=DEVPU and I set a static string variable name PERSISTANCEUNIT

Type ... is not defined as an entity (@Entity is missing) (error 302)

can overcome this with 15 projects to use objectdb. I tried placing objectdb as a variable and then all projects refer to this variable but then this does not work. The only solution it seems is to: 1

Can a Set<E> be a foreign key?

I have two classes, Cell and Character. Basically, the cell is like a room, and contains a variable (private Set<Long> cellHeldCharacters;) which holds the IDs of the characters within the cell (The IDs are Primary Keys). Can I use the Foreign Key annotation for the variable, or is it illegal

Listing large number of complicated objects with paging.

="0" variable="prod" />         </fatchPlan>     </orderPlan> </newQueryProgram> [2011-11-15 19 ... ">         <btreePlan plan="index(-279[all])" eval="6.174" var="1" prm="0" reg="0" variable="prod

@Enumerated(EnumType.STRING) annotation inhibits proper execution of IN expressions.

When the following annotation is present on an enum type entity field: @Enumerated(EnumType.STRING) Queries using JPQL IN expressions on this field won't work correctly anymore. This issue has been described in forum post 1254 (JPA JPQL WHERE clause for IN :variable not working if variable

ObjectDB 2.4.0

Added support of entity collections as query parameters. Added support of running ObjectDB within Eclipse 3.7 wrapper jar. Added support of sharing an identifier name for a variable and a parameter ... indexes. Improved processing of queries with a large number of variables (issue #607). Improved toString

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