toplink « Library « Java Enterprise Q&A





1. Now that I've converted my primary keys to GUIDs, how do I fix the performance?    stackoverflow.com

I'm using TopLink as my ORM and MySQL as the DB. I traded my auto-increment primary keys for GUIDs for one of my tables (alright, not quite: I'm actually using a random ...

2. OC4J - toplink 10/11 at same time?    stackoverflow.com

Can you use both toplink v. 10 (toplink essentials) and toplink v. 11 (eclipselink) at the same time within the OC4J application server? Both are different implementations of JPA. I was ...

3. Oracle TopLink: Getting duplicating records mistakenly    stackoverflow.com

I am using oracle TopLink as a persistence layer with business logic implemented in java. I am using expression and expression builder class to get data from database. Problem is that in database ...

4. Toplink/java persistency mystery time sink    stackoverflow.com

I have a servlet calling a session bean via a local interface. There is a 3 second pause between the last statement of the session method and the statement following that ...

5. using update statement in toplink in multithreaded environment    stackoverflow.com

i am using toplink, but i am getting some problem while updating the values. this is my code snippet

ExpressionBuilder builder = new ExpressionBuilder();
Expression expr = builder.get("addressId").equal("2");
Address address1 = (Address)uow.readObject(Address.class, expr);
address1.setPincode(address1.getPincode() + ...

6. Where can I find detailed information about a resolved issue in Toplink?    stackoverflow.com

I'm facing a very complicated problem in my application that is solved when I update from toplink 10.1.3 to toplink 10.1.3.4. Now I must find out which resolved issue (list available ...

7. TopLink 11g versus EclipseLink    stackoverflow.com

We're considering migrating to TopLink 11g JPA from Oracle Kodo JDO. But I see that EclipseLink exists and appears to be, perhaps, better thank Toplink. The wiki article on it currently ...

8. Embeddable databases and toplink    stackoverflow.com

I'm trying to get toplink and jsqlite to work. But I get a similar error like this thread: http://stackoverflow.com/questions/906241/jpasqlite-problem

Exception Description: SEQ_GEN_SEQUENCE: platform DatabasePlatform doesn't support NativeSequence.
I'm not sure it jsqlite ...

9. Toplink Validation with Ant fails due to SessionLoaderExceptions    stackoverflow.com

I'm trying to integrate toplink's session exports with my build process (Apache Ant). I've been working from the example here: http://download.oracle.com/docs/cd/E14571_01/web.1111/b32441/mw.htm My Ant init target and the session validation target are ...





10. Typesafe queries for TopLink    stackoverflow.com

Is there any other way to do typesafe queries with TopLink than through the JPA 2.0 Criteria API? From a sales meeting I got the impression that this is possible through a ...

11. why toplink creates multiple connections and uses different connections for reading and writing?    stackoverflow.com

i have a strange doubt, why toplink creates multiple connection while loading, and why it uses two different connections for reading and writing purposes on database?? Please help

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

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 ...

13. SQL query from Toplink expression    stackoverflow.com

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 will be fired ...

14. How can I get the result of a Count query in TopLink?    stackoverflow.com

I have this:

ReportQuery query = new ReportQuery(OpenedFilesReport.class,
  generateExpressionOpenedFilesReport());
query.addCount();

Object result = getTopLinkTemplate().executeQuery(query, true);
As I can see, the result is a Vector and has one result of the type ReportQueryResult. Is there ...

15. ORA-00036: maximum number of recursive SQL levels (50) exceeded after configuring toplink to use bind variables    stackoverflow.com

I have an application that uses Toplink for persistence and Oracle database. Recently I have had performance problems, especially on the db/query level. I have a big piece of logic in ...

16. Problem in converting an application from BMT to CMT    stackoverflow.com

I have an application which is using weblogic server 10.3 and ejb 3.0 and also Toplink for ORM. Currently the transactions are using UnitOfWork.commit() for committing a particular action stated in ...





17. how to call database functions using toplink orm framework?    stackoverflow.com

i have a database function called getDiscrepancyDesc(disputeReasonCd,discrepancyReasonDesc,disputeReasonDesc). when I am calling this fuction from toplink orm framework it will generating the query in the following way SELECT t0.BRANCH_CD, t0.PRODUCER_CD, t1.DISPUTE_CATEGORY_CD, t1.DISPUTE_CATEGORY_DESC, t2.DISCREPANCY_REASON_CD, t2.DISCREPANCY_REASON_DESC, ...

18. TopLink Exception    stackoverflow.com

Hi I'm working with TopLink. While starting TomCat server I'm getting the following Exception.

     Initializing TopLink SessionFactory from [toplink-sessions.xml] 
Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@a2ba05: defining beans [storefrontClientWS,businessObjectSequenceService,userDetailsService,passwordEncoder,saltSource,resourceService,entitlementService,learnerHomeworkAssignmentSubmissionService,courseAndCourseGroupService,statisticsService,launchCourseService,learnerService,orgGroupLearnerGroupService,surveyService,enrollmentService,distributorService,trainingPlanService,orderService,authorService,customerService,reportingConfigurationService,reportExecutionService,updateProfileService,brandService,orderCreatedEventService,learningSessionService,aiccStatisticsHandler,accreditationService,brandDomainService,synchronousClassService,commissionService,customFieldService,securityAndRolesService,batchImportLearnersS 

19. When does toplink releases a client    stackoverflow.com

We have an RMI service that uses toplink to connect to database using toplink. When a client makes an update call for a large transaction with about 500 rows inserted into ...

20. How can I fetch first n rows from a TopLink query?    stackoverflow.com

For optimization purpose, I want to fetch first N results in a subquery (I'm getting first N ID values) and in the main query fetch full rows for the ID values ...

21. How can I change Join position in the TopLink generated query?    stackoverflow.com

When I generate a query with TopLink, JOIN statements are at the end of the query. That means that I can't use "postfixSQL" to add "fetch first" because the joins come ...

22. How can I get Toplink generated query by using getTranslatedSQLString?    stackoverflow.com

So what I'm doing is creating a subqery that gets a list of ID values, then the main qurey gets all the necessary values and adds ordering. What I have is ...

23. How to use the condition "NULLS LAST" in an order by in a readAllQuery in TopLink    stackoverflow.com

Hi need to make a query in toplink that uses the NULLS LAST clause in an order by. Basically this is the query i'd like to do:

select * from VW_SEGNA_PRZZ_DEP_INFO where ...

25. Flushing Toplink EJB-3 cache    forums.oracle.com

Our EJB3/Toplink web site seems to be hanging on to cached entities indefinitely. When we update the underlying database is there some way we easy way can flush the cache? Sure you can request refresh on specific queries and entities, but that pretty much defeats the object of having a cache in the first place. Anoyinglingly there appears to be no ...