[JBoss JIRA] (FORGE-719) Design a UI API
by George Gastaldi (JIRA)
George Gastaldi created FORGE-719:
-------------------------------------
Summary: Design a UI API
Key: FORGE-719
URL: https://issues.jboss.org/browse/FORGE-719
Project: Forge
Issue Type: Story
Components: Brainstorming
Reporter: George Gastaldi
Fix For: 2.0.0.Alpha1
Requirements:
- It must be usable in a Shell UI
- It should be usable in a Visual UI (SWT, Swing)
- It must be typesafe, therefore allowing the use of complex types.
Let's use this JIRA to brainstorm about it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] (FORGE-621) Need to configure "hibernate.transaction.jta.platform" when using Hibernate outside of JBoss AS
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-621?page=com.atlassian.jira.plugin.... ]
George Gastaldi commented on FORGE-621:
---------------------------------------
You can reach us on #forge in irc.freenode.net (There is a webchat available in http://webchat.freenode.net/ also).
It would be my pleasure to help you getting set up for this and future pull requests also ;)
> Need to configure "hibernate.transaction.jta.platform" when using Hibernate outside of JBoss AS
> -----------------------------------------------------------------------------------------------
>
> Key: FORGE-621
> URL: https://issues.jboss.org/browse/FORGE-621
> Project: Forge
> Issue Type: Bug
> Components: Java EE APIs
> Affects Versions: 1.0.6.Final
> Reporter: Luca Masini
> Labels: hibernate_persistance_layer, weblogic
> Fix For: 1.1.3.Final
>
> Attachments: JPAContainer.java, WebLogic12cContainer.java
>
>
> When running in an App Server that is not JBoss we need to configure the "hibernate.transaction.jta.platform" to bind the JTA resource to the current EntityManager. For instance, using WebLogic 12c:
> <property name="hibernate.transaction.jta.platform" value="org.hibernate.service.jta.platform.internal.WeblogicJtaPlatform" />
> I think that a new parameter is needed on the persistence setup command.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] (FORGE-621) Need to configure "hibernate.transaction.jta.platform" when using Hibernate outside of JBoss AS
by Luca Masini (JIRA)
[ https://issues.jboss.org/browse/FORGE-621?page=com.atlassian.jira.plugin.... ]
Luca Masini commented on FORGE-621:
-----------------------------------
Until WebLogic 10.3.4 the provider was OpenJPA, starting from 12c it's EclipseLink.
Thank from the point of view of the container.
Looking at Hibernate, when we inject it into the PU it should detect that is running under WebLogic and use the correct Transaction Manager, but someway WLS is not detected (I looked at sources, the code for WLS detection is there !!) and we need to specify it as a property.
I agree that having another container listed is a good option, so I'll commit here as soon as I understand how to do that.
Ciao.
> Need to configure "hibernate.transaction.jta.platform" when using Hibernate outside of JBoss AS
> -----------------------------------------------------------------------------------------------
>
> Key: FORGE-621
> URL: https://issues.jboss.org/browse/FORGE-621
> Project: Forge
> Issue Type: Bug
> Components: Java EE APIs
> Affects Versions: 1.0.6.Final
> Reporter: Luca Masini
> Labels: hibernate_persistance_layer, weblogic
> Fix For: 1.1.3.Final
>
> Attachments: JPAContainer.java, WebLogic12cContainer.java
>
>
> When running in an App Server that is not JBoss we need to configure the "hibernate.transaction.jta.platform" to bind the JTA resource to the current EntityManager. For instance, using WebLogic 12c:
> <property name="hibernate.transaction.jta.platform" value="org.hibernate.service.jta.platform.internal.WeblogicJtaPlatform" />
> I think that a new parameter is needed on the persistence setup command.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] (FORGE-621) Need to configure "hibernate.transaction.jta.platform" when using Hibernate outside of JBoss AS
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-621?page=com.atlassian.jira.plugin.... ]
George Gastaldi commented on FORGE-621:
---------------------------------------
WebLogic uses Toplink as the default persistence provider as I recall.
You're right on not needing to do anything in persistence.xml, but it would be nice to list Weblogic 12c as another option in JPAContainer
> Need to configure "hibernate.transaction.jta.platform" when using Hibernate outside of JBoss AS
> -----------------------------------------------------------------------------------------------
>
> Key: FORGE-621
> URL: https://issues.jboss.org/browse/FORGE-621
> Project: Forge
> Issue Type: Bug
> Components: Java EE APIs
> Affects Versions: 1.0.6.Final
> Reporter: Luca Masini
> Labels: hibernate_persistance_layer, weblogic
> Fix For: 1.1.3.Final
>
> Attachments: JPAContainer.java, WebLogic12cContainer.java
>
>
> When running in an App Server that is not JBoss we need to configure the "hibernate.transaction.jta.platform" to bind the JTA resource to the current EntityManager. For instance, using WebLogic 12c:
> <property name="hibernate.transaction.jta.platform" value="org.hibernate.service.jta.platform.internal.WeblogicJtaPlatform" />
> I think that a new parameter is needed on the persistence setup command.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] (FORGE-621) Need to configure "hibernate.transaction.jta.platform" when using Hibernate outside of JBoss AS
by Luca Masini (JIRA)
[ https://issues.jboss.org/browse/FORGE-621?page=com.atlassian.jira.plugin.... ]
Luca Masini commented on FORGE-621:
-----------------------------------
Sorry George, I feel I really need a "Git for dummies" book :)
Anyway I looked at Hibernate code and I think there is something there that is not working as expected. Reading JPA 2.0 specs seems like that Hibernate should do that automatically (something it does with JBoss).
I would like to have your opinion, should we fix that in Forge in the meanwhile ??
> Need to configure "hibernate.transaction.jta.platform" when using Hibernate outside of JBoss AS
> -----------------------------------------------------------------------------------------------
>
> Key: FORGE-621
> URL: https://issues.jboss.org/browse/FORGE-621
> Project: Forge
> Issue Type: Bug
> Components: Java EE APIs
> Affects Versions: 1.0.6.Final
> Reporter: Luca Masini
> Labels: hibernate_persistance_layer, weblogic
> Fix For: 1.1.3.Final
>
> Attachments: JPAContainer.java, WebLogic12cContainer.java
>
>
> When running in an App Server that is not JBoss we need to configure the "hibernate.transaction.jta.platform" to bind the JTA resource to the current EntityManager. For instance, using WebLogic 12c:
> <property name="hibernate.transaction.jta.platform" value="org.hibernate.service.jta.platform.internal.WeblogicJtaPlatform" />
> I think that a new parameter is needed on the persistence setup command.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] (FORGE-621) Need to configure "hibernate.transaction.jta.platform" when using Hibernate outside of JBoss AS
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-621?page=com.atlassian.jira.plugin.... ]
George Gastaldi commented on FORGE-621:
---------------------------------------
Luca,
Any updates on this ? Can you create a pull request with the attached classes ? It seems they haven't been merged yet.
Thanks
> Need to configure "hibernate.transaction.jta.platform" when using Hibernate outside of JBoss AS
> -----------------------------------------------------------------------------------------------
>
> Key: FORGE-621
> URL: https://issues.jboss.org/browse/FORGE-621
> Project: Forge
> Issue Type: Bug
> Components: Java EE APIs
> Affects Versions: 1.0.6.Final
> Reporter: Luca Masini
> Labels: hibernate_persistance_layer, weblogic
> Fix For: 1.1.3.Final
>
> Attachments: JPAContainer.java, WebLogic12cContainer.java
>
>
> When running in an App Server that is not JBoss we need to configure the "hibernate.transaction.jta.platform" to bind the JTA resource to the current EntityManager. For instance, using WebLogic 12c:
> <property name="hibernate.transaction.jta.platform" value="org.hibernate.service.jta.platform.internal.WeblogicJtaPlatform" />
> I think that a new parameter is needed on the persistence setup command.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months