[JBoss-user] [EJB 3.0] - Re: transactions and distributed transactions in ejb3

2006-07-10 Thread epbernard
remove @TransactionManagement(value = TransactionManagementType.BEAN)

in most case you don't want to handle tx management yourself

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956549#3956549

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956549


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Relationships destroyed at ManyToMany merge on owning si

2006-07-10 Thread epbernard
you don't give enough information. But hibernate does not destroy relationships 
:-)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956548#3956548

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956548


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Javassist throws SecurityException on new 4.0.4GA

2006-07-10 Thread epbernard
change the java command line and add
-Dhibernate.bytecode.provider cglib

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956551#3956551

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956551


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: @EJB

2006-06-02 Thread epbernard
Yes JBoss probably should lazy initialize the session beans. Open a JIRA request

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948764#3948764

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948764


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: 4.0.4.CR2 => 4.0.4.GA @SequenceGenerator now ignored...

2006-06-02 Thread epbernard
Hum, I'm actually realizing right now that we made a mistake on the default 
allocationSize.
It is 50 right now ; while more efficient, this is not the "default" people 
expect

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948762#3948762

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948762


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: 4.0.4.CR2 => 4.0.4.GA @SequenceGenerator now ignored...

2006-06-01 Thread epbernard
@SequenceGenerator(allocationSize=1) is the way to do it property

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948585#3948585

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948585


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Updating instead of deleting

2006-05-31 Thread epbernard
bulk operations are not supposed to handle associations

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948261#3948261

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948261


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: ejb3 and administration console

2006-05-31 Thread epbernard
I don't really understand the tone you use when you actually are asking for 
help.
Do you want people to pass on?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948259#3948259

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948259


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Dependencies between ejb-jar's

2006-05-31 Thread epbernard
entities associated with each other must be in the same persistence unit

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948258#3948258

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948258


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Plain DAO's and @PersitenceContext

2006-05-31 Thread epbernard
Would you explain to me why an internal JNDI lookup is not lightweight? This is 
basically a hashmap lookup.
I stand on my position, use a SB to implement your DAOs

On a design pattern, you have a motivation section (and sometime a context 
section), apply DP only if the motivation and context match.
Java EE 5.0 design patterns are not a copy pastle of J2EE DPs.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948255#3948255

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948255


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: OneToMany fetchtype eager.

2006-05-30 Thread epbernard
org.hibernate.annotations.IndexColumn

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947913#3947913

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947913


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: querying with persited enums throws class cast exception

2006-05-30 Thread epbernard
we need more infos.
The sources are available as part of the SF download I would say.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947912#3947912

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947912


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Performance EJB2 v EJB3

2006-05-30 Thread epbernard
do not test perf with HSQLDB if your target platform is not

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947911#3947911

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947911


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Updating instead of deleting

2006-05-30 Thread epbernard
detail your case please

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947910#3947910

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947910


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: @Local and @Remote on same interface

2006-05-30 Thread epbernard
I thnik @Remote has priority over @Local but this is an implementation detail.
I kinda think having both annotations on the same interface is a code smell.
Transparent remote invocation is a myth, and "clients" should be aware of what 
they are doing

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947909#3947909

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947909


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Bug when transaction rollback ocurrs and caching relatio

2006-05-30 Thread epbernard
yes please

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947769#3947769

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947769


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Using multiple persistence units/EntityManagerFactories

2006-05-30 Thread epbernard
you can use the Hibernate EntityManager specific programmatic API

new Ejb3Configuration();
...

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947767#3947767

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947767


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: @EJB

2006-05-30 Thread epbernard
Why is it so slow?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947761#3947761

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947761


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Plain DAO's and @PersitenceContext

2006-05-30 Thread epbernard
"Hoagiex" wrote : How can I get a plain old DAO to function with the 
@PersistenceContext WITHOUT turning the DAO into a bean of any kind?(since a 
DAO should obviously not be an EJB)
EJB 3.0 SB == POJO
DAO == POJO
EJB 3.0 SB == DAO

Forget what you know about EJB 2.x, be cause it's 'obviously' wrong ;-)


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947759#3947759

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947759


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Hibernate Validator Issue in jboss-seam-1.0.0.CR3 on JBo

2006-05-29 Thread epbernard
Hibernate Annotations display its version number on start up (in an info 
message). I'm almost sure that the embedded EJB3 does not use tha latest 
Hibernate Annotations (ie CR1), esp because Embeddable actually bundles 
libraries.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947418#3947418

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947418


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: @GeneratedValue for non-PK fields

