[jboss-user] [Remoting] - Re: JBREM-877: New Socket Connection is being Created for Ev

2008-01-26 Thread [EMAIL PROTECTED]
Hi Kumarselvan, Are you still experiencing this problem? Thanks, Ron View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123716#4123716 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123716

[jboss-user] [JBoss Seam] - Re: SFSB vs. JavaBean

2008-01-26 Thread msystems
EricJava wrote : [EMAIL PROTECTED] wrote : anonymous wrote : If I put just @Name, it's a POJO, and you're saying it's request scoped? | | | | Yes. | | Waitaminute, looking at the JBoss Seam book (an official JBoss publication), by Michael Yuan and Thomas Heute, on page 320: |

[jboss-user] [Security JAAS/JBoss] - Re: java.lang.SecurityException: Insufficient method permiss

2008-01-26 Thread carcophan
Thank you for your suggestions! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123718#4123718 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123718 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: how can i use *.seam and *.jsf at the same time?

2008-01-26 Thread gringalet
my faces-config.xml like this: ?xml version='1.0' encoding='UTF-8'? | !DOCTYPE faces-config PUBLIC | -//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN | http://java.sun.com/dtd/web-facesconfig_1_1.dtd; | | faces-config | | !-- i18n -- | |

[jboss-user] [JBoss Tools (users)] - Re: code completion not working

2008-01-26 Thread [EMAIL PROTECTED]
which editor do you use to open the .xhtml files ? If not the jboss tools one that is probably why. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123725#4123725 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123725

[jboss-user] [JBoss Tools (users)] - Re: Eclipse Crashes with JBoss Tools

2008-01-26 Thread yj4jboss
Thnx Heaps;0) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123726#4123726 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123726 ___ jboss-user mailing list

[jboss-user] [JBoss Tools (users)] - Eclipse Crashes with JBoss Tools

2008-01-26 Thread yj4jboss
Hi all, I have installed Eclipse Europa (version 3.3.1.1) on Linux (Centos 5 and Ubuntu Feisty Fawn) along with JBoss Tool 2.0.0.GA. On both development systems Eclipse closes down by itself after around 1 hour or so. Any explanation on such behaviour and how I can fix this ? Regards,

[jboss-user] [JBoss Tools (users)] - Re: JBoss 4.3.0 fails to start

2008-01-26 Thread [EMAIL PROTECTED]
ah got it - yes, we need to be able to communicate with the server to verify it is running or not. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123727#4123727 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123727

[jboss-user] [JBoss Seam] - Re: JBoss Seam, a great product that doesn't work :(

2008-01-26 Thread lazar.mihai
anonymous wrote : | You created a web project - so it is deploying as a WAR - right? | Yes it's a war. anonymous wrote : | | | Also what does your Authenticator class look like, and your components.xml. The error is saying that it can't find your Authenticator class/component.

[jboss-user] [JBoss Tools (users)] - Re: Eclipse Crashes with JBoss Tools

2008-01-26 Thread [EMAIL PROTECTED]
http://blog.xam.dk/archives/79-Eclipse-The-Memory-Hog-resolved!.html and http://blog.xam.dk/archives/68-Eclipse-and-memory-settings.html View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123724#4123724 Reply to the post :

[jboss-user] [Installation, Configuration DEPLOYMENT] - at browser, cannot load jboss using http://ip address:8080

2008-01-26 Thread myatthu1986
Hi everybody! When i open browser and type http://localhost:8080/, it display jboss server page. and then when i type also http://127.0.0.1:8080, it display jboss server page correctly. But when i type http://199.7.7.69:8080, it show me the page cannot be display message. I configure browser

[jboss-user] [JBoss Seam] - Re: JBoss Seam, a great product that doesn't work :(

