configuracion bytea en orm.xml
This commit is contained in:
parent
f850e001e1
commit
f7a7e5eedc
|
|
@ -28,7 +28,7 @@ public class EstadoSolicitudQuery extends QueryRule{
|
|||
}
|
||||
|
||||
StringBuilder sql = new StringBuilder("select DISTINCT ta.ACTIVITYNAME,ta.USERCODE,ta.GROUPCODE,tk.STATUS,ta.CREATED,ta.STARTED,ta.COMPLETED "
|
||||
+ " from jbpm6.public.VARIABLEINSTANCELOG d, TBPMACTIVITIES ta, jbpm6.public.TASK tk "
|
||||
+ " from jbpm6.VARIABLEINSTANCELOG d, TBPMACTIVITIES ta, jbpm6.TASK tk "
|
||||
+ " where d.processInstanceId = ta.internalcode and tk.id (+) = ta.TASKID ");
|
||||
|
||||
if(codigosolicitud.contains("SOL") || codigosolicitud.contains("TRA")){
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Tue Nov 15 12:56:23 ECT 2022
|
||||
#Wed Nov 16 14:16:55 ECT 2022
|
||||
version=2.1
|
||||
groupId=com.fp.base.bpm
|
||||
artifactId=bpmlib
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Tue Nov 15 12:56:17 ECT 2022
|
||||
#Wed Nov 16 14:16:50 ECT 2022
|
||||
version=2.1
|
||||
groupId=com.fp.base.bpm
|
||||
artifactId=simple
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Tue Nov 15 12:56:45 ECT 2022
|
||||
#Wed Nov 16 14:17:18 ECT 2022
|
||||
version=2.1
|
||||
groupId=com.fp.base.business
|
||||
artifactId=armas
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Tue Nov 15 12:56:37 ECT 2022
|
||||
#Wed Nov 16 14:17:09 ECT 2022
|
||||
version=2.1
|
||||
groupId=com.fp.base.business
|
||||
artifactId=general
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Tue Nov 15 12:56:40 ECT 2022
|
||||
#Wed Nov 16 14:17:12 ECT 2022
|
||||
version=2.1
|
||||
groupId=com.fp.base.business
|
||||
artifactId=log
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Tue Nov 15 12:56:34 ECT 2022
|
||||
#Wed Nov 16 14:17:07 ECT 2022
|
||||
version=2.1
|
||||
groupId=com.fp.base.business
|
||||
artifactId=person
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Tue Nov 15 12:56:39 ECT 2022
|
||||
#Wed Nov 16 14:17:11 ECT 2022
|
||||
version=2.1
|
||||
groupId=com.fp.base.business
|
||||
artifactId=report
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Tue Nov 15 12:56:42 ECT 2022
|
||||
#Wed Nov 16 14:17:14 ECT 2022
|
||||
version=2.1
|
||||
groupId=com.fp.base.business
|
||||
artifactId=viaticos
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Tue Nov 15 12:56:31 ECT 2022
|
||||
#Wed Nov 16 14:17:04 ECT 2022
|
||||
version=2.1
|
||||
groupId=com.fp.base.core
|
||||
artifactId=alfresco-client
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Tue Nov 15 12:56:19 ECT 2022
|
||||
#Wed Nov 16 14:16:52 ECT 2022
|
||||
version=2.1
|
||||
groupId=com.fp.base.core
|
||||
artifactId=bpm
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Tue Nov 15 12:56:30 ECT 2022
|
||||
#Wed Nov 16 14:17:03 ECT 2022
|
||||
version=2.1
|
||||
groupId=com.fp.base.core
|
||||
artifactId=firmas
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Tue Nov 15 12:56:04 ECT 2022
|
||||
#Wed Nov 16 14:16:37 ECT 2022
|
||||
version=2.1
|
||||
groupId=com.fp.base.dto
|
||||
artifactId=common
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Tue Nov 15 12:56:02 ECT 2022
|
||||
#Wed Nov 16 14:16:35 ECT 2022
|
||||
version=2.1
|
||||
groupId=com.fp.base.dto
|
||||
artifactId=dto
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Tue Nov 15 12:56:47 ECT 2022
|
||||
#Wed Nov 16 14:17:20 ECT 2022
|
||||
version=2.1
|
||||
groupId=com.fp.base
|
||||
artifactId=facade
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Tue Nov 15 12:56:46 ECT 2022
|
||||
#Wed Nov 16 14:17:19 ECT 2022
|
||||
version=2.1
|
||||
groupId=com.fp.base
|
||||
artifactId=facadeclient
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Tue Nov 15 12:56:13 ECT 2022
|
||||
#Wed Nov 16 14:16:46 ECT 2022
|
||||
version=2.1
|
||||
groupId=com.fp.base.persistence
|
||||
artifactId=commondb
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Tue Nov 15 12:56:29 ECT 2022
|
||||
#Wed Nov 16 14:17:02 ECT 2022
|
||||
version=2.1
|
||||
groupId=com.fp.base.persistence
|
||||
artifactId=parmas
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Tue Nov 15 12:56:06 ECT 2022
|
||||
#Wed Nov 16 14:16:39 ECT 2022
|
||||
version=2.1
|
||||
groupId=com.fp.base.persistence
|
||||
artifactId=pbpm
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Tue Nov 15 12:56:15 ECT 2022
|
||||
#Wed Nov 16 14:16:48 ECT 2022
|
||||
version=2.1
|
||||
groupId=com.fp.base.persistence
|
||||
artifactId=pcustomer
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Tue Nov 15 12:56:26 ECT 2022
|
||||
#Wed Nov 16 14:16:59 ECT 2022
|
||||
version=2.1
|
||||
groupId=com.fp.base.persistence
|
||||
artifactId=pfirmas
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Tue Nov 15 12:56:11 ECT 2022
|
||||
#Wed Nov 16 14:16:44 ECT 2022
|
||||
version=2.1
|
||||
groupId=com.fp.base.persistence
|
||||
artifactId=pgeneral
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Tue Nov 15 12:56:24 ECT 2022
|
||||
#Wed Nov 16 14:16:56 ECT 2022
|
||||
version=2.1
|
||||
groupId=com.fp.base.persistence
|
||||
artifactId=plog
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Tue Nov 15 12:56:25 ECT 2022
|
||||
#Wed Nov 16 14:16:58 ECT 2022
|
||||
version=2.1
|
||||
groupId=com.fp.base.persistence
|
||||
artifactId=pviaticos
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Tue Nov 15 12:56:16 ECT 2022
|
||||
#Wed Nov 16 14:16:49 ECT 2022
|
||||
version=2.1
|
||||
groupId=com.fp.base.persistence
|
||||
artifactId=util
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Tue Nov 15 12:56:32 ECT 2022
|
||||
#Wed Nov 16 14:17:05 ECT 2022
|
||||
version=2.1
|
||||
groupId=com.fp.base
|
||||
artifactId=sessionbeans
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Tue Nov 15 12:56:47 ECT 2022
|
||||
#Wed Nov 16 14:17:21 ECT 2022
|
||||
version=2.1
|
||||
groupId=com.fp.clients.maia
|
||||
artifactId=maiaear
|
||||
|
|
|
|||
|
|
@ -0,0 +1,51 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<entity-mappings xmlns="http://java.sun.com/xml/ns/persistence/orm"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_1_0.xsd"
|
||||
version="2.0">
|
||||
<description>Workaround for PostgreSQL and JPA annotation type @Lob</description>
|
||||
<package>org.jbpm.persistence.processinstance</package>
|
||||
<entity class="ProcessInstanceInfo" name="ProcessInstanceInfo" access="FIELD">
|
||||
<table name="processinstanceinfo"/>
|
||||
<attributes>
|
||||
<basic name="processInstanceByteArray" access="FIELD">
|
||||
<column name="processInstanceByteArray" column-definition="bytea"/>
|
||||
</basic>
|
||||
</attributes>
|
||||
</entity>
|
||||
<entity class="org.jbpm.services.task.impl.model.ContentImpl" name="ContentImpl" access="FIELD">
|
||||
<table name="content"/>
|
||||
<attributes>
|
||||
<basic name="content" access="FIELD">
|
||||
<column name="content" column-definition="bytea"/>
|
||||
</basic>
|
||||
</attributes>
|
||||
</entity>
|
||||
<entity class="org.jbpm.executor.entities.RequestInfo" name="RequestInfo" access="FIELD">
|
||||
<table name="requestinfo"/>
|
||||
<attributes>
|
||||
<basic name="requestData" access="FIELD">
|
||||
<column name="requestData" column-definition="bytea"/>
|
||||
</basic>
|
||||
<basic name="responseData" access="FIELD">
|
||||
<column name="responseData" column-definition="bytea"/>
|
||||
</basic>
|
||||
</attributes>
|
||||
</entity>
|
||||
<entity class="org.drools.persistence.info.SessionInfo" name="SessionInfo" access="FIELD">
|
||||
<table name="sessioninfo"/>
|
||||
<attributes>
|
||||
<basic name="rulesByteArray" access="FIELD">
|
||||
<column name="rulesbytearray" column-definition="bytea"/>
|
||||
</basic>
|
||||
</attributes>
|
||||
</entity>
|
||||
<entity class="org.drools.persistence.info.WorkItemInfo" name="WorkItemInfo" access="FIELD">
|
||||
<table name="workiteminfo"/>
|
||||
<attributes>
|
||||
<basic name="workItemByteArray" access="FIELD">
|
||||
<column name="workItemByteArray" column-definition="bytea"/>
|
||||
</basic>
|
||||
</attributes>
|
||||
</entity>
|
||||
</entity-mappings>
|
||||
|
|
@ -13,6 +13,8 @@
|
|||
<mapping-file>META-INF/Executor-orm.xml</mapping-file>
|
||||
<mapping-file>META-INF/Servicesorm.xml</mapping-file>
|
||||
<mapping-file>META-INF/TaskAuditorm.xml</mapping-file>
|
||||
<mapping-file>META-INF/orm.xml</mapping-file>
|
||||
|
||||
<!-- task service -->
|
||||
<class>org.jbpm.services.task.impl.model.AttachmentImpl</class>
|
||||
<class>org.jbpm.services.task.impl.model.ContentImpl</class>
|
||||
|
|
@ -59,10 +61,11 @@
|
|||
|
||||
<properties>
|
||||
<property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect"/>
|
||||
<property name="hibernate.default_schema" value="jbpm6"/>
|
||||
<property name="hibernate.show_sql" value="true"/>
|
||||
<property name="hibernate.format_sql" value="true"/>
|
||||
<property name="hibernate.max_fetch_depth" value="3" />
|
||||
<property name="hibernate.hbm2ddl.auto" value="update" />
|
||||
<!--<property name="hibernate.hbm2ddl.auto" value="update" /> -->
|
||||
<!-- BZ 841786: AS7/EAP 6/Hib 4 uses new (sequence) generators which seem to cause problems -->
|
||||
<property name="hibernate.id.new_generator_mappings" value="false" />
|
||||
<property name="hibernate.transaction.jta.platform" value="org.hibernate.service.jta.platform.internal.JBossAppServerJtaPlatform" />
|
||||
|
|
|
|||
|
|
@ -0,0 +1,51 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<entity-mappings xmlns="http://java.sun.com/xml/ns/persistence/orm"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_1_0.xsd"
|
||||
version="2.0">
|
||||
<description>Workaround for PostgreSQL and JPA annotation type @Lob</description>
|
||||
<package>org.jbpm.persistence.processinstance</package>
|
||||
<entity class="ProcessInstanceInfo" name="ProcessInstanceInfo" access="FIELD">
|
||||
<table name="processinstanceinfo"/>
|
||||
<attributes>
|
||||
<basic name="processInstanceByteArray" access="FIELD">
|
||||
<column name="processInstanceByteArray" column-definition="bytea"/>
|
||||
</basic>
|
||||
</attributes>
|
||||
</entity>
|
||||
<entity class="org.jbpm.services.task.impl.model.ContentImpl" name="ContentImpl" access="FIELD">
|
||||
<table name="content"/>
|
||||
<attributes>
|
||||
<basic name="content" access="FIELD">
|
||||
<column name="content" column-definition="bytea"/>
|
||||
</basic>
|
||||
</attributes>
|
||||
</entity>
|
||||
<entity class="org.jbpm.executor.entities.RequestInfo" name="RequestInfo" access="FIELD">
|
||||
<table name="requestinfo"/>
|
||||
<attributes>
|
||||
<basic name="requestData" access="FIELD">
|
||||
<column name="requestData" column-definition="bytea"/>
|
||||
</basic>
|
||||
<basic name="responseData" access="FIELD">
|
||||
<column name="responseData" column-definition="bytea"/>
|
||||
</basic>
|
||||
</attributes>
|
||||
</entity>
|
||||
<entity class="org.drools.persistence.info.SessionInfo" name="SessionInfo" access="FIELD">
|
||||
<table name="sessioninfo"/>
|
||||
<attributes>
|
||||
<basic name="rulesByteArray" access="FIELD">
|
||||
<column name="rulesbytearray" column-definition="bytea"/>
|
||||
</basic>
|
||||
</attributes>
|
||||
</entity>
|
||||
<entity class="org.drools.persistence.info.WorkItemInfo" name="WorkItemInfo" access="FIELD">
|
||||
<table name="workiteminfo"/>
|
||||
<attributes>
|
||||
<basic name="workItemByteArray" access="FIELD">
|
||||
<column name="workItemByteArray" column-definition="bytea"/>
|
||||
</basic>
|
||||
</attributes>
|
||||
</entity>
|
||||
</entity-mappings>
|
||||
|
|
@ -13,6 +13,8 @@
|
|||
<mapping-file>META-INF/Executor-orm.xml</mapping-file>
|
||||
<mapping-file>META-INF/Servicesorm.xml</mapping-file>
|
||||
<mapping-file>META-INF/TaskAuditorm.xml</mapping-file>
|
||||
<mapping-file>META-INF/orm.xml</mapping-file>
|
||||
|
||||
<!-- task service -->
|
||||
<class>org.jbpm.services.task.impl.model.AttachmentImpl</class>
|
||||
<class>org.jbpm.services.task.impl.model.ContentImpl</class>
|
||||
|
|
@ -59,10 +61,11 @@
|
|||
|
||||
<properties>
|
||||
<property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect"/>
|
||||
<property name="hibernate.default_schema" value="jbpm6"/>
|
||||
<property name="hibernate.show_sql" value="true"/>
|
||||
<property name="hibernate.format_sql" value="true"/>
|
||||
<property name="hibernate.max_fetch_depth" value="3" />
|
||||
<property name="hibernate.hbm2ddl.auto" value="update" />
|
||||
<!--<property name="hibernate.hbm2ddl.auto" value="update" /> -->
|
||||
<!-- BZ 841786: AS7/EAP 6/Hib 4 uses new (sequence) generators which seem to cause problems -->
|
||||
<property name="hibernate.id.new_generator_mappings" value="false" />
|
||||
<property name="hibernate.transaction.jta.platform" value="org.hibernate.service.jta.platform.internal.JBossAppServerJtaPlatform" />
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Tue Nov 15 12:56:47 ECT 2022
|
||||
#Wed Nov 16 14:17:20 ECT 2022
|
||||
version=2.1
|
||||
groupId=com.fp.clients.maia
|
||||
artifactId=environment-eap6
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@
|
|||
<h:panelGrid columns="2">
|
||||
<p:outputLabel for="txtNumeroSolicitud" value="#{msg_armas['lbl_No']}. #{msg_armas['lbl_solicitud']}:" style="width:150px;display:block;"/>
|
||||
<p:inputText id="txtNumeroSolicitud" value="#{tramiteArmasController.solicitud.record.numerosolicitud}" disabled="true" style="width:190px;"/>
|
||||
/>
|
||||
|
||||
|
||||
</h:panelGrid>
|
||||
<h:panelGrid columns="5">
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -75,7 +75,7 @@
|
|||
<h:panelGrid columns="2">
|
||||
<p:outputLabel for="txtNumeroSolicitud" value="#{msg_armas['lbl_No']}. #{msg_armas['lbl_solicitud']}:" style="width:150px;display:block;"/>
|
||||
<p:inputText id="txtNumeroSolicitud" value="#{tramiteArmasController.solicitud.record.numerosolicitud}" disabled="true" style="width:190px;"/>
|
||||
/>
|
||||
|
||||
|
||||
</h:panelGrid>
|
||||
<h:panelGrid columns="5">
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Tue Nov 15 12:57:04 ECT 2022
|
||||
#Wed Nov 16 14:17:35 ECT 2022
|
||||
version=2.1
|
||||
groupId=com.fp
|
||||
artifactId=frontend
|
||||
|
|
|
|||
Loading…
Reference in New Issue