Streaming support for PostgreSQL in Apache OpenJPA

May 13, 2008

Hi all,

Yesterday was commited to the 1.1.0 branch my patch with Stream support in PostgreSQL. PostgreSQL uses a diferent table to save the Large Objects and now Apache OpenJPA does it in the right way, in my opinion is a good news to the people who works with OpenJPA and Postgres, now they have more funcionalities. I addition, I’ created some docs about the Streaming LOB support, and the JIRA issue is resolved. You can try it in the nightly snapshot relase, I think that it will be an official release soon. Now is the time to look for another issues to contribute with this project.

At the moment Apache OpenJPA has Streaming support in MySQL, Oracle, Micrsoft SQL Server and PostgreSQL.

I’m very happy to contribute with this community, also this is one of “my things to do this year“.

PS I promise to increase my post in this blog :)


SoC 2008 is on!!

February 25, 2008

With these words Leslie Hawthorn presented today the Google Summer of Code 2008. Google organized it three times before (2005, 2006, 2007). The Summer of Code program is an oportunity to contribute with one Open Source community, an portunity to earn some money coding and the oportunity to meet interesting people. Last year participated in the program 90 students from arround the world.

Personally, I took part in the program last year and was a great experience for me, this year I can’t participe becuase I finished my degree in november, next year I hope to be a mentor, this year I’m not feel ready for this yet. I will not take the new shirt :( !!! At least I have some friends who are going to apply this year.

If you want to participate in the Summer of Code program and have some doubts about the proposal, you can see my SoC proposal or if you want you can contact me via e-mail (plunchete _ gmail.com) or post a coment in this blog, I will be happy to help you.

If you are a 18 years or older student and you love coding you should apply!


The world will be ours

February 23, 2008
From left to right, Nestor (WiZiTo), Juan Luis (crash) and me. In this picture Alberto (gimenete) is missing.
Remember our faces, we will give something to talk about.

My five things to do in 2008.

February 1, 2008

I have been thinking about my plans this year and finally I decided to put it in a public list, all this plans are about my technical aspirations:

  • Learn about PHP and Zend Framework. Why? Although I’m a Java developer (more or less because now I’m coding in JavaScript at work) I want to learn new languages.
  • Rise my contributions in Apache OpenJPA and get the committer status in this project. Why? Because is a great oportunity to learn with some of the best Java developers in one of the most influential communities within the Java Platform. In addition, I wish to colaborate with the OpenSource community.
  • Do a project with my friends Alberto and Néstor, we’ve a lot of projects on queue. Why? IMHO is the time to do a personal project and they are the perfect company.
  • Finish my article about JPA for the javaHispano community. Why? javaHispano is the best Java community for spanish speakers, I’ve learned a lot in this community and I want to contribute with them.
  • Write more technical articles in this blog. Why? Beacuse I created this blog to speak about mi work in the SoC and to improve my english, is a personal commitment.

All this task are about my “free” time, these will be very hard because when I arrive home I’m very tired and I only want to rest … but I really want to do it … I will have to do an effort.


Steve Jobs keynote (Stevenote) in 60 seconds

January 16, 2008

Source: techcrunch.


Some news about me

December 28, 2007

Hi all!!

Last weeks I was so busy, many changes in my life. Now I’m living and working in Barcelona, to be more specific in Telefonica Research and Development. They contacted me because of this blog, it’s an amazing thing :)

In these weeks / months I have finished my degree, I’ve obtained the maximum rating in my end-of-degree thesis. My thesis has been about my work in the Summer of Code program.

Last week I recorded a podcast about ORMs for JavaHispano, JavaHispano is the bigger Java community in Spanish, this podcast is available on this web. Moreover I’m writing Java Persistence API (JPA) tutorial for this community, this tutorial will be available at soon as posible.

On top, I’m trying to collaborate with the Apache OpenJPA project, I’m writing a patch to add Streams support for the Derby DB.

I will try to write an update every week, I would like to write several technical articles about JPA and Apache OpenJPA. In Barcelona I want to attend some conferences like the First Tuesday España or many others, if you have information about an interesting conference in Barcelona please let me know.


BEAWorld 2007

October 22, 2007

