[JBoss-user] [EJB 3.0] - Re: Problem with Lazy attributes - 4.0.3SP1-EJB3.0RC4

2006-03-16 Thread trofimov
This bug fixed or not? Thanx. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3930630#3930630 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3930630 --- This SF.Net email

[JBoss-user] [EJB 3.0] - Entity and permission

2006-01-12 Thread trofimov
How I can set permission on Entity bean? It's possible? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3917279#3917279 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3917279

[JBoss-user] [EJB 3.0] - Re: Inheritance and Index. How?

2006-01-12 Thread trofimov
Use @org.hibernate.annotations.Table(name = TANLE_NAME, indexes = { | @Index(name = idx_name, columnNames = { name }) | ... | }) | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3917281#3917281 Reply to the post :

[JBoss-user] [EJB 3.0] - Inheritance and Index. How?

2006-01-10 Thread trofimov
I have 3 entity objects, for example: Pet, Cat, Dog. I use @Inheritance(strategy = InheritanceType.TABLE_PER_CLASS). Pes is base class for Cat, Dog. Pet have column Name with @Index(name=xxx). But, when table is create, i recive error: ERROR 10-01 11:05:39,890 (SchemaExport.java:create:258)

[JBoss-user] [EJB 3.0] - Embeddable EJB 3.0 and warning WARN 10-01 15:28:50,890 (Xs

2006-01-10 Thread trofimov
I recive from Embeddable EJB 3.0 warning WARN 10-01 15:28:50,890 (XsdBinder.java:bindGlobalGroup:1097) -NOT HANDLED WILDCARD IN GLOBAL MODEL GROUP and how this message hide? Thanx. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3916802#3916802 Reply to the

[JBoss-user] [EJB 3.0] - @OneToOne and constraint

2006-01-10 Thread trofimov
I have Entity1 and Entity2. Entity1 have ref (@OneToOne) on Entity2. If i remove Enity2, i recive exception ConstraintViolationException. How i can remove Entity2 without: ... | Entity1.setEntity2(null); | em.merge(Entity1.); | em.remove(Entity2); | ... Thanx. View the original post :

[JBoss-user] [EJB 3.0] - Re: JBoss 4.0.3 - EJB 3.0 - Exception caused by UNIQUE const

2005-12-15 Thread trofimov
I have a similar problem. My Slsb have method: | public void addUser(User user) throws Exception { | try { | em.persist(user); | em.flush(); |} catch (ConstraintViolationException e) { | throw new UserAlreadyExistsException( |

[JBoss-user] [EJB 3.0] - java.lang.RuntimeException: org.jboss.tm.JBossRollbackExcept

2005-12-14 Thread trofimov
I have Stateles bean with method: | ... | @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) | public void addUser(User user) throws Exception { | try { | em.persist(user); | } catch (Exception e) { | throw e; | }

[JBoss-user] [EJB 3.0] - Error Timer already cancelled

2005-11-29 Thread trofimov
Sometimes when i deploy ejb3 i get error: --- MBeans waiting for other MBeans --- | ObjectName: jboss.j2ee:service=EJB3,name=org.test.ejb.dao.RoleDAOBean | State: FAILED | Reason: java.lang.IllegalStateException: Timer already cancelled. | What is mean? View the original post :

[JBoss-user] [Security JAAS/JBoss] - Re: Security Proxy in JBoss 4.0.1

2005-11-09 Thread trofimov
Who have solution for this problem? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3906498#3906498 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3906498 --- SF.Net email

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - How deploy several HAR files?

2005-09-27 Thread trofimov
I have deployed HAR file with hibernate-service.xml (use hibernate 3 and JBOSS 4.x) java:/DefaultDS org.hibernate.dialect.PostgreSQLDialect java:/hibernate/SessionFactory org.hibernate.cache.HashtableCacheProvide r create-drop true

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: How deploy several HAR files?

2005-09-27 Thread trofimov
hibernate-service.xml: java:/DefaultDS org.hibernate.dialect.PostgreSQLDialect java:/hibernate/SessionFactory org.hibernate.cache.HashtableCacheProvide r create-drop true View the original post :

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: How deploy several HAR files?

2005-09-27 Thread trofimov
Sorry: | server | mbean code=org.jboss.hibernate.jmx.Hibernate |name=jboss.har:service=Hibernate | attribute | | name=DatasourceNamejava:/DefaultDS/attribute | attribute | | name=Dialectorg.hibernate.dialect.PostgreSQLDialect/attribute |