TopLink « Development « JPA Q&A





1. When to use Hibernate/JPA/Toplink?    stackoverflow.com

Right now I'm making an extremely simple website- about 5 pages. Question is if it's overkill and worth the time to integrate some sort of database mapping solution or if it ...

2. JPA Implementations - Which one is the best to use?    stackoverflow.com

I have made use of the following JPA implementations:

  1. Hibernate,
  2. Toplink,
  3. OpenJPA
Each of them has their own strengths and weaknesses. I found Hibernate the most advanced of the three except that it mixed some ...

3. Trouble Configuring JPA in Jetty    stackoverflow.com

I am trying to get JPA (Toplink) configured to run in Jetty being run from the maven plugin and am getting a javax.naming.NameNotFoundException. The specifics. web.xml:

<persistence-unit-ref>
    <persistence-unit-ref-name>persistence/mod</persistence-unit-ref-name>
   ...

4. What does Hibernate/Toplink offer above JPA?    stackoverflow.com

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

5. Is there are way to scroll results with JPA/hibernate?     stackoverflow.com

I found some hint in Toplink

Query query = em.createQuery("SELECT e FROM Employee e ORDER BY e.lastName ASC, e.firstName ASC");
query.setHint("eclipselink.cursor.scrollable", true);
ScrollableCursor scrollableCursor = (ScrollableCursor)query.getSingleResult();
List<Employee> emps = scrollableCursor.next(10);
is there are jpa/hibernate alternative?

6. Reasons to change JPA implementation?    stackoverflow.com

I've heard that some people during their careers have changed the JPA implementation in their projects, but what are the reasons?
JPA is only an interface, and I would say that it ...

7. How to catch OptimisticLockException in servlet level?    stackoverflow.com

I'm using JPA toplink-essential, building REST web app. I have a servlet that find one entity and delete it. Below code I thought I could catch optimistic lock exception in servlet level but ...

8. switch from toplink to hibernate?    forums.netbeans.org

hi, i like to switch from toplink to hibernate in persistance unit but i have many problem, i have correct some them but i have a problem will stil. one : ...

9. CRUD Application NOT Working for TopLink /Hibernate    forums.netbeans.org

Posted: Fri Jul 02, 2010 11:00 am Post subject: CRUD Application NOT Working for TopLink /Hibernate http://platform.netbeans.org/tutorials/nbm-crud.html I tried to use MySQL DB + Hibernate/TOPLINK instead of Derby ...





10. Netbeans 7, jpa and toplink does not work anymore?    forums.netbeans.org

Hello everybody, I am using Netbeans Platform 6.9.1 since one year for a large desktop application this application was using Jpa and Toplink for the database layer Now the same application, with Platform 7.0 has connection problems, it goes in infinite loop at the moment of connection and at the end causes a Memory error. With Netbeans 7.0 if I take ...

12. Difference between TopLink and Hibernate?    coderanch.com

This is what i got from googling... FROM AN ARTICLE "TopLink is fast, nimbly maps complex relationships, and provides both EJB-like and nearly transparent Java models. But Oracle recently acquired TopLink, and Oracle is regrettably both a database vendor and an application server vendor. If you're a WebLogic customer or use a non-Oracle database, you're going to want to think long ...

13. Difference between Hibernate and TopLink    coderanch.com

As much as people discount having access to the source for a product, TOPLink is one case where I could have saved some serious pain had it been open source. I spent two weeks back and forth with customer support trying to work out what seemed like a straight-forward transaction issue with no luck. Having sent them stack traces and sample ...

14. Hibernate and TopLink comparison    coderanch.com

15. Toplink-essentials JPA Provider    coderanch.com

Hi , Thanks for your reply , yes this happeneds randomly , and it hangs when it reaches "emf.createEntityManager" and nothing happeneds but sometimes it takes more than 2 min. to work but sometimes it fails , i can issue this problem run it from simple java application but iam useing IBM Websphere AS 6.1 , i checked the meta data ...

16. Toplink witth JPA vs Toplink API    coderanch.com

Hi ORM experts - I am new to ORM technolgies. I am involved in a project in its initial statges in which we have decide to go with Toplink. My question to you all is which approach to go with - Should we go with Toplink and JPA or with Toplink API for development? Initial analysis seems to suggest Development with ...





17. Toplink + JPA + Swing App blasting heap?    coderanch.com

