[JBoss Seam] - Re: getter method called hundereds of times
by terryb
For anyone interested, MyEntityList code:
|
| package au.edu.tisc.entity;
|
| import java.util.Arrays;
| import java.util.Calendar;
| import java.util.Date;
| import java.util.List;
|
| import org.jboss.seam.annotations.Name;
| import org.jboss.seam.framework.EntityQuery;
|
| import au.edu.tisc.util.DateTime;
| import au.edu.tisc.util.Strings;
|
| @Name("organisationUserActivityLogList")
| public class OrganisationUserActivityLogList extends EntityQuery {
|
| private static final String[] RESTRICTIONS = {
| "lower(organisationUserActivityLog.id) like concat('%', lower(#{organisationUserActivityLogList.organisationUserActivityLog.id}),'%')",
| "lower(organisationUserActivityLog.ipaddress) like concat('%', lower(#{organisationUserActivityLogList.organisationUserActivityLog.ipaddress}),'%')",
| "lower(organisationUserActivityLog.action) like concat('%', lower(#{organisationUserActivityLogList.organisationUserActivityLog.action}),'%')",
| "lower(organisationUserActivityLog.description) like concat('%', lower(#{organisationUserActivityLogList.organisationUserActivityLog.description}),'%')",
| "lower(organisationUserActivityLog.organisationUser.id) like concat('%', '%',lower(#{organisationUserActivityLogList.selectedOrgUserId}),'%')",
| "organisationUserActivityLog.insertDate >= #{organisationUserActivityLogList.selectedInsertDateFrom}",
| "organisationUserActivityLog.insertDate <= #{organisationUserActivityLogList.selectedInsertDateTo}",
| };
|
| private OrganisationUserActivityLog organisationUserActivityLog = new OrganisationUserActivityLog();
|
| private String selectedOrgUserId = null;
| private Date selectedInsertDateFrom = null;
| private Date selectedInsertDateTo = null;
|
| @Override
| public String getEjbql() {
| return "select organisationUserActivityLog from OrganisationUserActivityLog organisationUserActivityLog";
| }
|
| @Override
| public Integer getMaxResults() {
| return 25;
| }
|
| public OrganisationUserActivityLog getOrganisationUserActivityLog() {
| return organisationUserActivityLog;
| }
|
| @Override
| public List<String> getRestrictions() {
| return Arrays.asList(RESTRICTIONS);
| }
|
| public String getSelectedOrgUserId() {
| return this.selectedOrgUserId;
| }
|
| public void setSelectedOrgUserId(String selectedOrgUserId) {
| this.selectedOrgUserId = selectedOrgUserId;
| }
|
| public Date getSelectedInsertDateFrom() {
|
| if (this.selectedInsertDateFrom != null) {
| System.out.println("*** getSelectedInsertDateFrom() - property is null....");
| } else {
| System.out.println("*** getSelectedInsertDateFrom() - property is null....");
| }
|
| return this.selectedInsertDateFrom;
| }
|
| public void setSelectedInsertDateFrom(Date selectedInsertDateFrom) {
| this.selectedInsertDateFrom = selectedInsertDateFrom;
| }
|
| public Date getSelectedInsertDateTo() {
|
| if (selectedInsertDateTo != null) {
|
| Calendar cal= Calendar.getInstance();
| cal.setTime(selectedInsertDateTo);
|
| if (!DateTime.hasTime(cal)) {
| DateTime.setDayEnd(cal);
| }
| return (cal.getTime());
| } else {
| return this.selectedInsertDateTo;
| }
| }
|
| public void setSelectedInsertDateTo(Date selectedInsertDateTo) {
| this.selectedInsertDateTo = selectedInsertDateTo;
| }
|
| @Override
| public String getOrder() {
| String order = super.getOrder();
| if (Strings.isNull(order)) {
| order = "organisationUserActivityLog.insertDate desc, organisationUser.username asc, organisationUserActivityLog.action asc";
| }
| return order;
| }
| }
|
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098680#4098680
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098680
18Â years, 8Â months
[JBoss Seam] - getter method called hundereds of times
by terryb
I have a jsf list (search) page based on seam-gen project. In MyEntityList object I've got simple getter/setter methods to set property in MyEntityList object. The jsf list/search page has 6 input fields (a dynamic selectOne pulldown, 3 inputText, 2 rich:Calendar). Just select 2 rich:Calendar fields and submitting the search calls my getter methods in MyEntityList "225" times.
Is this normal? What if get methods has some complex code in it. Output attached.
|
| 15:05:05,218 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,234 INFO [OrgUserService] Loading organisationUserListAll...
| 15:05:05,249 INFO [STDOUT] Hibernate:
| /* select
| organisationUser
| from
| OrganisationUser organisationUser
| order by
| username asc */ select
| top 25 organisati0_.ID as ID22_,
| organisati0_.Password as Password22_,
| organisati0_.Status as Status22_,
| organisati0_.Username as Username22_,
| organisati0_.LastUpdateDate as LastUpda5_22_,
| organisati0_.InsertDate as InsertDate22_,
| organisati0_.LastLoginDate as LastLogi7_22_,
| organisati0_.LoginAttempts as LoginAtt8_22_,
| organisati0_.Email as Email22_,
| organisati0_.OrganisationID as Organis11_22_,
| organisati0_.LockedDate as LockedDate22_
| from
| OrganisationUser organisati0_
| order by
| organisati0_.Username asc
| 15:05:05,280 INFO [OrgUserService] Loaded loadOrganisationUserListAll: 2
| 15:05:05,327 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,327 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,327 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,359 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,437 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,437 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,468 INFO [STDOUT] Hibernate:
| /* select
| organisationUserActivityLog
| from
| OrganisationUserActivityLog organisationUserActivityLog
| order by
| organisationUserActivityLog.insertDate desc,
| organisationUser.username asc,
| organisationUserActivityLog.action asc */ select
| top 25 organisati0_.ID as ID23_,
| organisati0_.Description as Descript2_23_,
| organisati0_.Action as Action23_,
| organisati0_.LastUpdateDate as LastUpda4_23_,
| organisati0_.InsertDate as InsertDate23_,
| organisati0_.IPAddress as IPAddress23_,
| organisati0_.OrganisationUserID as Organisa7_23_
| from
| organisationUserActivityLog organisati0_,
| OrganisationUser organisati1_
| where
| organisati0_.OrganisationUserID=organisati1_.ID
| order by
| organisati0_.InsertDate desc,
| organisati1_.Username asc,
| organisati0_.Action asc
| 15:05:05,515 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,515 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,515 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,530 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,530 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,562 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,562 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,577 INFO [STDOUT] Hibernate:
| /* select
| count(*)
| from
| OrganisationUserActivityLog organisationUserActivityLog */ select
| count(*) as col_0_0_
| from
| organisationUserActivityLog organisati0_
| 15:05:05,593 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,609 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,609 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,609 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,624 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,624 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,640 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,655 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,655 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,671 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,671 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,687 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,702 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,702 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,718 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,718 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,734 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,765 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,780 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,780 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,796 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,796 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,812 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,843 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,859 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,874 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,890 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,890 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,905 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,921 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,921 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,937 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,937 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,952 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,968 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,968 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,984 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,999 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:05,999 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:06,015 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:06,015 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:06,030 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:06,030 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:06,030 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:06,030 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:06,046 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:06,046 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:06,046 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:06,062 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:06,062 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:06,062 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:06,062 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:06,062 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:06,062 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:06,062 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:06,077 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:06,077 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:06,077 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:06,077 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:06,093 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:06,093 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:06,093 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:06,093 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:06,109 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:07,655 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:07,734 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:16,124 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:16,140 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:16,171 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:16,171 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:16,187 INFO [STDOUT] Hibernate:
| /* select
| organisationUserActivityLog
| from
| OrganisationUserActivityLog organisationUserActivityLog
| order by
| organisationUserActivityLog.insertDate desc,
| organisationUser.username asc,
| organisationUserActivityLog.action asc */ select
| top 25 organisati0_.ID as ID23_,
| organisati0_.Description as Descript2_23_,
| organisati0_.Action as Action23_,
| organisati0_.LastUpdateDate as LastUpda4_23_,
| organisati0_.InsertDate as InsertDate23_,
| organisati0_.IPAddress as IPAddress23_,
| organisati0_.OrganisationUserID as Organisa7_23_
| from
| organisationUserActivityLog organisati0_,
| OrganisationUser organisati1_
| where
| organisati0_.OrganisationUserID=organisati1_.ID
| order by
| organisati0_.InsertDate desc,
| organisati1_.Username asc,
| organisati0_.Action asc
| 15:05:16,218 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:16,218 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:16,234 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:16,234 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:16,249 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:16,249 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:16,249 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:16,390 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:16,390 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:16,390 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:16,390 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:16,421 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:16,421 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:16,421 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:16,437 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:16,468 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:16,468 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:16,484 INFO [STDOUT] Hibernate:
| /* select
| organisationUserActivityLog
| from
| OrganisationUserActivityLog organisationUserActivityLog
| order by
| organisationUserActivityLog.insertDate desc,
| organisationUser.username asc,
| organisationUserActivityLog.action asc */ select
| top 25 organisati0_.ID as ID23_,
| organisati0_.Description as Descript2_23_,
| organisati0_.Action as Action23_,
| organisati0_.LastUpdateDate as LastUpda4_23_,
| organisati0_.InsertDate as InsertDate23_,
| organisati0_.IPAddress as IPAddress23_,
| organisati0_.OrganisationUserID as Organisa7_23_
| from
| organisationUserActivityLog organisati0_,
| OrganisationUser organisati1_
| where
| organisati0_.OrganisationUserID=organisati1_.ID
| order by
| organisati0_.InsertDate desc,
| organisati1_.Username asc,
| organisati0_.Action asc
| 15:05:16,780 INFO [STDOUT] Hibernate:
| /* select
| organisationUserActivityLog
| from
| OrganisationUserActivityLog organisationUserActivityLog
| where
| organisationUserActivityLog.insertDate >= :el6
| and organisationUserActivityLog.insertDate <= :el7
| order by
| organisationUserActivityLog.insertDate desc,
| organisationUser.username asc,
| organisationUserActivityLog.action asc */ select
| top 25 organisati0_.ID as ID23_,
| organisati0_.Description as Descript2_23_,
| organisati0_.Action as Action23_,
| organisati0_.LastUpdateDate as LastUpda4_23_,
| organisati0_.InsertDate as InsertDate23_,
| organisati0_.IPAddress as IPAddress23_,
| organisati0_.OrganisationUserID as Organisa7_23_
| from
| organisationUserActivityLog organisati0_,
| OrganisationUser organisati1_
| where
| organisati0_.OrganisationUserID=organisati1_.ID
| and organisati0_.InsertDate>=?
| and organisati0_.InsertDate<=?
| order by
| organisati0_.InsertDate desc,
| organisati1_.Username asc,
| organisati0_.Action asc
| 15:05:16,812 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:16,812 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:16,827 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:16,827 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:16,827 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:16,827 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:16,843 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:16,843 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:16,859 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:16,937 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:16,937 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:16,952 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:16,952 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:16,952 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:16,952 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:16,952 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:16,952 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:16,968 INFO [STDOUT] Hibernate:
| /* select
| count(*)
| from
| OrganisationUserActivityLog organisationUserActivityLog
| where
| organisationUserActivityLog.insertDate >= :el6
| and organisationUserActivityLog.insertDate <= :el7 */ select
| count(*) as col_0_0_
| from
| organisationUserActivityLog organisati0_
| where
| organisati0_.InsertDate>=?
| and organisati0_.InsertDate<=?
| 15:05:17,015 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,015 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,015 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,015 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,030 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,046 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,046 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,062 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,077 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,124 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,140 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,140 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,155 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,155 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,171 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,171 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,171 INFO [STDOUT] Hibernate:
| /* load au.edu.tisc.entity.OrganisationUser */ select
| organisati0_.ID as ID22_0_,
| organisati0_.Password as Password22_0_,
| organisati0_.Status as Status22_0_,
| organisati0_.Username as Username22_0_,
| organisati0_.LastUpdateDate as LastUpda5_22_0_,
| organisati0_.InsertDate as InsertDate22_0_,
| organisati0_.LastLoginDate as LastLogi7_22_0_,
| organisati0_.LoginAttempts as LoginAtt8_22_0_,
| organisati0_.Email as Email22_0_,
| organisati0_.OrganisationID as Organis11_22_0_,
| organisati0_.LockedDate as LockedDate22_0_
| from
| OrganisationUser organisati0_
| where
| organisati0_.ID=?
| 15:05:17,218 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,234 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,234 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,249 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,265 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,280 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,296 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,296 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,312 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,312 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,343 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,359 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,359 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,359 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,390 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,390 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,390 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,405 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,405 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:17,421 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:17,421 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:17,421 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:17,609 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:17,624 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:17,624 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:17,640 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:17,734 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:17,734 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:17,749 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:17,749 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:17,749 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,749 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:17,984 INFO [STDOUT] Hibernate:
| /* select
| organisationUserActivityLog
| from
| OrganisationUserActivityLog organisationUserActivityLog
| where
| organisationUserActivityLog.insertDate >= :el6
| and organisationUserActivityLog.insertDate <= :el7
| order by
| organisationUserActivityLog.insertDate desc,
| organisationUser.username asc,
| organisationUserActivityLog.action asc */ select
| top 25 organisati0_.ID as ID23_,
| organisati0_.Description as Descript2_23_,
| organisati0_.Action as Action23_,
| organisati0_.LastUpdateDate as LastUpda4_23_,
| organisati0_.InsertDate as InsertDate23_,
| organisati0_.IPAddress as IPAddress23_,
| organisati0_.OrganisationUserID as Organisa7_23_
| from
| organisationUserActivityLog organisati0_,
| OrganisationUser organisati1_
| where
| organisati0_.OrganisationUserID=organisati1_.ID
| and organisati0_.InsertDate>=?
| and organisati0_.InsertDate<=?
| order by
| organisati0_.InsertDate desc,
| organisati1_.Username asc,
| organisati0_.Action asc
| 15:05:18,093 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:18,093 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:18,093 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:18,109 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:18,109 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:18,109 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:18,562 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:18,577 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,155 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,187 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,187 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,187 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,187 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,187 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,234 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,234 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,234 INFO [STDOUT] Hibernate:
| /* select
| organisationUserActivityLog
| from
| OrganisationUserActivityLog organisationUserActivityLog
| where
| organisationUserActivityLog.insertDate >= :el6
| and organisationUserActivityLog.insertDate <= :el7
| order by
| organisationUserActivityLog.insertDate desc,
| organisationUser.username asc,
| organisationUserActivityLog.action asc */ select
| top 25 organisati0_.ID as ID23_,
| organisati0_.Description as Descript2_23_,
| organisati0_.Action as Action23_,
| organisati0_.LastUpdateDate as LastUpda4_23_,
| organisati0_.InsertDate as InsertDate23_,
| organisati0_.IPAddress as IPAddress23_,
| organisati0_.OrganisationUserID as Organisa7_23_
| from
| organisationUserActivityLog organisati0_,
| OrganisationUser organisati1_
| where
| organisati0_.OrganisationUserID=organisati1_.ID
| and organisati0_.InsertDate>=?
| and organisati0_.InsertDate<=?
| order by
| organisati0_.InsertDate desc,
| organisati1_.Username asc,
| organisati0_.Action asc
| 15:05:19,249 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,249 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,249 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,249 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,249 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,249 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,265 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,265 INFO [STDOUT] Hibernate:
| /* select
| count(*)
| from
| OrganisationUserActivityLog organisationUserActivityLog
| where
| organisationUserActivityLog.insertDate >= :el6
| and organisationUserActivityLog.insertDate <= :el7 */ select
| count(*) as col_0_0_
| from
| organisationUserActivityLog organisati0_
| where
| organisati0_.InsertDate>=?
| and organisati0_.InsertDate<=?
| 15:05:19,265 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,265 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,265 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,265 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,280 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,280 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,296 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,296 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,312 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,343 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,562 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,577 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,593 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,624 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,624 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,640 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,640 INFO [STDOUT] Hibernate:
| /* load au.edu.tisc.entity.OrganisationUser */ select
| organisati0_.ID as ID22_0_,
| organisati0_.Password as Password22_0_,
| organisati0_.Status as Status22_0_,
| organisati0_.Username as Username22_0_,
| organisati0_.LastUpdateDate as LastUpda5_22_0_,
| organisati0_.InsertDate as InsertDate22_0_,
| organisati0_.LastLoginDate as LastLogi7_22_0_,
| organisati0_.LoginAttempts as LoginAtt8_22_0_,
| organisati0_.Email as Email22_0_,
| organisati0_.OrganisationID as Organis11_22_0_,
| organisati0_.LockedDate as LockedDate22_0_
| from
| OrganisationUser organisati0_
| where
| organisati0_.ID=?
| 15:05:19,749 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,765 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,780 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,796 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,812 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,827 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,843 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,859 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,890 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,890 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:19,905 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:20,890 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:20,890 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:20,905 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:20,905 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:20,937 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:20,937 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:20,952 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is NOT null ....
| 15:05:22,374 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
| 15:05:23,140 INFO [STDOUT] *** getSelectedInsertDateFrom() - property is null....
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098678#4098678
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098678
18Â years, 8Â months
[JBoss jBPM] - Source code for instantiating process definition class files
by dleerob
Hi,
When you deploy a process definition, you can include files, and among these files are the class files for your actions, decision etc. Now Jbpm obviously calls/instantiates/realises these class files from the database somehow. My question is, does anyone know where in the source code it does this? I would like to take a look at the code, so I can do the same in my framework. I've tried looking through the source code, but alas, don't know where to look.
Incase you are wondering why I want to do this:
Basically I would like to include class files with my process definition, so that from my client side jsp "forms", I can also write some code in a class file, which my framework will run in a servlet and then send a user back to that same jsp page. For example, I would deploy a jsp and an appropriate class file, and on the jsp page a user may click a value in a drop down combo, it will hit a servlet defined in my framework, which runs the code found in the included class file, and then returns back to the same jsp page, which perhaps now displays a second combo with values that were dependant on what they selected in the first one.
I appreciate your time in this.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098670#4098670
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098670
18Â years, 8Â months