Month: March 2009

JDK Features

J2SDK 1.4 http://java.sun.com/j2se/1.4.2/docs/relnotes/features.html J2SDK 1.5 http://java.sun.com/j2se/1.5.0/docs/relnotes/features.html J2SDK 1.6 http://java.sun.com/developer/technicalArticles/J2SE/Desktop/javase6/beta2.html

Read More

External Files (html, jsp, or asp) within FLEX

  Here is the Action script and mxml code to include HTML, JSP, ASP, etc page within the FLEX canvas or tab. The code is developed and tested with FLEX SDK 3.x In MXML <script:IFrame id=”myFrame” width=”100%” height=”100%” source=http://www.live.com /> Action Script (IFrame.as) package component.script {     import flash.display.DisplayObject;     import flash.display.DisplayObjectContainer;     import flash.events.Event;     import flash.external.ExternalInterface;…

Read More

External Files (html, jsp, or asp) within FLEX

  Here is the Action script and mxml code to include HTML, JSP, ASP, etc page within the FLEX canvas or tab. The code is developed and tested with FLEX SDK 3.x In MXML <script:IFrame id=”myFrame” width=”100%” height=”100%” source=http://www.live.com /> Action Script (IFrame.as) package component.script {     import flash.display.DisplayObject;     import flash.display.DisplayObjectContainer;     import flash.events.Event;     import flash.external.ExternalInterface;…

Read More

Hibernate with Connect BY

 Here is HQL query for CONNECT BY, to extract based on the PRIOR parent id  <sql-query name=”findDepartmentByPriorId”> <return class=”EmployeeDepartment” />  SELECT ed.* FROM EmployeeDepartment ed CONNECT BY ed.PARENTDEPARTMENTID = PRIOR ed.DEPARTMENTID START WITH ed.DEPARTMENTID=? </sql-query>

Read More

Hibernate with Connect BY

 Here is HQL query for CONNECT BY, to extract based on the PRIOR parent id  <sql-query name=”findDepartmentByPriorId”> <return class=”EmployeeDepartment” />  SELECT ed.* FROM EmployeeDepartment ed CONNECT BY ed.PARENTDEPARTMENTID = PRIOR ed.DEPARTMENTID START WITH ed.DEPARTMENTID=? </sql-query>

Read More