TechnoBuzz

A Techno Blog, mainly about Java

Mobile Jump

Link: Mobile Jump.

March 28, 2006 Posted by | Uncategorized | Leave a comment

ANT

link :"This article discusses a technique for managing the build order of
    separate sub-projects in a large software system purely using task
    dependencies within Ant scripts."

http://www.developertesting.com/

March 21, 2006 Posted by | SW Tools | Leave a comment

Native SQL in Hibernate3

         StringBuffer sql = new StringBuffer();
        sql.append("select david.field1 as myfield1, david.field2 as myfield2 drom david.table1");          
        SQLQuery sqlQuery = getSession().createSQLQuery(sql.toString());
        sqlQuery.addScalar("myfield1", Hibernate.TIMESTAMP);
        sqlQuery.addScalar("myfield2", Hibernate.INTEGER);
        List results = sqlQuery.list();

       

March 21, 2006 Posted by | Hibernate & ORM | Leave a comment

Feedbacks

Seems Hibernate has this system of feedback or credits. We’ll see how good it works.

don’t use Class.forName(REG_FILE);

Use
Thread.currentThread().getContextClassLoader().getResourceAsStream(REG_FILE)

March 16, 2006 Posted by | Hibernate & ORM | Leave a comment

JPA

Solormetric , is now part of BEA and has open sourced the code.

Its now being used as part of the Open JPA.

March 15, 2006 Posted by | Hibernate & ORM | Leave a comment