Homepage
Open in app
Sign inGet started

altuure

yyy

Go to the profile of altuure
altuure
Oct 2, 2012

How to Install PostgreSQL 9.2 on Ubuntu 12

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:pitti/postgresql
sudo apt-get update
sudo apt-get install postgresql-9.2

Read more…
Go to the profile of altuure
altuure
Jan 10, 2012

just launched achivy.com…

Hi everybody, this was my surprise project , achivy.com my first startup, my first ruby on rails project :)

you can check the about page but it is simply a gamification platform for lots of social sites and more, it now supports foursquare, gowalla…

Read more…
Go to the profile of altuure
altuure
Oct 11, 2011

todo list

[caption id=”” align=”alignright” width=”240" caption=”Image by alancleaver_2000 via Flickr”]

[/caption]

it has been a long time since I posted :( so it would be really good to put some targets and build a list of them. otherwise I will be lying on my coach…

Read more…
Go to the profile of altuure
altuure
Dec 9, 2010

Release Notes: com.altuure.yagdao-0.3.jar

Append Method handler
Another dynamic query builder. But this one , use simple StringBuilder instead of trying to parse the argument. So more fast and adjustable dynamic query builder

Read more…
Go to the profile of altuure
altuure
Nov 2, 2010

com.altuure.yagdao-0.2.jar

yagdao (Yet Another Generic DAO) finally.

this version is a little bit experimental but stable.

yagdao is an generic dao framework that would be enabled by annotations.

Read more…
Go to the profile of altuure
altuure
Oct 25, 2010

Retrieving Id field from JPA and Hibernate

for hibernate

public String getIdProperty(Class entityClass) {
String idProperty=sessionAccessor.getSessionFactory()
.getClassMetadata(entityClass)…
Read more…
Go to the profile of altuure
altuure
Sep 23, 2010

JPA Criteria API by samples — Part-II

JPA Criteria API by samples — Part-I

some more examples with JPA criteria API
Simple Join query

long category=200L;
Query query = entityManager.createQuery(“select s from OrderItem s…
Read more…
Go to the profile of altuure
altuure
Sep 23, 2010

JPA Criteria API by samples — Part-I

Although examples are pretty much simple it will help you with finalized version of JPA 2.0 API.

For Part II please read JPA Criteria API by samples — Part-II

Read more…
1 response
Go to the profile of altuure
altuure
Sep 21, 2010

hibernate criteria API bug: unnecessary fetch

Although this is an important, it is a hidden bug unless you trace you generated SQL for hibernate.

simply the two lines of code below should generate same SQL

Criteria rootCriteria =…
Read more…
Go to the profile of altuure
altuure
Aug 30, 2010

How to get Generic Metadata from a Class at Runtime

Here you can see how to traverse the runtime information to get this information. You Can simply traverse the inheritance tree ofr the class and get the metadata of the generic definition. Somthing like

Read more…
About altuureLatest StoriesArchiveAbout MediumTermsPrivacyTeams