2008-01-26 Thread lazar.mihai
EAR deployment failed :( with something like the message I wrote saying EJBDeployer NotYETINSTALLED View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123733#4123733 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123733

[jboss-user] [JBoss Seam] - JBoss Seam problem with download file big file

2008-01-26 Thread GregTk
I try modify File Servlet from wiki example. Because I need get file from filesystem. My code look: /* | * To change this template, choose Tools | Templates | * and open the template in the editor. | */ | package ru.fuckorama.servlets; | | import javax.persistence.EntityManager;

[jboss-user] [JBoss Seam] - Re: how can i use *.seam and *.jsf at the same time?

2008-01-26 Thread [EMAIL PROTECTED]
Hi, why does it have to be a jsp file? Can't you convert it to an xhtml file? If I were you I would look at the JSF spec and see what context parameters are available. By default it would look for .jsp files but via the: javax.faces.DEFAULT_SUFFIX You change that to xhtml. cheers View the

[jboss-user] [JBoss jBPM] - jBPM BPEL 1.1 GA - should bpel2 samples work?

2008-01-26 Thread caramba1
I'm trying to deploy atm and loan bpel2 samples. I've changed bpel to bpel2 folder in ant build file and get an error for each imported wsdl. My bpel 1.1 processes (namespace ...ws/2004/03/busuness-process) which are working fine under jBPM BPEL 1.1 Beta3 also are not deploying. Is it planned

[jboss-user] [Beginners Corner] - Re: JBoss and IP address

2008-01-26 Thread jaikiran
Use the -b option to start JBoss. See this http://wiki.jboss.org/wiki/Wiki.jsp?page=JBoss42FAQ for more details. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123742#4123742 Reply to the post :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: at browser, cannot load jboss using http://ip address:80

2008-01-26 Thread jaikiran
Use the -b option to start JBoss. See this http://wiki.jboss.org/wiki/Wiki.jsp?page=JBoss42FAQ for more details. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123741#4123741 Reply to the post :

[jboss-user] [Beginners Corner] - Re: Rollback container managed persistence EJB

2008-01-26 Thread jaikiran
Rollback will happen for System exceptions (which extend from RuntimeException). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123743#4123743 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123743

[jboss-user] [JBoss Seam] - Re: SFSB vs. JavaBean

2008-01-26 Thread EricJava
msystems wrote : Must be an error ! Seam POJO's are default EVENT (request) scoped and not conversation or temp. conversation scoped. Indeed: http://docs.jboss.org/seam/2.0.1.CR2/reference/en/html/concepts.html anonymous wrote : By default, JavaBeans are bound to the event context. which is

[jboss-user] [EJB 3.0] - Re: Persistence in EJB3

2008-01-26 Thread jaikiran
Have you created and placed the -ds.xml file for your MySqlDS datasource in the deploy folder of the server? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123745#4123745 Reply to the post :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Configuration JNDI

2008-01-26 Thread jaikiran
anonymous wrote : what lookup I have to put there? The same as for the EJB's? I haven't worked with Entity beans. But, if you are asking where to put the jndi-name for your entity beans, then create a file named jboss.xml and add the following contents to it: jboss | enterprise-beans |

[jboss-user] [JBoss Tools (users)] - How to generate annotated Java classes from hbm.xml files

2008-01-26 Thread baz
Hello, we have a couple of old projects. The mapping is described in hbm.xml files. We wish to migrate this to annotated Java classes. We performed theses steps: 1. We generated a hibernate console configuration for our project. 2. opening hibernate perspective 3. Run / hibernate code generation

[jboss-user] [JBoss Seam] - Re: how can i use *.seam and *.jsf at the same time?

2008-01-26 Thread gringalet
thanks a lot. i used a uploadbean developed by javazoom . they have no xhtml spec in their components. what can i do? i don't know how to upload a file via a xhtml file in jboss seam dvd store example. i believe you would tell me something about that. :) thanks. View the original post :

[jboss-user] [JBoss Seam] - Re: how can i use *.seam and *.jsf at the same time?

2008-01-26 Thread [EMAIL PROTECTED]
If you want to go the XHTML route, you need to define a blabla.taglib.xml for it and add the necessary context parameter for facelets to pick it up. There is info about it here facelets.dev.java.net , in the wiki I think there are taglib.xml files for other libraries you can have a look at.

[jboss-user] [JBoss jBPM] - Re: Cannot build JBPM source from CVS

2008-01-26 Thread pbolle
Hi Ronald, It seems to be that the build problem is more then a more then a “short” refactoring problem. I am using windows XP , ant 1.7 and java 5 and have the same problem since a month. It would be grate if somebody would fix the broken build and add gpd to hudson.jboss.org so

[jboss-user] [JBossWS] - How to change http to https in wsdlsoap:address on WSDL

2008-01-26 Thread [EMAIL PROTECTED]
This is the scenario, there is a JBoss server (S2) behind of Apache server (S1), connected through mod_jk. This Apache server it's again behind a CISCO SSL concentrator. When I request https://www.site.com/app/ws1?wsdl the WSDL showed the next soap address location: service name=ServiceName |

[jboss-user] [Beginners Corner] - Re: Rollback container managed persistence EJB

2008-01-26 Thread [EMAIL PROTECTED]
Thanks for your help View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123753#4123753 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123753 ___ jboss-user mailing list

[jboss-user] [JBoss Messaging] - Re: Jboss messaging - persistance issue for blob data

2008-01-26 Thread 143564
143564 wrote : Now I found my issue. | | Instead of changing the code, i went to clustered-oracle-persistant.xml. then i added a tag | attribute name=UsingBinaryStream false/ attribute | | Now every thing is perfect. | | Thanks | | | View the original post :

[jboss-user] [Beginners Corner] - Re: JBoss and IP address

2008-01-26 Thread mortsahl
Thank you. I'd been using 4.0.4 before ... when I upgraded to 4.2.2 I thought something in my environment must have changed ... didn't think it was JBoss itself (Duh!) ... Now everything works as expected. View the original post :

[jboss-user] [Beginners Corner] - Re: Maven Question

2008-01-26 Thread muhviehstarr
Anyone having a nice solution other than installing the provided jars manually into an own repository? If not, is this planned for the 5.x releases of jboss-as? it would be nice something like: | dependency | groupIdorg.jboss/groupId | artifactIdjboss-as/artifactId |

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: mod_jk intermittently loosing connection to jboss 4.2

2008-01-26 Thread matyd
I also get the same problem. Having looked at http://jira.jboss.com/jira/browse/JBWEB-82 i'm wondering how could i practically use the workaround? i mean, what does it mean to use the jbossnative? BTW, is it possible to run jboss-4.2.2 with normal tomcat instead of jboss-web? View the original

[jboss-user] [JBossCache] - Re: Fails to run on Jboss4.2.2

2008-01-26 Thread emailmsgbox
Ok, So I guest I'm missing something simple here. Can you give me a hint? Any one? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123764#4123764 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123764

[jboss-user] [Testimonials] - Re: Cost of JBOSS migration

2008-01-26 Thread enoxard
i promoted our jboss cluster to production on thursday. our site gets about 50,000 visits per day... not hits, visits. in production, jboss replaced 5 websphere 5.1 machines and apache over 2 ibmihs boxes. include qa, development and staging environments migrated and the count goes to 25

[jboss-user] [JBoss Seam] - Re: Value is not Valid with s:entityConverter and equals an

2008-01-26 Thread sergeypk2
In case anybody is interested, I was hitting a similar problem and here's what was happening in my case: EntityConverter#getAsObject() calls EntityManager#find(), but EntityManager#find() may return a proxy instead of the real object when there's already a proxy for the object in the session.

[jboss-user] [EJB 3.0] - Error with XML-based security and JMX service beans

2008-01-26 Thread javidjamae
I'm running JBoss 5.0.0.Beta3, and when I try to start an application that has EJB security defined in the META-INF/ejb-jar.xml file and a JMX service bean defined via an @EJB annotation, I get the error seen below. Am I doing something wrong? If this is a bug I'll file a JIRA issue and upload

[jboss-user] [JBoss Seam] - Re: Value is not Valid with s:entityConverter and equals an

2008-01-26 Thread sergeypk2
Here's my hacked version of EntityLoader that worked for me: | @Name(org.jboss.seam.ui.entityLoader) | @Scope(STATELESS) | public class CustomEntityLoader extends EntityLoader { | | @Override | protected Identifier createIdentifier(Object entity) { | return new

[jboss-user] [JBoss Seam] - Re: Beginner: Bind SelectOneMenu to @onetoone entity object

2008-01-26 Thread Interista
I have changed it to use SMPC, but I still do get the same problem. Configuration change is: persistence.xml: persistence-unit name=test transaction-type=JTA | jta-data-sourcejava:/test-ds/jta-data-source | properties | property name=hibernate.hbm2ddl.auto

[jboss-user] [JBoss Seam] - Re: Beginner: Bind SelectOneMenu to @onetoone entity object

2008-01-26 Thread nickarls
Just use @In on the entityManager... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123775#4123775 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123775 ___ jboss-user mailing

[jboss-user] [JBoss Seam] - Re: JBoss Seam, a great product that doesn't work :(

2008-01-26 Thread [EMAIL PROTECTED]
From my quick look at it - something is up with your JBoss install. It looks like some of the errors that you posted do not have anything to do with the Seam apps. I can't really look into that more right now - if I get a chance I'll look on Monday. Do other applications, or the Jboss

[jboss-user] [JBoss Seam] - Application-exception handling

2008-01-26 Thread parszab
Hi Seam-Lovers, I'm developing a web interface for an old EJB3 application of ours, and wanted to try Seam to do it. So far I love the tool, but now I ran into a trivial thing that I just cannot resolve, and was hoping that you could pont me in the right direction. So, we had dozens of

[jboss-user] [JBoss Seam] - Send several mail messages in different locales

2008-01-26 Thread rmemoria
Hi all, I'm using SEAM 2.0.1 in JBOSS 4.2.1. I'm trying to send mails to a list of users. Ok... It's covered in SEAM doc. But users may have different locales, and I want to send each user's message in his own locale. Does anybody know how to do that? Regards, Ricardo Memoria View the

[jboss-user] [JBoss Seam] - Re: Value is not Valid with s:entityConverter and equals an

2008-01-26 Thread franck93
anonymous wrote : Here's my hacked version of EntityLoader that worked for me So you just put that in your classpath and thanks to the annotation anonymous wrote : @Name(org.jboss.seam.ui.entityLoader) it gets called automatically?? View the original post :

[jboss-user] [JBoss Seam] - Re: JBoss Seam, a great product that doesn't work :(

2008-01-26 Thread lazar.mihai
Thanks allot Jay. I did do a clean install of JBoss AS, and it finally started to work :). I was using RHDS RC1, and it had a JBoss 4.2.0_CP1. And I was deploying to it. EAR deployment still doesn't work for some reason. War works just fine. Already did some cool things and it all took so