Last weeks I can’t update the blog, I was very busy, sorry.

 Three weeks ago I went to Barcelona to attend to the BEAWorld, this event had a special section for developers (Develop@BEAWorld). I attended several conferences includign the Rod Johnson’s keynote and the Patrick Linskey’s talk about OpenJPA and Spring.

One of the most interested think, for me, in Rod Johnson’s keynote was OSGi, was very funny when Rod asked who had been problems with classloaders, the 90% of the people rise our hands. Definitely OSGi is part of my TO-DO list.

Patrick Linskey started talking about JPA and a how to use JPA in an application, and he talked about the integration OpenJPA + Spring, Spring has a prety integration with this framework. I had the pleasure to meet Patrick and Eddie O’Neil in person, and we had a great informal talk, thanks a lot Patrick for all :)

A lot of people attended to this event, but the thing that caught my attention was that only a few people was from Spain, at least I only saw 4 o 5 people from Spain. Okay this event was for all europe, but I don’t understand why Spanish people don’t value this type of events.

 

 


My work in the Summer of Code

September 11, 2007

Summer of Code finished at August 21th, but until yesterday my code didn’t part of the Apache OpenJPA project.

Since SoC finished I have refactored the tests classes, added new tests, added my Strategy in the MappingRepository and modified the DataCache, cache the streams is unadvisable, I have executed the tests in diferent databases and, for the moment, it runs in MySQL, SQL Server and Oracle. finally, after all those changes, my code was ready to check in.

Last several months were great, working in a OpenSource project, an important project, last several months I learned how OpenJPA works internally, and definetly I really enjoyed it!!.

When I started SoC my intention was continue contributing with the project that I have elected, and now after the SoC I’m sure that I’m going to continue contributing with the project.

Thanks Patrick for your work with me, and your help, you have been a fantastic mentor!! And, of course, thanks for your finally comment.

If someone wants to use this new feature, will need to download the latest SNAPSHOT and annotate the stream field (InputStream or Reader) like the example.

@Entity
public class Employee {
    ...
    @Persistent
    private InputStream photoStream;
...
}

And of course to use one the current databases supported.


I took a decision about my future

August 27, 2007

In this days I was thinking about my future, I have found a great comunity for spanish people who want to go to other country. I was thinking in my future since a few months, but last week I took a decision, I want to go to Ireland when I finish my exams, concretly I want to go to Dublin.

Dublin has a great companies and a amazing software industry, for example US-based companies like Google, Amazon, eBay, Microsoft and many more companies are in Dublin. Yeah, have a job in these companies will be amazing, but It will be very dificult …

My plans, if all my exams will be ok, are going to fligth to Dublin in October, 15th / 14th, search an english academy and a flat (maybe a shared house), I think that an english academy will be good to improve my english fast. And after the first month I will try to find a job, as java developer.

Dublin has great job offers in Java, some good webs to search a jobs are:

And some webs to search for flats:

If you are from Spain, Spaniards is a great web page with a loot of people in other countries like USA, UK, Ireland … If you have a question about something you only have to use the searcher.

And if somebody has a good job offer for me, please email me ;)


Summer of Code has finished

August 27, 2007

Last days I couldn’t update the blog, I have been very busy, I have an exam on friday.

Last monday (21th) was the “pencils down” day in the SoC, mi work finished, I think that my work was good, but I have to wait until 31th to know the result. Next weekend I’m going to write a post about the project, the problems and other things.

I want thank to my mentor Patrick Linskey for his help with the project, his kindness and their lessons, thanks Patrick, you rocks! It’ve been a great summer :)

And finally thanks to The Apache Software Foundation for accept my proposal and to Google for the Summer of Code.

Thank you very much!


  • Contact me

  • Meta

  • Category Cloud

    About Me Apple emigrate funny General Google Summer of Code Java JPA Luxembourg OpenJPA OpenSource Spain
  • Archives

  • My del.icio.us

  • Recent Comments

    Robin on Using OpenJPA
    Gnana on Relations with JPA
    nadfreeart on Achieving Your Childhood …
    Achieving Your Child… on Steve Jobs at Stanford Un…
    Puneet Swarup on Relations with JPA