ObjectDB ObjectDB

Internal Website Search

181-190 of 200 resultsRefresh

Possible issue with LAZY Loading

and 2.4.3_01 the db is always returning everything, including the data marked as Fetch.LAZY. I wrote ... EntityManager, but it is fetched lazily when needed. You do see a difference (in addition to performance ... be available and will not be fetched either. support Support Ok, so then I believe Lazy loading

can't get HashMap out of the database

the map with @OneToMany(fetch=FetchType.EAGER). Outside the DAO method only fields ... Date signingDate;     @OneToMany(fetch=FetchType.EAGER, cascade=CascadeType.ALL) private ... Long id; @OneToMany(fetch=FetchType.EAGER, cascade=CascadeType.ALL)     private ArrayList

Entity with java.util.Date column gives ClassCastException in BIRT

.eclipse.birt.data.engine.odaconsumer.ResultSet.fetch(ResultSet.java:189) at org.eclipse.birt.data.engine.executor.cache.OdiAdapter.fetch(OdiAdapter.java:214) at org.eclipse.birt.data.engine.executor.cache.RowResultSet.fetch(RowResultSet.java:145) at org.eclipse.birt.data.engine.executor.cache

EM.find() is suddenly slower

(AccessType.FIELD) @Column (name = "uid") private String uid; @OneToOne (fetch ... element; @OneToMany (fetch = FetchType.EAGER, cascade = {CascadeType.REFRESH, CascadeType.DETACH ... eager fetch that affects the performance of further operations. Could you please check build 2.8.6

Annotate a Map field with @ElementCollection or @Basic

. It could be due to the different default fetch value (LAZY for ElementCollection, EAGER for Basic). You may try using an @ElementCollection(fetch=FetchType.EAGER) and see if it is fast as @Basic support Support I tested it already with @ElementCollection(fetch=FetchType.EAGER). It is little bit faster as before

How to Remove records from many to many relationship tables in JPA

TransportationEvent { ... @ManyToMany(fetch = FetchType.EAGER, cascade = CascadeType.PERSIST) private List ... { .... @ManyToMany( fetch = FetchType.LAZY, cascade = CascadeType.PERSIST) private List ... ) and i applied that as @ManyToMany(fetch = FetchType.EAGER, cascade = {CascadeType.PERSIST

Performance issue in a query due to compareTo calls

private Map<Integer, String> values = new HashMap<>(); @OneToOne (fetch = FetchType.LAZY ... private long stepNumber; @OneToOne (fetch = FetchType.EAGER) private TCStep step ... as the add operations //per index in the list @ElementCollection (fetch = FetchType.EAGER

Tracking changes to new collections (in enhancement mode) after flush

.FIELD) @Column (name = "uid") private String uid; @OneToOne (fetch = FetchType.EAGER ... ; @OneToMany (fetch = FetchType.EAGER, cascade = {CascadeType.REFRESH, CascadeType.DETACH }) private ... MappingImpl { @Id private String uid; @OneToOne (fetch = FetchType.EAGER

JQL-Update Queries fails with activated L2-Cache

and fetching Entities afterwards from database. Expected result: Getting changed Entities from ... UPDATE-Query, calling entityManger.clear() and fetching Entities afterwards from database. Expected ... -Query and fetching Entities afterwards from database. Expected result: Getting changed Entities from

@FetchGroup in JPA similar to JDO

JDO. It works like this. First you specify attributes to fetch from database: @FetchGroup(name ... ); query.setHint(QueryHints.FETCH_GROUP_NAME, "names"); This will be equivalent to query using tuples ... .class); But with fetch group you don't have to convert tuples to objects. I know that you can add many

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