[jboss-user] [JBoss Seam] - Re: JBoss Seam, a great product that doesn't work :(

2008-01-26 Thread lazar.mihai
:-?? How do I say this. The funny thing is .. after I do a post on the forum everything starts working as it should. Must be the air or something, or maybe the late hour.. Although I get those weird Error messages this time around the application started nicely. Did the Seam Generate Entities

[jboss-user] [JBoss jBPM] - Re: Cannot build JBPM source from CVS

2008-01-26 Thread kukeltje
Nice UTF-8 support here, don't you think? I'm updating my tree at the moment and will try a build then Windows 2000, Java 5, ant 1.6.4. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123783#4123783 Reply to the post :

[jboss-user] [JBoss Seam] - Re: JBoss Seam, a great product that doesn't work :(

2008-01-26 Thread EricJava
Well, it says No META-INF/application.xml found. Is there an application.xml file? There needs to be one. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123785#4123785 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: BAM includes forecasting, planning?

2008-01-26 Thread kukeltje
They are not so much 'documents', more like discussions in the forum, some notes in the wiki etc Without going into the the differences between BAM and BI, yes, more info about what you describe could be added. That is why I referred you to the simulation part of jBPM. View the original

[jboss-user] [JBoss jBPM] - Re: Integrating process' execution with external webapps iss

