tag:blogger.com,1999:blog-7747481246630004369.post2845075660738330603..comments2022-03-02T22:07:49.417-05:00Comments on Java Persistence: GraduationDoughttp://www.blogger.com/profile/02383574560699818383noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-7747481246630004369.post-64919672354531957602008-07-09T12:19:00.000-04:002008-07-09T12:19:00.000-04:00Thanks Doug!I posted the same question on the news...Thanks Doug!<BR/><BR/>I posted the same question on the newsgroup.<BR/><BR/>You guys are doing a fantastic job on eclipselink!<BR/><BR/>Best,<BR/>NickAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7747481246630004369.post-72885169800912583002008-07-08T22:27:00.000-04:002008-07-08T22:27:00.000-04:00Nick,Assuming you adjust the package names from or...Nick,<BR/><BR/>Assuming you adjust the package names from oracle.toplink to org.eclipse.persistence I would expect it to work the same. If you could post the question to our <A HREF="http://www.eclipse.org/newsportal/thread.php?group=eclipse.rt.eclipselink" REL="nofollow">newsgroup</A> I will get a developer to review it.<BR/><BR/>DougDoughttps://www.blogger.com/profile/02383574560699818383noreply@blogger.comtag:blogger.com,1999:blog-7747481246630004369.post-13439611719807544902008-07-08T14:01:00.000-04:002008-07-08T14:01:00.000-04:00Hi Doug, A SessionCustomizer that looks like below...Hi Doug, <BR/><BR/>A SessionCustomizer that looks like below that will handle CHAR columns doesn't work on eclipselink anymore? Or am I missing something?<BR/><BR/>Thanks,<BR/>Nick<BR/><BR/><BR/>public class OracleSessionCustomizer implements SessionCustomizer {<BR/><BR/> public void customize(Session session) {<BR/> session.getEventManager().addListener(new OracleSessionListener());<BR/> //set the default for the columns.<BR/> session.getLogin().setDefaultNullValue(String.class, " ");<BR/> session.getLogin().setDefaultNullValue(Integer.class, 0);<BR/> session.getLogin().setDefaultNullValue(Long.class, 0);<BR/> }<BR/> <BR/> class OracleSessionListener extends SessionEventAdapter {<BR/> @Override<BR/> public void postAcquireConnection(SessionEvent event) {<BR/> Connection conn = ((DatabaseAccessor) event.getResult()).getConnection();<BR/> OracleConnection oconn = (OracleConnection) conn;<BR/> oconn.setDefaultFixedString(true);<BR/> }<BR/> } <BR/> <BR/>}Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7747481246630004369.post-60291669656301796812008-06-29T06:23:00.000-04:002008-06-29T06:23:00.000-04:00EclipseLink is very great.In our products we have ...EclipseLink is very great.In our products we have use EclipseLink to replace OpenJPA.<BR/>I like EclipseLink,and expect to see this release soon.I wish the dynamic entity,MOXY and SDO will be better.<BR/>Thanks!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7747481246630004369.post-74833351757338694302008-06-27T10:48:00.000-04:002008-06-27T10:48:00.000-04:00Hi Doug,You left a comment in my blog so do I in y...Hi Doug,<BR/>You left a comment in my blog so do I in yours ;-)<BR/><BR/>In my opinion TopLink (and now EclipseLink) is the better product than Hibernate. I'm using TopLink Essentials in a JPA course at the university of applied sciences in Bern and I had some troubles with Hibernate that I never had with TopLink. And as I wrote in my blog I'm using TopLink for about 8 years and we hadn't realy big trouble with it. At least if you now what your doing, but this counts for every OR-Mapper.<BR/><BR/>So I hope you and your team will continue to deliver great "stuff".<BR/><BR/>Greetings form Switzerland<BR/>Simon72 Services Bloghttps://www.blogger.com/profile/11198658378107515823noreply@blogger.com