persistence.xml
files.
what am i doing wrong, it is a mystery for me?
your help is appreciated,
zilbi
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4199052#4199052
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4199052
anonymous wrote : Are you using JBoss-4.2.x -- YES! (4.2.2.GA)
and
anonymous wrote : does your other jar have a MDB -- YES again
and i was sure i am doing something wrong...
thanks mate!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4199097#4199097
Reply to
solved it!
it turns out that sorting the collection returned from one of the entity's
getters (using collections.sort) make hibernate think i changed the entity.
i cloned the collection before sorting and it is solved - no more update query
when the transaction exits.
cool!
View the
?
is there a way to prevent it (since i know for sure i do not need it)?
is there a way to enjoy lazy load without opening a transaction? (a sort of a
read only trx..)
thanks,
zilbi
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4170384#4170384
Reply to the post
-nameimodeConnectionFactory/connection-factory-jndi-name
|/message-driven-descriptor
|jndi-namePcUpdateMDB/jndi-name
| /weblogic-enterprise-bean
is there a way to do something similar in jboss 4.2 using annotations?
looked for it and could not find it...
your help is appreciated,
zilbi
View
thatYourLocalSession localRef =
context.getBusinessObject( YourLocalSession.class );
| for...
| {
| localRef .update();
| } // end for
hope it helps,
zilbi
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4170434#4170434
Reply to the post :
http
live with that...
thanks again to everyone...
Zilbi
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4138500#4138500
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138500
___
jboss-user
thanks for the help man!
got some new extremely urgent pressured feature to take care of, so i'll get
back to this in a few days...
thanks, it is appreciated.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4137019#4137019
Reply to the post :
thanks,
i think that you are right in understanding the general concept.
however, in my servlet i do:
| WebAuthentication webA = new WebAuthentication();
| boolean flag = webA.login(user, pass);
|
which if i understand correctly is intended exactly for this problem.
also note that
there you go:
| @Stateless
| @Remote(ContactsInviter.class)
| @SecurityDomain(jinni)
| public class ContactsInviterImpl implements ContactsInviter
| {
| private static final Log log =
LogFactory.getLog(ContactsInviterImpl.class);
|
| @EJB
| private
both:
@Stateless
| @Local(CollectionDao.class)
| @Remote(CollectionDao.class)
| public class CollectionDaoImpl extends DaoImplCollection, Long
| {
|
| }
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4136366#4136366
Reply to the post :
Mary Mother of GOD
you are RIGHT!!!
thanks man.
would never think of it by my self...
so the conclusion here is that in jboss 4.2:
if your local and remote interface are actually one;
and your SLSB implements both;
and you use injection rather than a lookup to retrieve it,
you will get the
thanks,
the reason i'm having the remote for now is for my JUnits, i plan to remove
them at production.
as for seam, my web developer just doest like JSF so i will stick to simple
EJBs for now.
cheers
View the original post :
both, and none.
:)
i tried all 3 combinations (only web, only jaas and both) and i get the same
result always.
there must be something else wrong...
but i am quite lost here my friend
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4136456#4136456
Reply to the
yes thanks, i read it before.
but from reading:
http://wiki.jboss.org/wiki/Wiki.jsp?page=WebAuthentication
and
http://roneiv.wordpress.com/2008/02/19/perform-a-jaas-programmatic-login-in-jboss-try-to-solve-the-empty-remote-user-problem/
I was thinking that it will solve the problem.
going back
Hi,
i am new to this, so i apologize if this question is stupid...
have 2 entities with 1 to many relations:
@Entity
| @Table(name = contents)
| public class Content implements Serializable
| {
| private Long id;
| private Integer version;
| ... some more simple fields
Hi Guys,
am trying to develop a website with the regular login feature and also to
enable programmatic login to be used by affiliates via API.
working with jboss-4.2.2.GA i got the first part (using the FORM login) done
fast enough. but i cannot complete the second part...
:(
also added a
17 matches
Mail list logo