don_raka | 1 Oct 2003 04:22
Picon

jbpm/config/db create.sql,1.22,1.23

Update of /cvsroot/jbpm/jbpm/config/db
In directory sc8-pr-cvs1:/tmp/cvs-serv24421/config/db

Modified Files:
	create.sql 
Log Message:
Re-generated DDL script

Index: create.sql
===================================================================
RCS file: /cvsroot/jbpm/jbpm/config/db/create.sql,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** create.sql	12 Sep 2003 21:50:47 -0000	1.22
--- create.sql	1 Oct 2003 02:22:41 -0000	1.23
***************
*** 21,25 ****
  alter table JBPM_PROCESSBLOCK drop constraint FKB1DE483AE6A603;
  alter table JBPM_PROCESSBLOCK drop constraint FKB1DE48B7C43122;
! alter table JBPM_PROCESSBLOCK drop constraint FKB1DE4831DD2A;
  alter table JBPM_ATTRIBUTE drop constraint FK46521BF2A061B05A;
  alter table JBPM_ATTRIBUTE drop constraint FK46521BF2B7C43122;
--- 21,25 ----
  alter table JBPM_PROCESSBLOCK drop constraint FKB1DE483AE6A603;
  alter table JBPM_PROCESSBLOCK drop constraint FKB1DE48B7C43122;
! alter table JBPM_PROCESSBLOCK drop constraint FKB1DE48609C875;
  alter table JBPM_ATTRIBUTE drop constraint FK46521BF2A061B05A;
  alter table JBPM_ATTRIBUTE drop constraint FK46521BF2B7C43122;
***************
(Continue reading)

don_raka | 1 Oct 2003 04:23
Picon

jbpm/config/hibernate/mappings/org/jbpm/workflow/definition/impl ProcessBlockImpl.hbm.xml,1.2,1.3

Update of /cvsroot/jbpm/jbpm/config/hibernate/mappings/org/jbpm/workflow/definition/impl
In directory sc8-pr-cvs1:/tmp/cvs-serv24495/config/hibernate/mappings/org/jbpm/workflow/definition/impl

Modified Files:
	ProcessBlockImpl.hbm.xml 
Log Message:
Regenerated hibernate mappings

Index: ProcessBlockImpl.hbm.xml
===================================================================
RCS file: /cvsroot/jbpm/jbpm/config/hibernate/mappings/org/jbpm/workflow/definition/impl/ProcessBlockImpl.hbm.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ProcessBlockImpl.hbm.xml	9 Sep 2003 15:32:32 -0000	1.2
--- ProcessBlockImpl.hbm.xml	1 Oct 2003 02:23:08 -0000	1.3
***************
*** 145,149 ****
              update="true"
              insert="true"
!             column="join"
          />

--- 145,149 ----
              update="true"
              insert="true"
!             column="join_"
          />

***************
(Continue reading)

don_raka | 1 Oct 2003 04:23
Picon

jbpm/config/hibernate/mappings/org/jbpm/workflow/delegation/impl ClassFileImpl.hbm.xml,1.1,1.2

Update of /cvsroot/jbpm/jbpm/config/hibernate/mappings/org/jbpm/workflow/delegation/impl
In directory sc8-pr-cvs1:/tmp/cvs-serv24495/config/hibernate/mappings/org/jbpm/workflow/delegation/impl

Modified Files:
	ClassFileImpl.hbm.xml 
Log Message:
Regenerated hibernate mappings

Index: ClassFileImpl.hbm.xml
===================================================================
RCS file: /cvsroot/jbpm/jbpm/config/hibernate/mappings/org/jbpm/workflow/delegation/impl/ClassFileImpl.hbm.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ClassFileImpl.hbm.xml	5 Sep 2003 09:01:09 -0000	1.1
--- ClassFileImpl.hbm.xml	1 Oct 2003 02:23:08 -0000	1.2
***************
*** 33,37 ****
          <property
              name="bytes"
!             type="binary"
              update="true"
              insert="true"
--- 33,37 ----
          <property
              name="bytes"
!             type="org.jbpm.util.db.BinaryBlobType"
              update="true"
              insert="true"

(Continue reading)

don_raka | 1 Oct 2003 04:23
Picon

jbpm/config/hibernate hibernate.properties,1.1,1.2 hibernate.cfg.xml,1.19,1.20