2006-05-28 Thread epbernard
yes,
this case is rare enough for being left out of the spec

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947248#3947248

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947248


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: persistence.xml parsing

2006-05-28 Thread epbernard
Please post a JIRA issue

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947246#3947246

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947246


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: cache problem

2006-05-28 Thread epbernard
if you can post a minimal reproducable test case, please post a JIRa issue, 
that will help us.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947245#3947245

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947245


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Malformed URL Exception trying to access EJB 3.0 remote

2006-05-28 Thread epbernard
"kimbaltrue" wrote : I may have found my answer, but I'm not sure I like it. 
Apparently, you can't eagerly fetch OneToMany relationships. I had two such 
fetchs because I'm using disconnected entites, and had to make sure record sets 
were available.
  | 
  | How do I eagerly fetch OneToMany relationships?
use @Fetch(subselect)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947244#3947244

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947244


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: @Lob doesn't clean up large objects on PostgreSQL?

2006-05-28 Thread epbernard
so doing delete from MyTable does not delete lobs on postgreSQL?!

Then PostgreSQL needs to be fixed

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947243#3947243

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947243


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: EJB3 Specification...

2006-05-28 Thread epbernard
you shouldn't see much difference with the RC7

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947242#3947242

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947242


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Error with @EntityListeners

2006-05-28 Thread epbernard
dunno, you either have some old ejb3 annotations in your CP or the vm is going 
crazy

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947241#3947241

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947241


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Change the default value to Eager

2006-05-28 Thread epbernard
1. simulate the transaction boudaries / session lifecycle in your test boudaries
2. use JBoss Embeddable eJB3  in your unit test

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947240#3947240

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947240


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Hibernate Validator Issue in jboss-seam-1.0.0.CR3 on JBo

2006-05-26 Thread epbernard
Show me the stacktrace please with the new syntax

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946975#3946975

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3946975


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: RC6-PFD broke mappedBy and GenericGenerator workaround?

2006-05-23 Thread epbernard
http://fisheye.jboss.org/viewrep/Hibernate/trunk/HibernateExt/metadata/src/test/org/hibernate/test/annotations/onetoone/OneToOneTest.java
Look for testForeignGenerator

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945905#3945905

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3945905


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: RC6-PFD broke mappedBy and GenericGenerator workaround?

2006-05-23 Thread epbernard
This was not really meant to work previously. What should work is


  | Owner{
  |  @OneToOne(fetch=FetchType.LAZY, cascade=CascadeType.ALL)
  |  @PrimaryKeyJoinColumn
  |  public Employment getEmployment() { return employment; }
  | }
  | 
and

  | Employment {
  | @Id
  | @GenericGenerator(name="fk", strategy="foreign", parameters={ 
  |@Parameter(name="property", value="owner")
  |  })
  |  @GeneratedValue(strategy=GenerationType.AUTO, generator="fk")
  |  @Column(name="owner_id")
  |  public Long getId(){ return id; }
  | 
  |  @OneToOne(mappedBy="employment")
  |  public AccountOwner getOwner(){ return owner; }
  | }
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945809#3945809

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3945809


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: ORM: Schema updates in productive environments with anno

2006-05-23 Thread epbernard
SchemaExport works with hibernate annotations

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945763#3945763

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3945763


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: @ManyToOne or @OneToOne using @JoinTable and @Inheritanc

2006-05-23 Thread epbernard
please attach a reproducabnle minimal testcase to jira.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945762#3945762

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3945762


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Unable to locate UserTransaction in 4.0.4GA

2006-05-23 Thread epbernard
We need more info

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945759#3945759

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3945759


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: PersistenceUnitInfo.getNewTempClassLoader() is null.

2006-05-23 Thread epbernard
Note that other EntityManager implementations may fail because of that though

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945758#3945758

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3945758


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: PersistenceUnitInfo.getNewTempClassLoader() is null.

2006-05-23 Thread epbernard
This is not a huge problem for Hibernate EntityManager and should not impact 
you unless you use ORM.xml files AND do not list all the entities in the 
persistence.xml

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945756#3945756

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3945756


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Change the default value to Eager

2006-05-23 Thread epbernard
no because it would be a really really bad idea to not lazy

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945753#3945753

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3945753


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Migration 4.0.4.CR2 -> 4.0.4.GA problem

2006-05-23 Thread epbernard
Use either:
Set
List with an explicit @IndexColumn

rather than a bag semantic collection like Collection.

I usually make sense for 99% of the domain models

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945750#3945750

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3945750


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Error with @EntityListeners

