Questions tagged [toplink]

TopLink is one of the leading Java persistence products and JPA implementations. TopLink is produced by Oracle and part of Oracle's OracleAS, WebLogic, and OC4J servers.

TopLink is one of the leading Java persistence products and JPA implementations. TopLink is produced by Oracle and part of Oracle's OracleAS, WebLogic, and OC4J servers.

As of TopLink 11g, TopLink bundles the open source project EclipseLink for most of its functionality.

The TopLink 11g release supports the JPA 1.0 specification. TopLink 10.1.3 also supports EJB CMP and is the persistence provider for OracleAS OC4J 10.1.3 for both JPA and EJB CMP. TopLink provides advanced object-relational mapping functionality beyond the JPA specification, as well as providing persistence for object-relational data-types, and Enterprise Information Systems (EIS/mainframes). TopLink includes sophisticated object caching and performance features. TopLink provides a Grid extension that integrate with Oracle Coherence. TopLink provides object-XML mapping support and provides a JAXB implementation and web service integration. TopLink provides a Service Data Object (SDO) implementation.

219 questions
3
votes
1 answer

How to determine the number for FetchBatchSize in OpenJPA?

OpenJPA provided some parameter in the FetchPlan. (http://openjpa.apache.org/builds/1.2.0/apidocs/org/apache/openjpa/persistence/FetchPlan.html) And I was stuck in one of them, the FetchBatchSize. Hope someone can kindly share their experience. Here…
Gnavvy
  • 277
  • 3
  • 17
3
votes
2 answers

SQL query from Toplink expression

I have a oracle.toplink.expressions.Expression expression object with me which has been created using oracle.toplink.expressions.ExpressionBuilder. I want to find its equivalent SQL query(say select emp.empname,emp.empId from employee emp) which…
Adithya
  • 2,923
  • 5
  • 33
  • 47
3
votes
2 answers

Store and refresh object with EJB 2.0 and JPA (Toplink) problem

From my client app I want to call store and refresh in one EJB method instead of two calls to two methods. I made an EJB method, made it call the other two EJB methods and it looks simple, like this: public ZippedObjectWrapper saveAndRefresh(final…
Andrija
  • 937
  • 14
  • 33
3
votes
1 answer

JPA 1: JPQL for ORDER BY NULLS LAST

Is there a way to do an ordering in JPQL query like: SELECT v FROM Vehicle v WHERE ... ORDER BY v.lastUserUpdate DESC NULLS LAST, v.id DESC; The NULLS LAST breaks the query. Is there a correct way to do this?
user871611
  • 3,307
  • 7
  • 51
  • 73
3
votes
2 answers

What does Hibernate/Toplink offer above JPA?

As far as I know, JPA itself offers all the shiny features like ORM, JPQL, entity relations mapping and so on. But I don't really understand, why do people use Hibernate or Toplink on top of JPA. What does Hibernate offer that JPA itself doesn't…
Jakub Arnold
  • 85,596
  • 89
  • 230
  • 327
3
votes
1 answer

JPA join table with more than one entity

I have an Entity that looks like this: public class NpcTradeGood implements Serializable, Negotiabble { private static final long serialVersionUID = 1L; @EmbeddedId protected NpcTradeGoodPK npcTradeGoodPK; @JoinColumn(name =…
Luiz Felipe
3
votes
3 answers

Most popular JPA implementation

I am a junior programmer and was asked to develop an application that should utilize the Java Persistence API (JPA). Which is the most popular JPA implementation (Hibernate, Toplink, EclipseLink) Can I use any of the above with Apache Tomcat or…
obelix
  • 880
  • 2
  • 16
  • 43
3
votes
1 answer

How to exclude one table from drop-and-create-tables with Ecliselink?

I use Eclipselink 2.3.2 and want to know, if there is an way to exclude a single table/entity to be excluded from ddl-generation strategy drop-and-create-tables? I need to preserve the content of this table, while all other tables should be droped…
Ralph
  • 118,862
  • 56
  • 287
  • 383
2
votes
2 answers

Making a ms sql connection in persistence.xml in JPA

We need to make a connection to ms sql server from java persistence unit 1.0. I hace following code for oracle database.
Sushant Jain
  • 328
  • 2
  • 6
  • 12
2
votes
0 answers

Errors in Toplink Map and Offline database files when migrating from jDev 10.1.3.4 to jDev 11.2.1

i'm migrating an application from jDev 10.3.1.4 (Using Equivalent version of OC4J and Toplink 3.0) to the latest to jDev 11.2.1. I'm encountering a lot of problems. First of all a general question, are there some in depth migration guides?This looks…
Nicola Peluchetti
  • 76,206
  • 31
  • 145
  • 192
2
votes
3 answers

Toplink without application server

Is it possible to use Toplink Essentials without application server, just on desktop application?
Jakub Arnold
  • 85,596
  • 89
  • 230
  • 327
2
votes
2 answers

Batch insert using JPA/Toplink

I have a web application that receives messages through an HTTP interface, e.g.: http://server/application?source=123&destination=234&text=hello This request contains the ID of the sender, the ID of the recipient and the text of the message. This…
Zizzencs
  • 5,008
  • 7
  • 31
  • 31
2
votes
1 answer

JPA: NamedQuery of name: not found

I'm using Netbeans 6.9.1 and TopLink Essentials for the JPA. I had followed the necessary steps for JPA connection. Yet when I execute a named query in a particular entity. This exception always return to me NamedQuery of name: [the query name] not…
Cyril Horad
  • 1,555
  • 3
  • 23
  • 35
2
votes
1 answer

Controlling DDL generation in Toplink Essentials

I am having some trouble with the DDL generation of Toplink Essentials. I am developing a Glassfish 2.1 based application and use JPA for persistence. I have an object graph where a parent entity of class A owns a set of entities of class B.…
Alex Stockinger
  • 3,039
  • 1
  • 16
  • 15
2
votes
2 answers

java web application caching data, how to stop it so that the data is not stale!

HI, I am having a problem. My (i am guessing) persistence layer is caching my results, so when i update the database from outside my application then the data is remaining stale. however, it is only caching half the time, i hope this makes sense, I…
David
  • 893
  • 3
  • 10
  • 15
1 2
3
14 15