[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1357) Allow to set NamingStrategy in HibernateFactory (patch included)
by Przemyslaw Jaskierski (JIRA)
Allow to set NamingStrategy in HibernateFactory (patch included)
----------------------------------------------------------------
Key: JBSEAM-1357
URL: http://jira.jboss.com/jira/browse/JBSEAM-1357
Project: JBoss Seam
Issue Type: Feature Request
Components: Core
Affects Versions: 1.2.1.GA
Environment: Microcontainer
Reporter: Przemyslaw Jaskierski
Fix For: 1.3.0.ALPHA
Attachments: HibernateFactory.diff.zip
I cannot find any way to set my non-default NamingStrategy using microcontainer-instantiated HibernateFactory. My complex mapping cannot be instantiated. Following patch makes this possible. After applying, user can setup NamingStrategy using something like:
<bean name="complexNamingStrategy"class="x.y.z.ComplexNamingStrategy"/>
<bean name="hibernateSessionFactoryFactory" class="org.jboss.seam.microcontainer.HibernateFactory">
<property name="cfgResourceName">conf/hibernate/hibernate.cfg.xml</property>
<property name="namingStrategy">
<inject bean="complexNamingStrategy"/>
</property>
</bean>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 10 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1142) Improve Seam deployment/scanning speed
by Mike Quilleash (JIRA)
Improve Seam deployment/scanning speed
--------------------------------------
Key: JBSEAM-1142
URL: http://jira.jboss.com/jira/browse/JBSEAM-1142
Project: JBoss Seam
Issue Type: Feature Request
Components: Core
Affects Versions: 1.1.6.GA
Environment: Any
Reporter: Mike Quilleash
Currently the Seam component scanning takes prohibitively long in development when scanning a large project. My project has several thousand java files of which <1% are Seam components. For a Tomcat deployment changing from explicitly specifying the components to using the Seam scanning increases the startup time from 25 seconds to 50 seconds. Most of the 25 seconds is building a hibernate session factory.
A possible enhancement would be to allow restriction of the packages that will be scanned via something in the components.xml.
e.g.
<scanning-config>
<include-package name="com.xxx.web.seam.component"/>
</scanning-config>
Without this present behaviour is default. With it, it will only scan specified packages.
Current workaround would be to package into separate jars but that's not always possible esp in development.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 10 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1372) Previous conversation never ends when new one begins in the same request cycle
by Dan Allen (JIRA)
Previous conversation never ends when new one begins in the same request cycle
------------------------------------------------------------------------------
Key: JBSEAM-1372
URL: http://jira.jboss.com/jira/browse/JBSEAM-1372
Project: JBoss Seam
Issue Type: Bug
Components: Core
Affects Versions: 1.2.1.GA
Environment: Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Ubuntu Linux 7.04
Maven2+Jetty6
Reporter: Dan Allen
If you navigate using the s:link tag with propagation="end" OR invoke an action that is marked with the @End annotation (without beforeRedirect) AND THEN render a page which starts a new conversation (either via a factory or a page action), the previous conversation gets recycled. I would expect that conversation id would increment by 1 and the old conversation would be garbage collected. However, this is not the case, and the two conversations merge.
Scenario:
Create a page that begins a conversation
In that page, include a link that ends the conversation and renders the next page: <s:link action="#{myAction.endAndGotoNext}" /> where @End MyAction#endAndGotoNext()
In the next page that is rendered begin a conversation (either via a factory or a page action)
Now use /debug.seam page to see that the conversation id is never killed from the first page
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 10 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1218) Make LocalDispatcher not dependent on javax.ejb.Timer
by Michael Youngstrom (JIRA)
Make LocalDispatcher not dependent on javax.ejb.Timer
-----------------------------------------------------
Key: JBSEAM-1218
URL: http://jira.jboss.com/jira/browse/JBSEAM-1218
Project: JBoss Seam
Issue Type: Feature Request
Components: Core
Affects Versions: 1.2.1.GA
Reporter: Michael Youngstrom
Priority: Minor
Fix For: 1.3.0.BETA1
I'm attempting to create a port of the @Asynchronous annotation for Spring. (JBSEAM-1217) It would appear the correct way to do this would be to create a Spring Dispatcher component that would override the core Dispatcher component. However, the LocalDispatcher Interface is dependent on javax.ejb.Timer I can probably wrap my spring dispatch implementation into the javax.ejb.Timer but it would be nice if a seam version of javax.ejb.Timer were created so that the j2ee.jar would not be required for users who wish to use @Asynchronous under a web container.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 10 months