[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1864) Entity-query of Contact List sample does not run against Oracle
by Ali Sadik Kumlali (JIRA)
Entity-query of Contact List sample does not run against Oracle
---------------------------------------------------------------
Key: JBSEAM-1864
URL: http://jira.jboss.com/jira/browse/JBSEAM-1864
Project: JBoss Seam
Issue Type: Feature Request
Components: Examples
Affects Versions: 2.0.0.BETA1
Environment: OS: Windows Vista 6.0,x86
Database: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
Java VM: Java HotSpot(TM) Server VM 1.5.0_11-b03,Sun Microsystems Inc.
Seam: jboss-seam-2.0.0.BETA1
Reporter: Ali Sadik Kumlali
Priority: Trivial
Hi,
Using concat() expression instead of '+' would make "contacts" entity-query of Contact List example more portable according to the Hibernate Reference[1]. Otherwise, the sample cannot be run against Oracle due to "ORA-01722: invalid number" error. Here is the query I could manage to run on both HSQLDB and Oracle:
<fwk:entity-query name="contacts"
max-results="5">
<fwk:ejbql>from Contact</fwk:ejbql>
<fwk:order>lastName</fwk:order>
<fwk:restrictions>
<value>lower(firstName) like lower( concat(#{exampleContact.firstName}, '%' ))</value>
<value>lower(lastName) like lower( concat(#{exampleContact.lastName}, '%') )</value>
</fwk:restrictions>
</fwk:entity-query>
Regards,
Ali Sadik Kumlali
[1] http://www.hibernate.org/hib_docs/entitymanager/reference/en/html/queryhq...
--
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, 7 months
[jbossseam-issues] Managed/Backing Beans in Seam
by Raffi Khatchadourian
I realize that one of Seam's goals is to get rid of the JSF
Managed/Backing Beans and replace them with, instead, EJB. As such, Seam
applications are afforded container managed persistence, including
transaction management. However, is it possible to still have a managed
bean in a Seam application? Let's say that some data being displayed on
a JSF page does not originate from a database? Therefore, I don't need a
full EJB. Any ideas? Thanks!
18 years, 7 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1451) NPE in NodeHome
by Christian Bauer (JIRA)
NPE in NodeHome
---------------
Key: JBSEAM-1451
URL: http://jira.jboss.com/jira/browse/JBSEAM-1451
Project: JBoss Seam
Issue Type: Bug
Components: Wiki
Affects Versions: 1.3.0.ALPHA
Reporter: Christian Bauer
Assigned To: Christian Bauer
Priority: Critical
Can't reproduce this yet on the dev box, only see it in the log of the running live wiki:
java.lang.NullPointerException
at org.jboss.seam.wiki.core.action.NodeHome.createInstance(NodeHome.java:97)
at org.jboss.seam.wiki.core.action.NodeHome.createInstance(NodeHome.java:35)
This can and seems to only happen when a document, directory, or file is edited. I've seen it after editing some files and after editing some documents. The NP is most likely the missing parentDirectory object. This should and can only happen if the NodeHome component can't find the parentDirId request parameter...
Everything seems to work though.
--
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, 7 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1850) The only way to use your resource-bundle, registered in components.xml, is with the key 'messages', f.e. #{messages['label.text']}
by Isabella Kneissl (JIRA)
The only way to use your resource-bundle, registered in components.xml, is with the key 'messages', f.e. #{messages['label.text']}
----------------------------------------------------------------------------------------------------------------------------------
Key: JBSEAM-1850
URL: http://jira.jboss.com/jira/browse/JBSEAM-1850
Project: JBoss Seam
Issue Type: Bug
Components: Core
Affects Versions: 1.2.1.GA
Environment: JBoss 4.2.0 GA / Seam 1.2.1 GA / JSF 1.2 RI / Facelets 1.1.11
Reporter: Isabella Kneissl
The only way to use your resource-bundle, registered in components.xml, is with the key 'messages', f.e. #{messages['label.text']};
I would like to define another key for use in EL expressions, like #{msg['xyz']}.
--
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, 7 months