2008-01-26 Thread kukeltje
States are for situations where a process has to wait e.g. for an external trigger. Where that comes from does not matter. It might be a system from a different company with it's own workflow etc... Can be a webapp as well. And yes, actionhandlers do not have any dependency on the webcontext.

[jboss-user] [JBoss Seam] - @Restrict on POJOs?

2008-01-26 Thread EricJava
Looking at the Seam documentation, it says: anonymous wrote : Javabeans may be used just like a stateless or stateful session bean. However, they do not provide the functionality of a session bean (declarative transaction demarcation, declarative security, efficient clustered state

[jboss-user] [JNDI/Naming/Network] - Datasource name binding is behind Web deploy

2008-01-26 Thread jashuan
Hi, I am try to deploy an application that was in Weblogic before for testing. I could not make it to work. There is problem I am facing. I tried to add jboss-web.xml to reference the datasources that are defined in *-ds.xml files. and aslo referenced in web.xml too. I did with several tries

[jboss-user] [JBoss Seam] - Re: Maven2 example application for Seam2

2008-01-26 Thread cory_prowse
I have continued to try and track down the issue and it turns out the problem is with JBoss Embedded. I've ruled out Maven being the problem by providing a command line that shows how JBoss Embedded fails to load the persistence.xml file when multiple _directories_ are given on the classpath.

[jboss-user] [EJB/JBoss] - Migration EJB Question

2008-01-26 Thread iiPing
Hi guys, Questions 1] is it possible to deploy directly an ejb1/jboss2 app to jboss4.2 without a problem? 2] can somebody point me out on the documentation of jboss4.2 migration process? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123793#4123793 Reply to

[jboss-user] [JBoss Seam] - Re: Stateless bean holding data?