2006-05-23 Thread epbernard
I got it working on my unit test (ie the version bundled with 4.0.4.GA

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945746#3945746

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3945746


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: could not register synchronization with JTA TransactionM

2006-05-22 Thread epbernard
You are not using the entity manager at all here. A har means an Hibernate 
Session, not an EJB3 EntityManager

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945398#3945398

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3945398


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Why cant JBoss 4.0.4 GA deploy these Beans?

2006-05-19 Thread epbernard
There sould be a cause somewhere in the logs

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945026#3945026

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3945026


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Why cant JBoss 4.0.4 GA deploy these Beans?

2006-05-19 Thread epbernard
define fails

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945003#3945003

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3945003


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: could not register synchronization with JTA TransactionM

2006-05-19 Thread epbernard
Are you usre you use the latest version and do not override the hibernate 
transaction factory? The Default JoinableCMTTransactionFactory should not 
behave like this.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945000#3945000

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3945000


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: could not register synchronization with JTA TransactionM

2006-05-19 Thread epbernard
you also must stop using the entity manager when an exception occurs

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945001#3945001

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3945001


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: could not register synchronization with JTA TransactionM

2006-05-19 Thread epbernard
what is the context?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944907#3944907

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944907


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Persistence context scope and @EJB injection

2006-05-19 Thread epbernard
cool thanks for tracking it down. Open a ira issue, while this might not be a 
bug per se, that's interesting to track down this remote preference :-)


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944906#3944906

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944906


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: @AttirbuteOverride and unique contraints

2006-05-19 Thread epbernard
I have some unit tests for that but if you can build a minimal runnable test 
case to reproduce it, I'll have a look. Be sure to use the latest versions.

http://opensource.atlassian.com/projects/hibernate/secure/Dashboard.jspa

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944904#3944904

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944904


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Why was this

2006-05-18 Thread epbernard
ahem
Do you read the javadoc of the methods you use?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944785#3944785

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944785


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Problems with EntityManagerFactory

2006-05-18 Thread epbernard
these properties are not overridable at all, where did you see that it's 
possible?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944783#3944783

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944783


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Cascade problem

2006-05-18 Thread epbernard
true by the very definition of mappedBy

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944781#3944781

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944781


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: lazy initialization leads to org.hibernate.LazyInitializ

2006-05-18 Thread epbernard
The framework you're looking for is JBoss Seam

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944779#3944779

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944779


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: executeUpdate problem- (bug?)

2006-05-18 Thread epbernard
I'm not able to reproduce (except that I don't know what 'ne' is).
If you can reproduce then write down a minimal test case and post it to JIRA.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944778#3944778

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944778


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: EJB3 on database views

2006-05-18 Thread epbernard
this is just like a table


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944758#3944758

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944758


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Open Session in View in EJB3

2006-05-18 Thread epbernard
if you can wrap that in a minimal reproducable test case, please post a JIRA 
issue

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944741#3944741

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944741


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Migration 4.0.4.CR2 -> 4.0.4.GA problem

2006-05-18 Thread epbernard
This is not a bug.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944696#3944696

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944696


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: ENTITY BEAN WITH SELF RELATIONSHIP

