[JBoss-user] [Persistence & CMP/JBoss] - Re: auto-increment problem

2004-11-11 Thread joerage
Thanks for your answer. I changed my standardjbosscmp-jdbc.xml as follows: | java:/MSSQLDS | | | true | false | false | 30 | false | true | true | foreign-key | | on-load | 1000

[JBoss-user] [Persistence & CMP/JBoss] - CMR Collection to ArrayList

2004-11-10 Thread joerage
Why can't I cast a CMR Collection into an ArrayList? private CompanyDetail copyCompanyToDetail(CompanyDetailLocal userLocal) { | CompanyDetail detail = null; | try { | detail = new CompanyDetail(); | detail.setId(userLocal.ge

[JBoss-user] [Persistence & CMP/JBoss] - auto-increment problem

2004-11-10 Thread joerage
Hi, i am using JBoss with SQL Server. I am trying to use the auto increment feature, but I cannot make it work. Here is my bean: | /** | * Return the user id. | * @return the userId | * @ejb.persistent-field | * @ejb.interface-method | * @jboss.persistenc

[JBoss-user] [Persistence & CMP/JBoss] - Re: javax.naming.NameNotFoundException: ejb not bound

2004-11-08 Thread joerage
Forget about that, i found my (stupid) mistake! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854319#3854319 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854319

[JBoss-user] [Persistence & CMP/JBoss] - javax.naming.NameNotFoundException: ejb not bound

2004-11-08 Thread joerage
Hi, I have a problem locating the home interface of my ejb. The beans seem to deploy without errors on the app server. Here is the code I use: private UserDetailHome lookupUser() throws NamingException { | | Context context = new InitialContext(); | Object objr