[JBoss JIRA] (WFLY-3291) Pass Jandex CompositeIndex into Hibernate 5.x
by Scott Marlow (JIRA)
[ https://issues.jboss.org/browse/WFLY-3291?page=com.atlassian.jira.plugin.... ]
Scott Marlow commented on WFLY-3291:
------------------------------------
Verify that Hibernate will not keep a reference to the Jandex CompositeIndex before we make code changes to pass "hibernate.jandex_index" to Hibernate (Jandex storage should not be referenced after PersistenceProvider.createContainerEntityManagerFactory() returns).
> Pass Jandex CompositeIndex into Hibernate 5.x
> ----------------------------------------------
>
> Key: WFLY-3291
> URL: https://issues.jboss.org/browse/WFLY-3291
> Project: WildFly
> Issue Type: Feature Request
> Components: JPA / Hibernate
> Reporter: Scott Marlow
> Assignee: Scott Marlow
> Fix For: 9.0.0.Beta1
>
>
> 1. When creating the persistence unit for Hibernate 5.x, pass a Jandex composite index via:
> integrationMap.put( "hibernate.jandex_index", CompositeIndex.create( pu.getAnnotationIndex().values() ).
> 2. Also change from:
> integerationMap.put( "hibernate.ejb.resource_scanner", HibernateArchiveScanner.class )
> To:
> integrationMap.put( "hibernate.jpa.scanner_archive_delegate", VirtualFileSystemArchiveDescriptorFactory.INSTANCE )
> This may turn out to be a Jipajapa only change.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 4 months
[JBoss JIRA] (WFCORE-597) Where an ObjectTypeAttributeDefinition is in use respect the ResourceOnly setting on contained types for add operations.
by Tomaz Cerar (JIRA)
[ https://issues.jboss.org/browse/WFCORE-597?page=com.atlassian.jira.plugin... ]
Tomaz Cerar updated WFCORE-597:
-------------------------------
Parent: WFCORE-603
Workaround Description: (was: Define the ADD operation manually in the resource and omit the required attributes.)
Issue Type: Sub-task (was: Bug)
Workaround: (was: Workaround Exists)
> Where an ObjectTypeAttributeDefinition is in use respect the ResourceOnly setting on contained types for add operations.
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: WFCORE-597
> URL: https://issues.jboss.org/browse/WFCORE-597
> Project: WildFly Core
> Issue Type: Sub-task
> Components: Domain Management
> Reporter: Darran Lofthouse
> Assignee: Tomaz Cerar
> Labels: affects_elytron
> Fix For: 1.0.0.Beta1
>
>
> If an ObjectTypeAttributeDefinition contains an attribute definition that has ResourceOnly set then it should be filtered from the automatically generated description for the add operation.
> This may be more related to lists, I currently have: -
> ObjectListAttributeDefinition, which contains ObjectTypeAttributeDefinition, which contains SimpleAttributeDefinition
> It is this final SimpleAttributeDefinition that has ResourceOnly set but it is still showing up in the operation description for add.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 4 months
[JBoss JIRA] (WFCORE-460) Extended sytnax for read/write-attribute
by Tomaz Cerar (JIRA)
[ https://issues.jboss.org/browse/WFCORE-460?page=com.atlassian.jira.plugin... ]
Tomaz Cerar updated WFCORE-460:
-------------------------------
Parent: WFCORE-603
Issue Type: Sub-task (was: Feature Request)
> Extended sytnax for read/write-attribute
> ----------------------------------------
>
> Key: WFCORE-460
> URL: https://issues.jboss.org/browse/WFCORE-460
> Project: WildFly Core
> Issue Type: Sub-task
> Components: Domain Management
> Affects Versions: 1.0.0.Alpha14
> Reporter: Tomaz Cerar
> Assignee: Tomaz Cerar
> Labels: affects_elytron
> Fix For: 1.0.0.CR1
>
>
> :write-attribute enhancements for complex attributes
> Map write enhancements
> :write-attribute(name=map-attribute.myKey value="newValue")
> List write enhancements
> :write-attribute(name=list-attribute[1] value="new-element-value")
> :write-attribute(name=list-attribute.element-value value="new-element-value")
> Map read enhancements
> # return value of map-attribute with key "myKey"
> :read-attribute(name=map-attribute.myKey)
> List read enhancements
> # return element under index 5 of list-attribute
> :read-attribute(name=list-attribute[5])
> Generic complex attributes enhancments
> # return property.subproperty from complex attribute
> :read-attribute(name=complex-attribute.property.subproperty)
> # return subproperty of 5th property from complex attribute
> :read-attribute(name=complex-attribute[5].subproperty)
> # set subproperty of 5th property of complex attribute
> :write-attribute(name=complex-attribute[5].subproperty, value="new-value")
> # set property.subproperty.subsubproperty of attribute "complext-attribute to "new-value"
> :write-attribute(name=complex-attribute.property.subproperty.subsubproperty, value="new-value")
> # return value of complex attribute with key "myKey"
> :read-attribute(name=complex-attribute.myKey)
> # return "property" of complex-attribute element on index 5
> :read-attribute(name=complex-attribute[5].property)
> # return object of complex-attribute element on index 5
> :read-attribute(name=complex-attribute[5])
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 4 months
[JBoss JIRA] (WFCORE-602) Ability to view an objects index of it's position in a list.
by Tomaz Cerar (JIRA)
[ https://issues.jboss.org/browse/WFCORE-602?page=com.atlassian.jira.plugin... ]
Tomaz Cerar updated WFCORE-602:
-------------------------------
Parent: WFCORE-603
Issue Type: Sub-task (was: Feature Request)
> Ability to view an objects index of it's position in a list.
> ------------------------------------------------------------
>
> Key: WFCORE-602
> URL: https://issues.jboss.org/browse/WFCORE-602
> Project: WildFly Core
> Issue Type: Sub-task
> Components: Domain Management
> Reporter: Darran Lofthouse
> Assignee: Tomaz Cerar
> Labels: affects_elytron
> Fix For: 1.0.0.Beta1
>
>
> General improvements are being made to the management model for more fine grained manipulation of complex attributes, amongst these changes will be the ability to insert items at a specific position in a list.
> This feature request is to ask for the ability to see an items index to identify it's position.
> i.e. an end user can call :read-recource and see an items position without needing to count how many items there are in order to identify the position of the next insert.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 4 months
[JBoss JIRA] (WFCORE-603) Simplify working with complex attributes
by Tomaz Cerar (JIRA)
Tomaz Cerar created WFCORE-603:
----------------------------------
Summary: Simplify working with complex attributes
Key: WFCORE-603
URL: https://issues.jboss.org/browse/WFCORE-603
Project: WildFly Core
Issue Type: Enhancement
Components: Domain Management
Reporter: Tomaz Cerar
Assignee: Tomaz Cerar
Fix For: 1.0.0.CR1
This is umbrella issue for all complex attributes related enhancements and simplifications.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 4 months
[JBoss JIRA] (WFCORE-597) Where an ObjectTypeAttributeDefinition is in use respect the ResourceOnly setting on contained types for add operations.
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/WFCORE-597?page=com.atlassian.jira.plugin... ]
Darran Lofthouse updated WFCORE-597:
------------------------------------
Labels: affects_elytron (was: )
> Where an ObjectTypeAttributeDefinition is in use respect the ResourceOnly setting on contained types for add operations.
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: WFCORE-597
> URL: https://issues.jboss.org/browse/WFCORE-597
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Reporter: Darran Lofthouse
> Assignee: Tomaz Cerar
> Labels: affects_elytron
> Fix For: 1.0.0.Beta1
>
>
> If an ObjectTypeAttributeDefinition contains an attribute definition that has ResourceOnly set then it should be filtered from the automatically generated description for the add operation.
> This may be more related to lists, I currently have: -
> ObjectListAttributeDefinition, which contains ObjectTypeAttributeDefinition, which contains SimpleAttributeDefinition
> It is this final SimpleAttributeDefinition that has ResourceOnly set but it is still showing up in the operation description for add.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 4 months
[JBoss JIRA] (WFCORE-460) Extended sytnax for read/write-attribute
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/WFCORE-460?page=com.atlassian.jira.plugin... ]
Darran Lofthouse updated WFCORE-460:
------------------------------------
Labels: affects_elytron (was: )
> Extended sytnax for read/write-attribute
> ----------------------------------------
>
> Key: WFCORE-460
> URL: https://issues.jboss.org/browse/WFCORE-460
> Project: WildFly Core
> Issue Type: Feature Request
> Components: Domain Management
> Affects Versions: 1.0.0.Alpha14
> Reporter: Tomaz Cerar
> Assignee: Tomaz Cerar
> Labels: affects_elytron
> Fix For: 1.0.0.CR1
>
>
> :write-attribute enhancements for complex attributes
> Map write enhancements
> :write-attribute(name=map-attribute.myKey value="newValue")
> List write enhancements
> :write-attribute(name=list-attribute[1] value="new-element-value")
> :write-attribute(name=list-attribute.element-value value="new-element-value")
> Map read enhancements
> # return value of map-attribute with key "myKey"
> :read-attribute(name=map-attribute.myKey)
> List read enhancements
> # return element under index 5 of list-attribute
> :read-attribute(name=list-attribute[5])
> Generic complex attributes enhancments
> # return property.subproperty from complex attribute
> :read-attribute(name=complex-attribute.property.subproperty)
> # return subproperty of 5th property from complex attribute
> :read-attribute(name=complex-attribute[5].subproperty)
> # set subproperty of 5th property of complex attribute
> :write-attribute(name=complex-attribute[5].subproperty, value="new-value")
> # set property.subproperty.subsubproperty of attribute "complext-attribute to "new-value"
> :write-attribute(name=complex-attribute.property.subproperty.subsubproperty, value="new-value")
> # return value of complex attribute with key "myKey"
> :read-attribute(name=complex-attribute.myKey)
> # return "property" of complex-attribute element on index 5
> :read-attribute(name=complex-attribute[5].property)
> # return object of complex-attribute element on index 5
> :read-attribute(name=complex-attribute[5])
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 4 months
[JBoss JIRA] (WFCORE-602) Ability to view an objects index of it's position in a list.
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/WFCORE-602?page=com.atlassian.jira.plugin... ]
Darran Lofthouse updated WFCORE-602:
------------------------------------
Description:
General improvements are being made to the management model for more fine grained manipulation of complex attributes, amongst these changes will be the ability to insert items at a specific position in a list.
This feature request is to ask for the ability to see an items index to identify it's position.
i.e. an end user can call :read-recource and see an items position without needing to count how many items there are in order to identify the position of the next insert.
was:
General improvements are being made to the management model for more fine grained manipulation of complex attributes, amongst these changes will be the ability to insert items at a specific position in a list.
This feature request is to ask for the ability to see an items index to identify it's position.
i.e. and end user can call :read-recource and see an items position without needing to count how many items there are in order to identify the position of the next insert.
> Ability to view an objects index of it's position in a list.
> ------------------------------------------------------------
>
> Key: WFCORE-602
> URL: https://issues.jboss.org/browse/WFCORE-602
> Project: WildFly Core
> Issue Type: Feature Request
> Components: Domain Management
> Reporter: Darran Lofthouse
> Assignee: Tomaz Cerar
> Labels: affects_elytron
> Fix For: 1.0.0.Beta1
>
>
> General improvements are being made to the management model for more fine grained manipulation of complex attributes, amongst these changes will be the ability to insert items at a specific position in a list.
> This feature request is to ask for the ability to see an items index to identify it's position.
> i.e. an end user can call :read-recource and see an items position without needing to count how many items there are in order to identify the position of the next insert.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 4 months
[JBoss JIRA] (WFCORE-602) Ability to view an objects index of it's position in a list.
by Darran Lofthouse (JIRA)
Darran Lofthouse created WFCORE-602:
---------------------------------------
Summary: Ability to view an objects index of it's position in a list.
Key: WFCORE-602
URL: https://issues.jboss.org/browse/WFCORE-602
Project: WildFly Core
Issue Type: Feature Request
Components: Domain Management
Reporter: Darran Lofthouse
Assignee: Tomaz Cerar
Fix For: 1.0.0.Beta1
General improvements are being made to the management model for more fine grained manipulation of complex attributes, amongst these changes will be the ability to insert items at a specific position in a list.
This feature request is to ask for the ability to see an items index to identify it's position.
i.e. and end user can call :read-recource and see an items position without needing to count how many items there are in order to identify the position of the next insert.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 4 months