Update of /cvsroot/jbpm/jbpm/config/hibernate
In directory sc8-pr-cvs1:/tmp/cvs-serv24495/config/hibernate

Modified Files:
	hibernate.properties hibernate.cfg.xml 
Log Message:
Regenerated hibernate mappings

Index: hibernate.properties
===================================================================
RCS file: /cvsroot/jbpm/jbpm/config/hibernate/hibernate.properties,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** hibernate.properties	6 Aug 2003 14:59:43 -0000	1.1
--- hibernate.properties	1 Oct 2003 02:23:08 -0000	1.2
***************
*** 3,5 ****
  hibernate.connection.url=jdbc:hsqldb:hsql://localhost:1701
  hibernate.connection.username=sa
! hibernate.connection.password=
--- 3,5 ----
  hibernate.connection.url=jdbc:hsqldb:hsql://localhost:1701
  hibernate.connection.username=sa
! hibernate.connection.password=
\ No newline at end of file

Index: hibernate.cfg.xml
===================================================================
RCS file: /cvsroot/jbpm/jbpm/config/hibernate/hibernate.cfg.xml,v
(Continue reading)

don_raka | 1 Oct 2003 04:26
Picon

jbpm/src/org/jbpm/util/db BinaryBlobType.java,NONE,1.1

Update of /cvsroot/jbpm/jbpm/src/org/jbpm/util/db
In directory sc8-pr-cvs1:/tmp/cvs-serv25040/src/org/jbpm/util/db

Added Files:
	BinaryBlobType.java 
Log Message:
Custom hibernate Type for object field of type byte[]

--- NEW FILE: BinaryBlobType.java ---
package org.jbpm.util.db;

import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Types;

import net.sf.hibernate.HibernateException;
import net.sf.hibernate.UserType;

public class BinaryBlobType implements UserType {
	private static final int BUFFER_SIZE = 512;

	public int[] sqlTypes() {
		return new int[] { Types.BLOB };
	}