2008-01-26 Thread matt.drees
Oberiko wrote : | | | | | @Stateless | | @Name(searchPeople) | | public class SearchPeopleAction implements SearchPeopleLocal { | | ... | | private ListPerson peopleList; | | | | public void search() { | | ... | |

[jboss-user] [JBoss Seam] - Re: @Restrict on POJOs?

2008-01-26 Thread matt.drees
@Restrict works fine on pojos. Maybe the documentation is talking about EJB-style security (which I know nothing about), not Seam security. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123796#4123796 Reply to the post :

[jboss-user] [JBoss Seam] - Re: DataTable invokes bean one time too much

2008-01-26 Thread matt.drees
anonymous wrote : Doesnt JSF just invoke this method one time and then create the datatable? No, not necessarily. You can't predict how often your method will be called, so in general, don't do a lot of stuff in getters. I'd probably use a @DataModel and have your method populate it with a

[jboss-user] [JBoss Seam] - Re: Application-exception handling

2008-01-26 Thread matt.drees
parszab wrote : | So if just someone could tell me where I should look for that in Seam I'd be really grateful! Start looking in ui/src/main/java/org.jboss.seam.ui.validator.ModelValidator.java, though the real cool stuff is in src/main/org.jboss.seam.core.Validators. It's probably only

[jboss-user] [JBoss Seam] - Re: @Restrict on POJOs?

2008-01-26 Thread matt.drees
Cool. I'm using a pojo system with drools security rules, too. I really like drools-based security; Shane did a great job with it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123800#4123800 Reply to the post :

[jboss-user] [JBoss Seam] - Re: @Restrict on POJOs?

2008-01-26 Thread EricJava
That's what I thought. The documentation needs to be corrected or clarified. Declarative security sounds like JBoss Rules-based security, using the @Restrict annotation. I just wanted to confirm that before I build this system on 90% POJOs, because it's going to use Drools security rules for

[jboss-user] [JBoss Seam] - Integration Testing problems with Seam 2.0.0GA

2008-01-26 Thread jeff_skj
I am trying to get testing to work in a seam-gen created project, and keep having the same problem that I cannot figure out. I've tried using the new beta 3 embedded JBoss container and using the bootstrap configuration from the examples (which work fine) but it doesn't work still. I've tried

[jboss-user] [JBoss Seam] - Access UIDatascroller from EAR deployed component

2008-01-26 Thread supernovasoftware.com
I have the following Seam component bound to a richfaces dataScroller. @Name(datascrollerUI) | public class BaseUIDatascroller implements Serializable | { | private static final long serialVersionUID = 884462853355775648L; | | private UIDatascroller datascroller; | public

[jboss-user] [JBoss Seam] - Re: f:converter and maxdigits

2008-01-26 Thread damianharvey
I had a similar problem today but was getting IllegalArgumentExceptions and ClassCastExceptions. For anyone interested below is a basic Float Currency converter. You use it like this: | h:inputText id=myvalue converter=#{floatCurrencyConverter} value=#{mybean.myFloatValue}/ | import

[jboss-user] [JBossWS] - Requirements for JBWS-1813 ?

2008-01-26 Thread Juergen.Zimmermann
Am I correct that JBWS-1813 requires both JBossWS 2.0.3 and JBossAS 4.2.3 ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123807#4123807 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123807

[jboss-user] [JBoss Seam] - Re: f:converter and maxdigits

2008-01-26 Thread damianharvey
I can't stand Java's implementation of currency formats. What user is ever going to remember to type in the correct currency sign? Better off using the basic format and setting the fractions. Small change to the above; in both methods replace the: NumberFormat nf =

[jboss-user] [JBoss Seam] - Testing with Seam managed Hibernate sessions

2008-01-26 Thread hubaghdadi
Hi. I'm trying to create a Seam POJO war application (JavaBeans and entities). For persistence, I'm using Seam managed Hibernate sessions. How to unit testing those classes that get Session object injected into them? (I know how to inject an object in a unit test, but how to boot and get a Seam

[jboss-user] [Installation, Configuration DEPLOYMENT] - JBossAS 4.2.3: Will it ship on Feb. 29 ?

2008-01-26 Thread Juergen.Zimmermann
http://jira.jboss.com/jira/browse/JBAS?report=com.atlassian.jira.plugin.system.project:roadmap-panel shows that JBossAS 4.2.3 will ship on Feb 29. Can I rely on this date? I need the fixes for http://jira.jboss.org/jira/browse/JBAS-4852 http://jira.jboss.org/jira/browse/JBAS-5149 View the

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - How to get a specific number of rows?

2008-01-26 Thread hubaghdadi
Hi. In my application's products table, how to get only the top 10 (for example) items? I'm using PostgreSQL and Hibernate. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123811#4123811 Reply to the post :

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Would this work instead of Hibernate.initialize()?

2008-01-26 Thread hubaghdadi
Hi. The relationship between Team and Player entities is one-to-many. Inside a transaction, to fully initialize the player side we could use: Hibernate.initialize(team.getPlayers()); Well, why not just use: team.getPlayers(); ? Thanks. View the original post :