ObjectDB ObjectDB

Internal Website Search

61-70 of 93 resultsRefresh
7

LEFT (OUTER) JOIN problem when mappedBy is defined

InvoiceItem{ @ManyToOne private Invoice invoice; InvoiceItem(Invoice i
7

An ArrayIndexOutOfBoundsException with nested entities and enhanced entities

{ @ManyToOne (targetEntity = DataTypeImpl.class, cascade = {CascadeType.ALL }, fetch
7

Some details about db behavior

Suppose I have two entities... A B -> A B has a ManyToOne relationship with A. When my database is empty and I persist a valid B entity (that contains actual A reference) I observe some behavior that I'm not sure I understand. 1. In ObjectDB explorer I see Both B and A Entity classes available in
7

Visibility of changes in Transaction is not visible to a JPA QL Query

") //used by JPA @ManyToOne private Singleton singleton; @Basic private String cachedKey; @Id
7

Adding EntityListener Throws Unexpected Internal Exception

() {         super(Product.class);     }     @MapsId     @ManyToOne(fetch = FetchType.LAZY
7

Possible issue for JPQL IS EMPTY expression

OtherEntity { @ManyToOne MyEntity myentity; } Thanks. eurojet P. F. Martinez
7

Fields in objects not populated in query result.

; private String name; private String description; @ManyToOne(cascade=CascadeType.PERSIST
7

Cascading merge() leading to "Attempt to persist a reference to a non managed instance" error

{     @Id     @GeneratedValue     @SuppressWarnings("unused")     private int id;     @ManyToOne
7

List always null

I have the following classes: @Entity public class Noticia implements Serializable {     private static final long serialVersionUID = 1L;     @Id     @GeneratedValue(strategy = GenerationType.AUTO)     private Long id;     @ManyToOne(targetEntity = Categoria.class)     private List
1

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

; @ManyToOne(fetch = FetchType.LAZY) @JoinTable(name = "Element_owns_Element

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