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
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
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 :
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)
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
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 :
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(
|
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;
| }
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 :
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
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
hibernate-service.xml:
java:/DefaultDS
org.hibernate.dialect.PostgreSQLDialect
java:/hibernate/SessionFactory
org.hibernate.cache.HashtableCacheProvide
r
create-drop
true
View the original post :
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
|
13 matches
Mail list logo