[JBoss Seam] - Re: What is the timeline for 2.0.1?
by cpopetz
Thanks for the information on the timeline. I'm running with the latest nightly snapshot, which allows me to continue load testing, though I'm reluctant to deploy to production with it.
With regard to the mailing list, I'm not so much looking for development discussions. What I'm interested in is an announcements list for critical issues (security, crashing bugs, bugs that effect the entire framework, etc.) I think that discovering that seam isn't thread safe is a pretty big deal, and the only way I found out was by stumbling upon the JIRA issue for the above-mentioned bug. If I had already deployed seam to production, I'd need to know that bug exists as soon as possible, so that I could roll back. I can filter through seam-issues, but I might miss it, or not recognize the ramifications of a bug as well as someone versed in the code.
If I buy Jboss support, does something like that exist? If the above-mentioned bug had been found in a released (not GA) version of seam, would someone at jboss have made a more concerted effort to get the word out, e.g. a sticky forum post?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113597#4113597
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113597
18 years, 4 months
[JBoss Seam] - Re: hbm2ddl and multiple datasources
by dennisrjohn
Sorry, typo in the persistence.xml, here;s the real thing:
|
| <?xml version="1.0" encoding="UTF-8"?>
| <!-- Persistence deployment descriptor for dev profile -->
| <persistence xmlns="http://java.sun.com/xml/ns/persistence"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
| version="1.0">
|
| <persistence-unit name="customerservice" transaction-type="JTA">
| <provider>org.hibernate.ejb.HibernatePersistence</provider>
| <jta-data-source>java:/customerserviceDatasource</jta-data-source>
| <properties>
| <property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect"/>
| <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
| <property name="hibernate.show_sql" value="true"/>
| <property name="hibernate.format_sql" value="true"/>
| <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.JBossTransactionManagerLookup"/>
| </properties>
| </persistence-unit>
|
| <persistence-unit name="stoneedge" transaction-type="JTA">
| <provider>org.hibernate.ejb.HibernatePersistence</provider>
| <jta-data-source>java:/stoneedgeDatasource</jta-data-source>
| <properties>
| <property name="hibernate.dialect" value="org.hibernate.dialect.SQLServerDialect"/>
| <property name="hibernate.hbm2ddl.auto" value="validate"/>
| <property name="hibernate.show_sql" value="true"/>
| <property name="hibernate.format_sql" value="true"/>
| <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.JBossTransactionManagerLookup"/>
| </properties>
| </persistence-unit>
|
| </persistence>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113589#4113589
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113589
18 years, 4 months
[JBoss Seam] - hbm2ddl and multiple datasources
by dennisrjohn
I have an app that uses a mysql database for all of it's data, and when one particular event happens, needs to update a table in a MS Sql Server database. I'm using the following persistence.xml file:
[code[
<persistence-unit name="customerservice" transaction-type="JTA">
org.hibernate.ejb.HibernatePersistence
<jta-data-source>java:/customerserviceDatasource</jta-data-source>
</persistence-unit>
<persistence-unit name="stoneedge" transaction-type="JTA">
org.hibernate.ejb.HibernatePersistence
<jta-data-source>java:/stoneedgeDatasource</jta-data-source>
</persistence-unit>
Since the Mysql database is my app's database, I want to create-drop the tables, but the other app isn't mine, therefore, I want to validate only.
I have entity classes defined like follows:
| @Entity
| @PersistenceUnit(unitName="customerservice")
| @DiscriminatorValue("5")
| public class TransferInteraction extends CustomerInteraction implements
| Serializable {
|
| private String transferDestination;
|
| @Length(max = 50)
| public String getTransferDestination()
| {
| return transferDestination;
| }
|
| public void setTransferDestination(String transferDestination)
| {
| this.transferDestination = transferDestination;
| }
|
| @Override
| public String toString()
| {
| return "Transfer";
| }
|
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113587#4113587
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113587
18 years, 4 months
[JBoss Seam] - Re: Seam PDF documents and conditional content
by norman.richards@jboss.com
Here are a few ways that work for me:
| <p:paragraph> -------------- </p:paragraph>
|
| <p:paragraph rendered="false">This is a not rendered paragraph</p:paragraph>
| <p:paragraph rendered="true">This is a rendered paragraph</p:paragraph>
|
| <p:paragraph> -------------- </p:paragraph>
| <s:fragment rendered="false">
| <p:paragraph>This is a (not rendred) fragment</p:paragraph>
| </s:fragment>
|
| <s:fragment rendered="true">
| <p:paragraph>This is a (rendered) fragment</p:paragraph>
| </s:fragment>
|
|
| <p:paragraph> -------------- </p:paragraph>
|
| <ui:fragment rendered="true">
| <p:paragraph>ui:fragment rendered</p:paragraph>
| </ui:fragment>
|
| <ui:fragment rendered="false">
| <p:paragraph>ui:fragment not rendered</p:paragraph>
| </ui:fragment>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113585#4113585
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113585
18 years, 4 months