[JBoss-user] [EJB 3.0] - Re: Dependency injection failing

2006-01-27 Thread chochis
Who, changed Jboss version from the one with the .jar installer to the zip + ejb3 distro and then this is working fine. You should check whats going on with you distributed versions View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3919981#3919981 Reply to

[JBoss-user] [EJB 3.0] - Re: Dependency injection failing

2006-01-27 Thread chochis
True, but remember, in the .jar installer the classes are not the same as the ejb3 zip file... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3920061#3920061 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3920061

[JBoss-user] [EJB 3.0] - Dependency injection failing

2006-01-25 Thread chochis
I have 2 codes with dependencie injection through EJB3 notations. Both codes looks the sames: --- @Resource (name=QueueConnectionFactory) public QueueConnectionFactory factory; @Resource (name=queue/TrackingQueue, type=Queue.class) public Queue queue; --- One code

[JBoss-user] [EJB 3.0] - Re: Question about perfomance in persistence of objects

2006-01-19 Thread chochis
You dont have to retrieve the object from the database. Pretty simple: create a Country object and insert the pk: Country country = new Country(); country.setId(2); Then create the person object and insert the contry object: Person person = Person(); person.setCountry(country); Then

[JBoss-user] [EJB 3.0] - Views on MySql = Missing table

2006-01-17 Thread chochis
I am mapping an entity to a view in MySql, the class generator works fine and makes a POJO that maps to the view, but wen deploying it says Missing table Im using connectorJ 3.1.12 and last nightbuild (because of some issues with BIT) View the original post :