tag:blogger.com,1999:blog-2808112929591985886.post7139659912225548273..comments2023-07-28T04:34:25.848-05:00Comments on On TopLink: Accessing the Session in TopLink EssentialsShaun Smithhttp://www.blogger.com/profile/03444889032778621661noreply@blogger.comBlogger12125tag:blogger.com,1999:blog-2808112929591985886.post-77727662707771389982009-08-31T14:28:39.334-05:002009-08-31T14:28:39.334-05:00Thanks Smith for your commentThanks Smith for your commentJose Luis Chilet Rojashttps://www.blogger.com/profile/14168004516655132805noreply@blogger.comtag:blogger.com,1999:blog-2808112929591985886.post-5667611229143800732009-08-31T13:03:52.480-05:002009-08-31T13:03:52.480-05:00If you're starting a new application I would u...If you're starting a new application I would use JPA and not TopLink's native API (which has the sessions.xml config file). TopLink 11g (based on EclipseLink--the successor to TopLink Essentials) is <a href="http://www.oracle.com/technology/products/ias/toplink/technical/support/weblogic.html" rel="nofollow">certified on WebLogic 10</a>. JPA is part of the EJB3 specification so the integration is very good. I would recommend this approach.Shaun Smithhttps://www.blogger.com/profile/03444889032778621661noreply@blogger.comtag:blogger.com,1999:blog-2808112929591985886.post-6530681192741865732009-08-31T12:55:08.489-05:002009-08-31T12:55:08.489-05:00Thanks Smith, I'm working with Oracle Databse ...Thanks Smith, I'm working with Oracle Databse 10g and Oracle WebLogic Server 10, I've got to make a Architecture of a Enterprise Application. I'm going to use Oracle TopLink (session.xml) for Querys to Local Database, and for EJB's and WebServices to use JPA.<br />What do you think of this?... thanksJose Luis Chilet Rojashttps://www.blogger.com/profile/14168004516655132805noreply@blogger.comtag:blogger.com,1999:blog-2808112929591985886.post-6160587238735258272009-08-31T12:38:19.647-05:002009-08-31T12:38:19.647-05:00TopLink Essentials was the JPA implementation ship...TopLink Essentials was the JPA implementation shipped as part of Oracle TopLink 10.1.3.x. EclipseLink is the JPA implmentation shipped in Oracle TopLink 11g. The JPA implementation you are using depends on which version of Oracle TopLink you've got.Shaun Smithhttps://www.blogger.com/profile/03444889032778621661noreply@blogger.comtag:blogger.com,1999:blog-2808112929591985886.post-47640905915318280632009-08-31T12:10:49.361-05:002009-08-31T12:10:49.361-05:00Hi, I need know, When Can I use TopLink esentials ...Hi, I need know, When Can I use TopLink esentials and When Can I use TopLink JPA?, with both I can query to data baseJose Luis Chilet Rojashttps://www.blogger.com/profile/14168004516655132805noreply@blogger.comtag:blogger.com,1999:blog-2808112929591985886.post-67814802339551102382007-06-10T13:11:00.000-05:002007-06-10T13:11:00.000-05:00These comments have been invaluable to me as is th...These comments have been invaluable to me as is this whole site. I thank you for your comment.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2808112929591985886.post-66223019298957086782007-04-17T16:15:00.000-05:002007-04-17T16:15:00.000-05:00Hi Bruno,I posted some comments in a top level blo...Hi Bruno,<BR/><BR/>I posted some comments in a top level blog. The question was just too big to answer in a reply :-).<BR/><BR/>http://ontoplink.blogspot.com/2007/04/using-toplink-projects-through-jpa.html<BR/><BR/>--ShaunShaun Smithhttps://www.blogger.com/profile/03444889032778621661noreply@blogger.comtag:blogger.com,1999:blog-2808112929591985886.post-54800847665394959932007-04-12T08:03:00.000-05:002007-04-12T08:03:00.000-05:00Hi,I'm trying to do the reverse of what you explai...Hi,<BR/><BR/>I'm trying to do the reverse of what you explained here. I want to be able to obtain an EntityManager from an existing ServerSession. My application configures the ServerSession directly, and all the descriptors are configured in code. I now want to be able to use the JPA interfaces for data access, but defer migrating all the mappings until some time later. Can this be done with TopLink 10.1.3.1? It looks like we need to add the toplink-essentials.jar just to get the actual JPA code, but this all depends on the package oracle.toplink.essentials, while we still have many dependencies on the original package path.<BR/><BR/>Thanks in advance,<BR/>BrunoBruno Felacohttps://www.blogger.com/profile/15688366084271243524noreply@blogger.comtag:blogger.com,1999:blog-2808112929591985886.post-82989306068750306352007-03-16T07:30:00.000-05:002007-03-16T07:30:00.000-05:00Batch writing isn't available in Essentials. But ...Batch writing isn't available in Essentials. But if you're only persisting one very large POJO it wouldn't help. I'm guessing your class has one or more LOBs to be that big?<BR/><BR/>--ShaunShaun Smithhttps://www.blogger.com/profile/03444889032778621661noreply@blogger.comtag:blogger.com,1999:blog-2808112929591985886.post-12627983485199121562007-03-15T18:42:00.000-05:002007-03-15T18:42:00.000-05:00Thanks for the info on accessing the Session. A ne...Thanks for the info on accessing the Session. A newbie to Toplink Essentials. Is there any way to use batch writing to the database? I have seen examples using ToplinkUtils to access the session and then call the method useBatchWriting(), but access does not seem to be available in essentials. I need to persist and POJO that is about 1M and it is taking about 30 seconds, which seems way too long. Any help would be greatly appreciated.ezgoerhttps://www.blogger.com/profile/16665257158619624037noreply@blogger.comtag:blogger.com,1999:blog-2808112929591985886.post-39873406180354894332007-01-18T09:26:00.000-05:002007-01-18T09:26:00.000-05:00TopLink Essentials is derived from Oracle TopLink ...TopLink Essentials is <i>derived</i> from Oracle TopLink and, at a minimum includes the functionality necessary to implement the JPA. Of course, as I point out, the core TopLink classes are included (albeit with a package rename and updates to accomodate JPA requirements) so functionality that is not required for JPA is available just because it was already there in Oracle TopLink. <br /><br />Unfortunately, the functionality you're looking for isn't in Essentials.<br /><br />--ShaunShaun Smithhttps://www.blogger.com/profile/03444889032778621661noreply@blogger.comtag:blogger.com,1999:blog-2808112929591985886.post-72157444745563689972007-01-18T06:37:00.000-05:002007-01-18T06:37:00.000-05:00I've looked at you first post with hope ! The seco...I've looked at you first post with hope ! The second is... what I was expecting ! Please continue blogging.<br /><br />If TopLink is underlying Toplink Essentials, do you think possible to write java callback in order to propagate information such as identity, module, application to the database ? à la http://www.oracle.com/technology/products/ias/toplink/doc/1013/main/_html/dblgcfg008.htm<br /><br />Bert Regards,<br /><br />GregoryGregoryhttps://www.blogger.com/profile/03131420011493218178noreply@blogger.com