pvf.jsp 709 Bytes
Newer Older
Thitichaipun Wutthisak committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<%@ page session="true" contentType="text/html; charset=ISO-8859-1" %>
<%@ taglib uri="http://www.tonbeller.com/jpivot" prefix="jp" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>

<%-- uses mysql --%>
<jp:mondrianQuery id="query01" jdbcDriver="net.sourceforge.jtds.jdbc.Driver" jdbcUrl="jdbc:jtds:sqlserver://myhr-app;DatabaseName=Honda_Leasing_myHR1;user=myhradmin;password=systemadmin" catalogUri="/WEB-INF/queries/myHR.xml">

select Crossjoin({[bu2.bu2].[All bu2]}, {[Measures].[Employee], [Measures].[Emplamount], [Measures].[Compamount]}) ON COLUMNS,
  {[time.year1].[all time1].[2008]} ON ROWS
from [pvf]



</jp:mondrianQuery>

<c:set var="title01" scope="session">myHR...pvf</c:set>