mySQL instead of MYSQL in jbosscmp-jdbc.xml
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3919495#3919495
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3919495
---
T
I have encountered the same kind of problem with JBoss4.0.3SP2, when I replaced
hibernate3.jar in the lib folder with the newer one. DB is Oracle 10g. So maybe
it doesn't work that way..
The reason, why I'm trying this at all, is that we have very serious problem
with the combination of JBoss+H
Hello,
For completeness, this problem has been solved.
The cause was that my own implementation of ManagedConnectionFactory (in the
resource adapter) was not serializable.
As pointed out in this forum-topic:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=75635
Bruno
View the original
I'm experiencing exactly the same error, however I'm unable to resolve it by
switching to the 10g ojdbc14.jar driver (tried with both 10.1.0.4 and
10.2.0.1.0). I'm using an Oracle 9.2.0.4 database, with 9.2 and 10.2 client.
If anyone has come across an alternative solution or a workaround for th
I havn't found a solution, I don't think there is any solution, I've tried
about half a dozen approaches. It seems to me the EJB 2.0 spec is fundamentally
broken in disallowing the setting of relationships, and jboss is broken in that
the insert-after-ejb-post-create work around doesn't work. (I
Hi,
If you found the solution I would be really interested to know it as I'm having
exactly the same problem and I still don't know how to solve it except to
temporarily disabling the foreign key constraints in oracle which is
definitively NOT a solution !!
View the original post :
http://www
rpa_rio,
I'm not sure if you have found an answer for your question, but hopefully I can
help. This took me a pretty minute to figure out. I use XDOCLET to generate
all the helper classes and setup XML. Of course, your mileage may vary.
The brief setup looks like:
I did the following for m
OK, as usual, the docs are completely lacking.
Here is what worked.
In META_INF/persistence.xml in the .par file:
|
|
hibernate_config.xml goes in the root level in the .par file. It contains:
|
| http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";>
|
|
Using the Lucene API is not the problem. Looks fairly simple to get going.
The problem is that it says that you can set up annotations to have Hibernate
automagically maintain a Lucene index without writing a single line of Java!
In fact, as well as hooking automatic Lucene updates in, you shoul
Just read the documentation of Lucene at http://lucene.apache.org/java/docs/.
You may find down the Lucene index update. As my memory is good, you need to
look up the index field name in the lucene indexed file and you can update it.
Tvan
View the original post :
http://www.jboss.com/index.html
You cannot modify the *-ds.xml without redeploying the application that makes
use of DataSource.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3918064#3918064
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3918064
--
Well I moved around a few table-filter entries in xml file and the table I
wanted filtered got filtered. My sequence of setup was wrong...I moved the
elimination lines atop and it worked.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917964#3917964
Reply to
Remark:
In debugging time into the first step getSearchCriteria()
what happens is the following
My "contains" variable has a string value: "DEPP" , so it seems to go ok
adding the restriction, and it also returns me that "searchCriteria" .
View the original post :
http://www.jboss.com/inde
[/img]anonymous wrote :
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917866#3917866
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917866
---
This SF.net email is
You can try making the connection timeout property as 0,so that the connectio n
never times out.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917846#3917846
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917846
---
Hi,
I have almost the same Problem. When I deploy the my cmp ejbs in 4.0.3 sp1 (the
version that comes with Portal 2.2) I get the error that the container trys to
alter the table of the ejb. Although the table did not change. I am using
xdoclet.
In the beginning when I only had a very simple be
i found out that this is happening because the class is not proxied.but why
the session beans of the .ejb3 jar deployed in my ear are proxied and the .ejb3
jar deployed directly in the deploy directory of jboss is not proxiedhow
can i proxy it ???
please help,
chelaru.viorel
View t
That was a good hint! Netbeans also generates the wrong primary key. Although I
knew it, I just went over that and didn't think about it when searching for the
cause.
THX!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917528#3917528
Reply to the post :
ht
Fixed: Just do not use a multiple primary key but an automatic ID with unique
constraints.
@Entity
@Table(uniqueConstraints = [EMAIL PROTECTED](columnNames={"system", "type",
"starttime"})})
public class Log implements Serializable {
...
@ManyToOne
@JoinColumn(name = "system")
"cbredesen" wrote :
| - Did you copy commons-collections.jar to the hibernate deployer service
directory like the getting started guide suggests?
|
Thanks, that worked for me. I've now got:
jboss.har
* service=HARDeployer
* service=Hibernate
In the JMX Console window.
View the o
OK,
http://jira.jboss.com/jira/browse/JBAS-2643
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916677#3916677
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916677
Create a bug report and attach your entity bean descriptor fragments:
http://jira.jboss.com/jira/browse/JBAS
If isStateValid() == false the field should be getting persisted, and in your
case persisted even when not needed. The isStateValid check is to determine if
the map has been modified with
works! thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916274#3916274
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916274
---
This SF.net email is sponsored
I would guess the server/xxx/data/hypersonic directory contents are corrupt.
Just remove the entire data directory and it will be recreated.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916248#3916248
Reply to the post :
http://www.jboss.com/index.html?mod
found it !!!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916120#3916120
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916120
---
This SF.net email is sponsored b
Thanks for your repy manucet. If what you say is true (i'm convinced it is ;P)
then that would be a major shortcomming of EJB2.0.
Luckily i already made a 'workaround' for the issue: i simply created an extra,
autoincremented, primary key field and let the foreign keys just be the foreign
keys
I read in the sun forums that in EJB 2.0 you cannot have a primary key that
contains a field that takes part in a relationship i.e the foreign key. This is
in case of a one to many relationship. In a one to one relationship it is
possible.
Hope this helps
manu
View the original post :
http://
oracle 9.x
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3915829#3915829
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915829
---
This SF.net email is sponsored by:
what db you have using?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3915620#3915620
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915620
---
This SF.net email is
has anyone seen this issue before ? please advise
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3915614#3915614
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915614
---
Oh, and in case it helps any, this is JBoss 4.0, Hibernate 3.1 and DB/2 8.1.0
being used.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3915419#3915419
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915419
---
It should be well known that only local ejbs can participate in relationships,
so I guess its not something we have tested. I have created a feature request
to provide better feedback.
http://jira.jboss.com/jira/browse/JBAS-2625
View the original post :
http://www.jboss.com/index.html?module=b
Okay, it seems the problem was that I can't have relationships with remote
interfaces. I had to change them to local interfaces. Why JBoss can't give a
better error than NullPointerException I don't know.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3915407
I am interested too in the new configuration of jdbc2 pm using the version
column for the optimistic lock state.
Have you found a solution?
Erez
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3915212#3915212
Reply to the post :
http://www.jboss.com/index.h
I have found the sollution of my problem. An ejb-ql query is (obvious??) not
in terms of table.column but in terms of object.attribute. So the correct query
is:
| * @ejb.finder signature = "nl.muntpost.interfaces.StockArticle
findByArticle(java.lang.String article)"
| *
An addition: could it have anything to do with the fact the "article" is a CMR
field (for which the table in which the StockArticles are stored has a column
"article")?
TIA
Joost
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3915152#3915152
Reply to the po
Hi Simon,
I'm having a problem similar to the one you had a year ago. I'm with JBoss
4.0.3 and having some CMP 2.0 deployed and when inserting I get the
javax.ejb.CreateException: Primary key for created instance is null error.
On creation I always pass a null value as I did put the oracle se
Hi all,
Everything works fine setting a transaction timeout bigger than default one.
I set the transaction timeout to 3600 seconds.
Cheers.
Stefano
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914697#3914697
Reply to the post :
http://www.jboss.com/index.
Hi all,
i just tryed to increase the timeout size in the file transaction-service.xml
but it doesn't work.
The original value was 300 and i put 2.
Still, i got no errors ( it seems that everything is fine) but i don't find any
data saved in my database.
I hope someone will help me.
Cheers.
i solved the problem, it's seemed that domain classes deployed to *.har can not
be deployed to the war again. classloader issue.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914534#3914534
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=po
The *.har be deployed ok.
use a test.jsp such as:
<%@ page import="javax.naming.*" %>
| <%@ page import="net.sf.hibernate.*" %>
|
| <%
| InitialContext ctx = new InitialContext();
| SessionFactory factory = (SessionFactory)
| ctx.lookup("java
I have the same problem.
I Use JBoss AS 4.0.3 SP1 + JBossHibernate2.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914530#3914530
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3914530
Sorry about the mispost; this should allow you to read the examples I provided.
Unfortunately, I'm having trouble posting my example without the text
vanishing, os please bear with me:
Hi there. I'm using Hibernate with Spring and JBoss, and am having problems
with lazy loading. I'm using XDo
Its been scheduled.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914250#3914250
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3914250
---
This SF.net email is spon
Solution can be found on:
http://jira.jboss.com/jira/browse/JBAS-1366
There's a patch of JDBCStartCommand.java, rebuild with this and you're in
business :-)
I used it in version 4.0.3SP1 and it works fine.
I hope JBoss will incorporate the patch in the next update?
Cheers, Roel Plieger.
View th
Some people advise to adjust min-pool-size and max-pool-size.
If you use more connections (either because you need this many, or because you
forget to close them (didn't guard connection usage with try/finally for
example), or even because of error in vendor's implementation of connection
pool)
The sequences are allright, and there is no data inserted without jboss...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914176#3914176
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3914176
--
Hi,
have a look at your Sequences.
Is there any data in the database which wasn't inserted by JBoss?
You have to specify the sequence for each entity. Otherwise JBoss will use the
hibernate_sequence which starts at 0 per default.
View the original post :
http://www.jboss.com/index.html?module=bb
One additional piece of information: sometimes, the stalled request eventually
fails and produces this exception:
| java.sql.SQLException: Closed Connection
| at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
| at oracle.jdbc.dbaccess.DBError.throwSqlExcep
Anyone?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3913933#3913933
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3913933
---
This SF.net email is sponsored by: Sp
Has anybody found the solution to this problem? Even after increasing the
timeout and the resetting the SpecCompliant attribute, I am not being able to
solve the problem. Jboss version is 3.2.3.
Please help.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3913
Well I fixed the problem! You have to create an ehcache.jar which contains
your EHCache.xml. In JBoss you have to put it in server/servername/lib. I
tried various places such as inside my application, outside it, etc, but if you
put a jar inside the lib folder everything works fine!
View the
Thank you guys, I appreciate it! It solved my problem.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3913353#3913353
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3913353
--
Hi,
i am using db2 database,when i make connection by hibernate tool to my
database then it gernerates hibernate.cfg.xml file. and after i am doing
reverse engineering then it gives following exception :
org.hibernate.exception.JDBCConnectionException: Reading from database
org.hibernate.
Hello,
Something I forgot to mention in the previous post is that (de)serializing the
mentioned dialog object works just fine in a stand-alone application using the
following code:
| ByteArrayOutputStream bs = new ByteArrayOutputStream();
| ObjectOutputStream os = new ObjectOutputStream(bs)
I've looked at both JBoss and Hibernate source, and I am thinking the quick
answer is NO. At least in JBoss 4.0.3.
Currently, the JBoss Hibernate MBean uses a Configuration object to initialize
the session factory. In order to support annotations, it will need to use an
AnnotationConfiguration
We didn't get any help from the JBoss people. We did create our own
connectionProvider to return the connections. We used ThreadLocal variables to
set database session information as each connection was retreived. That meant
that we had to use "after_statement" release_mode in hibernate, which i
success.
change jboss-hibernate.deployer folder from the deploy directory into other dir.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912763#3912763
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912763
---
please ignore this post entirely!! it was a stateful bean in which there was a
java.sql.Connection which is could not passivate...
Anyways the only complain I have now is that it could have atleast told me that
on the stack trace somewhere... but nevertheless all is well that ends well
View t
refer to the below links for info on removal of har deployer and deploying har
files in ver 4.0.3.
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHibernate3
http://jira.jboss.com/jira/browse/JBAS-2000#action_12321886
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=67027
View the original
Managed to solve this problem.
-->deleted hibernate3.jar, jboss-hibernate.jar from default/lib
-->placed jboss.hibernate.deployer (versaion 2.1) in deploy folder.
Application deploys fine.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912712#3912712
Reply t
could you try deleting jboss-hibernate.deployer folder from the deploy
directory. I think jboss has removed the har deployer and built it's
functionality into one of the other deployers. Also place all the jar files
that are present in jboss-hibernate.deployer in the lib folder of the
appropria
I'm facing same problem!!! I'im frustrated.
Did you know a solution?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912638#3912638
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912638
I guess the answer is - give up on JBoss?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912571#3912571
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912571
---
Thi
Thank YOU!!
Replacing ? with {0} worked like a charm!
In the future, perhaps a JBoss could upgrade its validation of declaredSQL in
the deployment descriptors. JBoss generates the correct SQL, but does not
implement the 'parameter replacement' properly, which ends up with weird vendor
speci
found it
i had misspelled
id
as
id
Strange thing ,the EJB deployed .. It should have been caught while deploying -
maybe.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912401#3912401
Reply to the post :
http://www.jboss.co
Hello,
I think that your
|
|
should be
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912368#3912368
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912368
I am also facing the same issue, if you know the solution pls let me know.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912333#3912333
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912333
--
Hello,
Just Wonder if you have solved this problem. I have the same problem you had -
I tried using Oracle VPD and Hibernate, but had the same problem.
Cheers
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912291#3912291
Reply to the post :
http://www.jb
sorry i forgot:
Jboss SP1
EJB 3.0
Postgres 7.4
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912258#3912258
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912258
-
Yes! That was it!
Will keep you posted if a solution to your problem hits me.
By the way, are you on 4.03SP1? If not, it might make a difference for you. I
don't know.
Thanks;
-nat
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912185#3912185
Reply to the
Did you ever find a solution to this problem???
I am experiencing the a very similar problem in JBoss 3.2.6.
Everything runs fine for a couple days and then all of a sudden, the following
Warning is outputted by JBoss indicating a timeout (upon Session Bean
requesting info from a JMS Queue):
I am experiencing the same problem! I have an application that works PERFECTLY
fine under 4.02 but cannot start it under 4.03 because of this problem.
Guys, please advise.
Thanks,
Igor
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912055#3912055
Reply to t
I switched all the Entity beans in my deployment to use cmp2.x jdbc2 pm so I'm
not mixing containers either.
Unless my eyes are failing me, your ejb-jar.xml seems to be missing a
element, and from looking at the JBoss code this problem seems
to have something to do with PK fields. However, th
Did you ever find a solution to this problem???
I am experiencing the exact same problem in JBoss 3.2.6.
Everything runs fine for a couple days and then all of a sudden, the following
Warning is outputted by JBoss indicating a timeout (upon Session Bean
requesting info from a JMS Queue):
| [
Oh. I am using the cmp2.x jdbc2 container with no problems, except for this
entity bean.
Maybe your problem is that you are mixing containers. I recall reading that you
should not mix containers.
However, in my case I am not mixing containers, just added this bean to an
exisiting ejb-jar deplo
I have the same problem. Entity beans that work perfectly well when deployed
using the standard container config will not deploy in the cmp2.x jdbc2 pm
container because of the ArrayIndexOutOfBoundsException given above.
Has anybody been able to use the new container?
View the original post :
btw I am using jboss 4.0.3 and any other statement works
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911162#3911162
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3911162
The answer are in jbpm forum with the same subject.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910720#3910720
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910720
-
No-one has any info on this?
fguerzoni, did you find a work around?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910569#3910569
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910569
You can get it from the zip/tar distributions, or the hsqldb site:
http://hsqldb.org/web/hsqlLicense.html
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910486#3910486
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=39104
I'll give it a shot.
Thanks.
David
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910336#3910336
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910336
---
This SF.
"dheffel" wrote :
| For the most part deploying to both app servers works fairly well, there is
only one problem. JBoss requires the JNDI name of a datasource to be prefixed
with "java:/", while Weblogic does not.
|
No JBoss does not require the datasource to be prefixed with 'java:/' that
Found the answer in another forum entry.
Make sure your ear or war file does not contain any of the hibernate jar files.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910067#3910067
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mo
I am having the same problem.
I am deploying a har file using a jboss-servie.xml file. Digging through the
logs I noticed these messages at the time of deployment.
10:36:06,296 DEBUG [SessionFactoryObjectFactory] registered:
b569131e07e6d1660107e6f74f980002 (unnamed)
10:36:06,296 INFO [Session
sorry about the subject. got cut off accidently, but should say "Why does
hibernate create EnhancerByCGLIB classes"
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3909905#3909905
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=re
And here are the java files, to whoever cares to look at this.
Local interface:
| package x1.db;
|
| import java.sql.Timestamp;
| import javax.ejb.EJBLocalObject;
|
| public interface Logtrk2 extends EJBLocalObject {
|
| public voidsetID(Integer iD);
| public
In this and the following message I post the DD's and the class files.
(Relevant sectins only!)
This message has the DD's and the following the .java files and/or snippets.
Aye, thanks again.
nat
ejb-jar.xml:
|
| Logtrk2
| x1.db.Logtrk2Home
| x1.db.Logtrk2
| x1.db.Logtrk2Bean
Hi Scott,
I have downloaded JBoss-4.0.3SP1 and installed (using installation option -
''all''). But I don't find the directory 'licenses' under 'docs'. It only
contains 'dtd', 'examples' and 'schema' directories.
Regards,
Jitendra
View the original post :
http://www.jboss.com/index.html?modul
docs/licenses/hsqldb.txt describes its terms. Its home page:
http://sourceforge.net/projects/hsqldb
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3909690#3909690
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3909690
-
Hey Peter,
I got that resolvedactually I didn't had a constructor for BasicModelDTO
with the two fields i was trying to retrieve from the Table in DB.
Thanks,
Ravi
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3909160#3909160
Reply to the post :
http:/
Use the fully qualified class name of the DTO you want to use. i.e.
com.company.BasicModelDTO.
// Peter
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3909064#3909064
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=39090
Hi,
But if I need to use CMT and into EJB I have DAOs methods
that manage transactions and sessions?
This DAOs methods are used in EJBs and Web Applications.
What can I do for this case?
thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3909057#3909057
http://wiki.jboss.org/wiki/Wiki.jsp?page=FAQJBossJCA
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3909042#3909042
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3909042
Yes, you'll need to put some inexpensive select to check valid connection.
Somehting like this will do it for PostgreSQL:
select 1
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3909032#3909032
Reply to the post :
http://www.jboss.com/index.html?module=bb&o
Probably way too late, but I just came across this entry and having resolved
the problem myself I thought it could be interesting for others.
In my case this was because I did not use the right jdbc driver. Make sure you
use the driver provided in the 4.0.3 release of JBoss.
Regards,
Koen
View
I found a solution by not implementing LoadEventListener, but instead extending
DefaultLoadEventListener and calling super.onLoad() at the beginning of my
onload impl.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908673#3908673
Reply to the post :
htt
Ok I've got it. The problem was the jdbc driver for sql server 2000. %$%$#^%
Microsoft I'm using the JTDS Driver now.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908530#3908530
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&
Even worse. It drops the schema and recreates it.
Include this in your persistence.xml:
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908515#3908515
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908515
I changed read-ahead strategy to on-find in the of my jbosscmp-jdbc.xml. Now
JBoss executes a query, which finds the rows and selects all fields. But it
still retrieves the very same properties using separate SQL queries. As you can
see from the log dump the row is added to the preloaded data c
301 - 400 of 659 matches
Mail list logo