Hi. I'm trying to develop a simple swing application with JPA and Toplink as persistence provider using Netbeans IDE. So what I try to do is saving my data in a MySQL database. I'm reading images from my harddrive and then save them in a blob field in my database table. After inserting 100 images with each 1 Megabyte, my 128Mb ...

18. Toplink JPA insertable problem    coderanch.com

Hi, I'm pretty new to JavaEE technology. Hopefully, you guys can help me out with this issue that I'm facing. I have a table created, which inside it there's a column "id" which is a primary key field and the key will be auto generated by default. On the other hand. I've a Entity class, where the persistence provider will auto ...

20. Migrate from Toplink to Hibernate    forum.hibernate.org

21. Toplink to JPA Hibernate    forum.hibernate.org

Hi All, we are using Toplink as our ORM and OC4J as our application server , we are planning to migrate to JPA and use hibernate as persistence provider. All of our mapping descriptor have been generated by Toplink work bench so the descriptor are plain java object . Is there any way by which we can you existing mapping files ...

22. Migration from Toplink to Hibernate-need help    forum.hibernate.org

23. Cursor Stream in Hibernate as Toplink    forum.hibernate.org

24. Toplink 9.0.2 to Hibernate 3.2 Migration    forum.hibernate.org

25. Migration Toplink to Hibernate [Problem]    forum.hibernate.org

Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message alimoe Post subject: Migration Toplink to Hibernate [Problem] Posted: Fri Jul 22, 2011 5:12 pm Newbie Joined: Fri Jul 22, 2011 10:04 am Posts: 3 Hi everyone, Just like the subject says, I'm working out in ...

26. Hibernate vs. Toplink    forum.hibernate.org

Our company has been working with Hibernate only several weeks on one big project (accounting system). We will start another project during several weeks (large IS) and our partner wants Toplink. Is Toplink better as Hibernate (I know that Toplink is not open source and is expensive) ? Are there some differencies between Toplink and Hibernate ? Until now I found ...

27. Article comparing Hibernate with Toplink    forum.hibernate.org

- Figure 3 looks like a Hibernate query, not Toplink - Toplinks Expression builder is much more like Hibernates Criteria queries, there are good usecases for both a string based query language and an object-oriented query/expression API - You don't have to check for (id == 0), Hibernate does this for you, check saveOrUpdate() and unsaved-value I don't agree with all ...

28. Porting from TopLink to Hibernate    forum.hibernate.org

29. Hibernate versus TopLink    forum.hibernate.org

Hello, everyone: I hope this is the correct place to post this question (if not, please let me know which forum would be more appropriate). My company is exploring the possibility of switching from Hibernate (which we currently use) to TopLink. I'm sure this question has arisen in the recent past, and since I'm not an expert in either, and I'd ...

30. Toplink vs. Hibernate thread on OTN    forum.hibernate.org

Heehee, the Ken Auer guy is amazing. He went and completely bastardized Hibernate 'cos he decided he needed process-scoped identity. Then he blames us 'cos his bastardized Hibernate doesn't work. All the docs for Hibernate assume that you are working in a multi-user system, where process scoped identity is an absolute no-no - you would require synchronization on entity instances, which ...

31. Toplink VariableOneToOneMapping for Hibernate    forum.hibernate.org

32. Hibernate JPA vs Toplink Essentials    forum.hibernate.org

Since Toplink Essentials does not support distributed caching, it will be problematic in a clustered environment. Am I right? Potentially you will get stale data out of the cache in some nodes in the cluster. Does this mean Toplink Essentials is not ready for clustered deployment? I heard that EclipseLink does support distributed caching through cache coordination. Can somebody please confirm? ...

33. Java Desktop Application: Toplink or Hibernate?    forums.oracle.com

dannyvitali wrote: I am developing a desktop application. I would like to get some suggestion on which ORM framework is best for desktop application Toplink or Hibernate? ORM depends on having a decent object model. If you don't have one, an ORM tool won't matter. Hibernate is the mind share leader, but I'd be curious about TopLink. It pre-dates Hibernate by ...

34. Problem with multiple Toplink/JPA apps in same server    forums.oracle.com

Yes, they access the same datasource and most of the tables overlap. We're thinking it might help to have common entity classes and put them in a shared library, but I don't know if this is relevant (setting up shared libraries complicates testing and tends to snowball, I reckon we need about 15 jars all told). I''ve had some funnies on ...