	public Class returnedClass() {
(Continue reading)

don_raka | 1 Oct 2003 04:29
Picon

jbpm/src/org/jbpm/workflow/admin/ejb AdminSessionLocalHome.java,1.2,1.3

Update of /cvsroot/jbpm/jbpm/src/org/jbpm/workflow/admin/ejb
In directory sc8-pr-cvs1:/tmp/cvs-serv25507/src/org/jbpm/workflow/admin/ejb

Modified Files:
	AdminSessionLocalHome.java 
Log Message:
Return type of create() is changed to AdminSessionLocal. For (local) home, OC4J wouldn't accept return
type other than local (or remote) interface from create() method.

Index: AdminSessionLocalHome.java
===================================================================
RCS file: /cvsroot/jbpm/jbpm/src/org/jbpm/workflow/admin/ejb/AdminSessionLocalHome.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** AdminSessionLocalHome.java	29 Jul 2003 14:08:02 -0000	1.2
--- AdminSessionLocalHome.java	1 Oct 2003 02:29:18 -0000	1.3
***************
*** 1,6 ****
  package org.jbpm.workflow.admin.ejb;

! import javax.ejb.*;
! import org.jbpm.workflow.admin.*;

  /**
--- 1,6 ----
  package org.jbpm.workflow.admin.ejb;

! import javax.ejb.CreateException;
! import javax.ejb.EJBLocalHome;
(Continue reading)

don_raka | 1 Oct 2003 04:30
Picon

jbpm/src/org/jbpm/workflow/definition/impl ConcurrentBlockImpl.java,1.9,1.10

Update of /cvsroot/jbpm/jbpm/src/org/jbpm/workflow/definition/impl
In directory sc8-pr-cvs1:/tmp/cvs-serv25833/src/org/jbpm/workflow/definition/impl

Modified Files:
	ConcurrentBlockImpl.java 
Log Message:
Added hibernate doclet attribute --> column="join_"  above declaration of getJoin() method

Index: ConcurrentBlockImpl.java
===================================================================
RCS file: /cvsroot/jbpm/jbpm/src/org/jbpm/workflow/definition/impl/ConcurrentBlockImpl.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** ConcurrentBlockImpl.java	10 Sep 2003 14:37:15 -0000	1.9
--- ConcurrentBlockImpl.java	1 Oct 2003 02:30:52 -0000	1.10
***************
*** 52,56 ****

    /**
!    *  <at> hibernate.many-to-one class="org.jbpm.workflow.definition.impl.ForkImpl"
     */
    public Fork getFork() { return this.fork; }
--- 52,56 ----

    /**
!    *  <at> hibernate.many-to-one class="org.jbpm.workflow.definition.impl.ForkImpl"   
     */
    public Fork getFork() { return this.fork; }
***************
(Continue reading)

don_raka | 1 Oct 2003 04:38
Picon

jbpm/src/org/jbpm/workflow/definition/impl ProcessDefinitionImpl.java,1.25,1.26

Update of /cvsroot/jbpm/jbpm/src/org/jbpm/workflow/definition/impl
In directory sc8-pr-cvs1:/tmp/cvs-serv26835/src/org/jbpm/workflow/definition/impl

Modified Files:
	ProcessDefinitionImpl.java 
Log Message:
[1] Added hibernate doclet attribute column="version_" above declaration of getVersion() method.
[2] Added hibernate doclet attribute column="version_" above declaration of getVersion() method.
[3] Changed the value of hibernate doclet attribute "type" from "binary" to
"org.jbpm.util.db.BinaryBlobType" above declaration of getImage()

Index: ProcessDefinitionImpl.java
===================================================================
RCS file: /cvsroot/jbpm/jbpm/src/org/jbpm/workflow/definition/impl/ProcessDefinitionImpl.java,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** ProcessDefinitionImpl.java	29 Sep 2003 14:48:28 -0000	1.25
--- ProcessDefinitionImpl.java	1 Oct 2003 02:38:11 -0000	1.26
***************
*** 202,206 ****

    /**
!    *  <at> hibernate.property type="integer" column="version"
     */
    public Integer getVersion() { return version; }
--- 202,206 ----

    /**
!    *  <at> hibernate.property type="integer" column="version_"
(Continue reading)

don_raka | 1 Oct 2003 04:39
Picon

jbpm/src/org/jbpm/workflow/delegation/impl ClassFileImpl.java,1.3,1.4

Update of /cvsroot/jbpm/jbpm/src/org/jbpm/workflow/delegation/impl
In directory sc8-pr-cvs1:/tmp/cvs-serv27051/src/org/jbpm/workflow/delegation/impl

Modified Files:
	ClassFileImpl.java 
Log Message:
Changed the value of hibernate doclet attribute "type" from "binary" to
"org.jbpm.util.db.BinaryBlobType" above declaration of getBytes()

Index: ClassFileImpl.java
===================================================================
RCS file: /cvsroot/jbpm/jbpm/src/org/jbpm/workflow/delegation/impl/ClassFileImpl.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** ClassFileImpl.java	23 Aug 2003 05:37:54 -0000	1.3
--- ClassFileImpl.java	1 Oct 2003 02:39:19 -0000	1.4
***************
*** 22,26 ****

    /**
!    *  <at> hibernate.property type="binary" column="bytes"
     */
    public byte[] getBytes() { return bytes; }
--- 22,26 ----

    /**
!    *  <at> hibernate.property type="org.jbpm.util.db.BinaryBlobType" column="bytes"
     */
    public byte[] getBytes() { return bytes; }
(Continue reading)

tmjee | 1 Oct 2003 17:26
Picon

jbpm/src/org/jbpm/web/action/admin SearchProcessInstanceAction.java,1.6,1.7

Update of /cvsroot/jbpm/jbpm/src/org/jbpm/web/action/admin
In directory sc8-pr-cvs1:/tmp/cvs-serv5175/src/org/jbpm/web/action/admin

Modified Files:
	SearchProcessInstanceAction.java 
Log Message:
remove printing stack trace to console when parse date fail (business logic error, no need to log).

Index: SearchProcessInstanceAction.java
===================================================================
RCS file: /cvsroot/jbpm/jbpm/src/org/jbpm/web/action/admin/SearchProcessInstanceAction.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** SearchProcessInstanceAction.java	5 Sep 2003 16:13:15 -0000	1.6
--- SearchProcessInstanceAction.java	1 Oct 2003 15:26:27 -0000	1.7
***************
*** 79,83 ****
        }
      } catch (ParseException e) {
-       e.printStackTrace();
        Object[] values = new Object[ 3 ];
        values[ 0 ] = fieldName; 
--- 79,82 ----

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
(Continue reading)


Gmane