2006-05-18 Thread epbernard
@Entity
public class Employee {
  @Id private Integer Id
  @ManyToOne Employee manager;
  @OneToMany(mappedBy="manager") Set team;

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944693#3944693

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944693


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Using Ejb3Configuration()

2006-05-18 Thread epbernard
put ehcache in your classpath or choose another hibernate.cache.provider_class 
(check the hibernate documentation for more info)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944691#3944691

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944691


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: need help w/ a simple @OneToOne :(

2006-05-18 Thread epbernard
mappedBy has to be on one side only of a bidirectional relationship. ie the 
inverse side in hibernate.

@OneToOne
User getUser();



@OneToOne(mappedBy="user")
Customer getCustomer()

Seems to be what you want

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944688#3944688

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944688


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: exception when loading dependent objects

2006-05-18 Thread epbernard
no that's the worse ;-)
The alternative is to:
 - use the HQL query to load exactly what you need by using the fetch keyword
 - touch the collections or association state (ie parent.getChildren().size() 
to force a colelction or association load
before passing back the object.

Actually by copying the object, you ended up doing option 2.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944686#3944686

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944686


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Persistence context scope and @EJB injection

2006-05-18 Thread epbernard
if you can provide a minimal test case, post it to JIRA

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944613#3944613

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944613


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: how to catch the OptimisticLockException in ejb3

2006-05-18 Thread epbernard
em.flush() after remove

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944611#3944611

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944611


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: EJB3 Table creation / dbunit problems

2006-05-18 Thread epbernard
this seems to be a limitation of DBUnit.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944610#3944610

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944610


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: JBoss 4.0.4: Warning in Ejb3Configuration

2006-05-18 Thread epbernard
it is if you use orm.xml files and if you do not list your xml described 
classes in persistence.xml. If you're a pure annotations player, no worries.

Toplink just don't work in this case.

This is a reminder for Bill.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944608#3944608

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944608


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: @OrderBy does not work as expected?

2006-05-18 Thread epbernard
should be fixed in the latest release which one are you using?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944607#3944607

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944607


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: exception when loading dependent objects

2006-05-18 Thread epbernard
the persistence context by default live for the duration of the transaction. 
Load your needed informations before crossing such boundaries

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944604#3944604

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944604


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: The query generated by refresh method

2006-05-18 Thread epbernard
the latest release should have resolved that

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944602#3944602

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944602


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: jboss-4.0.4.GA problem: @OneToMany annotation targeting

2006-05-18 Thread epbernard
use a @CollectionOfElements

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944600#3944600

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944600


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: PersistenceUnitInfo

2006-05-17 Thread epbernard
http://jira.jboss.com/jira/browse/EJBTHREE-572

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944256#3944256

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944256


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: executeUpdate problem- (bug?)

2006-05-09 Thread epbernard
Are you *sure* there is no "," in your own code?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3942374#3942374

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3942374


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Entity Beans in 3.0 not persisting property changes

2006-05-09 Thread epbernard
yes this is done declaratively through @TransactionAttribute

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3942373#3942373

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3942373


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Entity Beans in 3.0 not persisting property changes

2006-05-08 Thread epbernard
"raygeeknyc" wrote : I have an entity bean that I am deploying in CR2, I am 
finding that the beans I instantiate via the EntityManager (ie a query returns 
them) are kept in sync with the database but when I create new instances 
outside of the persistence context and then use the Entity Manager persist (or 
merge) methods, they are added to the database but later changes to these 
beans' properties are not persisted.
  | 
  | for example
  | 
  | BeanType b = new BeanType();
  | b.setX(1);
  | em.persist(b);
  | b.setX(2);
  | 
  | After this the database contains 1 in the column mapped to by properrty X, 
whereas I expected it to contain 2

It should work. Remember that you must have a running db transaction though.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3942061#3942061

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3942061


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: EJB 3.0 and Stored Procedures

2006-05-04 Thread epbernard
it depends on your driver / connection pool / DB, so it's better to actullay 
write a decent benchmark at home.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941441#3941441

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3941441


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: EJB 3.0 and Stored Procedures

2006-05-03 Thread epbernard
How is a stored procedure slower than a prepared statement?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941086#3941086

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3941086


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: DAO-JDBC vs. EJB3

2006-04-28 Thread epbernard
"kowal7" wrote : Hi,
  | My company uses for persistance DAO-JDBC, but we are going to change it to 
EJB3. I have a question. Is EJB3 persistance performance as good as DAO-JDBC? I 
did some tests and they show that DAO-JDBC is better in reading data ten times. 
What do you think? Should we change our persistance engine?
  | 
  | Thanks
  | Chris
  | 
  | ps. Sorry for mistakes.

http://www.hibernate.org/15.html

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940273#3940273

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940273


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Hibernate dialect via DS

2006-04-13 Thread epbernard
Like I said it actually is implemented already for most databases.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937294#3937294

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3937294


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Data Retrieval Performance

2006-04-09 Thread epbernard
"ejb3workshop" wrote : I think the short answer is yes. I would not recommend 
EJB3 persistence to be used for report generatation, which typically requires 
large datasets to be loaded and processed. Vanilla SQL can perform a much 
better job at that and provides more flexiblity.

EJBQL Report queries are as fast as SQL report queries. Projection has been 
introduced for that.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936081#3936081

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936081


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Tutorial: Integrating EJB3.0 into JBoss AS 4.0.4.CR2

2006-04-04 Thread epbernard
CR is the OSGi standard convention for version naming

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934606#3934606

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934606


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Unexpected scan path for in persistence.xml

2006-04-04 Thread epbernard
open a jira issue, I'm not sure this is expected

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934611#3934611

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934611


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: deploy EJB3.0 with EJB2.1

2006-04-04 Thread epbernard
I don't know about your specific issue, but that is supposed to be possible. 
Maybe Bill can give you some lights

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934615#3934615

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934615


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Shared Memory in EJB Container

2006-04-04 Thread epbernard
I don't know what you mean by coherence, but I would say no

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934612#3934612

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934612


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Force Lazy Fetch on One-Many

2006-04-04 Thread epbernard
It should work, I've hard time to believe you

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934614#3934614

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934614


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: setting fetch depth

2006-04-04 Thread epbernard
persistence.xml, 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934613#3934613

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934613


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: history table (before insert / trigger?)

2006-04-04 Thread epbernard
envent listener are fine, this is not EJB3 standard, that's all.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934610#3934610

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934610


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Container will hang when persisting a large number of ob

2006-04-03 Thread epbernard
hard to say, you don't give a lot of info.
We've made some flush() speed progress though in this area in the latest 
version.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934436#3934436

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934436


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Adding children that do not exist.

2006-04-03 Thread epbernard
Search the forum.
Use a Set which makes sense from a business perspective or
do not EAGER more than one Collection (ie bag semantic) per resultset: this is 
not conceptually possible

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934434#3934434

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934434


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Attaching and dettaching EJB3 Entities

2006-04-03 Thread epbernard
Actually LazyInitializationException will be replaced by 
EntotyNotFoundException in a future release of HEM, but this does not mean 
Hibernate.jar will not be required on the client side.
Your programmation model is POJO.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934426#3934426

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934426


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: EmbeddedId and GeneratedValue

2006-04-03 Thread epbernard
check the test suites this definitely works.
If you don't use DDL generation, you'll have to create the increment table 
yourself before running the app

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934424#3934424

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934424


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Shared Memory in EJB Container

2006-04-03 Thread epbernard
it does not keep the conversation state, this is what Stateless Session Bean 
means

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934423#3934423

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934423


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Shared Memory in EJB Container

2006-04-03 Thread epbernard
@Stateless
public class SomeStuffImpl impelments SomeStuff {
  private Map countriesSharedByEverybody;
  
  public Country getcountry(String name) {
if (countriesSharedByEverybody == null) initialize();
return countriesSharedByEverybody.get(name);
  }
}
  

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934422#3934422

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934422


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: EmbeddedId and GeneratedValue

2006-04-03 Thread epbernard
the one provided by the spec :-)
TABLE is very efficient, clean and respectful of your Tx concurrency.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934290#3934290

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934290


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: PersistenceContextType.EXTENDED does not work ??

2006-04-03 Thread epbernard
You get this behavoir because of that
@TransactionAttribute( TransactionAttributeType.REQUIRES_NEW )
public class BasicImport implements ImportTool {

Why did you set up requires new?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934285#3934285

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934285


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: NamedQuery or Facade-Bean with Finder methods?

2006-04-03 Thread epbernard
using named queries allows hibernate to check them at start time and precompile 
them.
This will be slightly faster

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934292#3934292

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934292


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: OS/400 - EJB3 Entity Beans: java.lang.NoClassDefFoundErr

2006-04-03 Thread epbernard
weird, you're running the IBM Java5 compliant VM?
If so you might want to try to recompile from the source using IBM jdk.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934274#3934274

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934274


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: ejb3 best practice question

2006-04-03 Thread epbernard

  | @PersistenceContext(type=EXTENDED)
  | private EntityManager em;
  | 
  | @EJB
  | private MessageDAO messageDAO;
  |
  | @Factory("messages")
  | public void findMessages()
  | {
  |   messages = messageDAO.findAll();
  | }
  | 


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934287#3934287

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934287


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Hibernate-Validator and

2006-04-03 Thread epbernard
fixed in SVN

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934286#3934286

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934286


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: NamedQuery or Facade-Bean with Finder methods?

2006-04-03 Thread epbernard
I don't really understand, somehting has to execute your queries, right?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934284#3934284

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934284


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Attaching and dettaching EJB3 Entities

2006-04-03 Thread epbernard
"ppc" wrote : "[EMAIL PROTECTED]" wrote : This is normal. Put the jars on the 
client.
  | 
  | Normal? why the client should know about _hibernate_ when the object should 
a  POJO?
  | 
  | only to got org.hibernate.LazyInitializationException ??
  | 
Useful for collections too (especially DELETE_ORPHAN collections)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934282#3934282

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934282


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Shared Memory in EJB Container

2006-04-03 Thread epbernard
if you want a per user state, use a Stateful Session Bean
if you want a per app state, you can probably use a Stateless Session keeping 
the state

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934279#3934279

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934279


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: NamedQuery or Facade-Bean with Finder methods?

2006-04-03 Thread epbernard
this is not really exclusive

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934275#3934275

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934275


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: upgrade to JBoss 4.0.4RC1, ERROR

2006-04-01 Thread epbernard
http://hibernate.org/371.html, there were an extra 4, my mistake

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934134#3934134

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934134


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   3   4   >