[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: why MYSQL error come

2006-01-24 Thread chaman4110
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Problem after upgrading JBoss 4.0.3-sp1 to Hibernate 3.1

2006-01-24 Thread parmaley
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Can't serialize object due to LoggerPluginWriter(?)

2006-01-20 Thread brvdboss
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Oracle XA Error

2006-01-19 Thread jparsons512
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: The insert-after-ejb-post-create plus sequence problem -

2006-01-19 Thread chrisbitmead
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: The insert-after-ejb-post-create plus sequence problem -

2006-01-19 Thread benbest
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Setting relation when Entity Bean has a compound primary

2006-01-19 Thread pdog4x4
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Hibernate and Lucene integration

2006-01-19 Thread NigelWhite
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";> | |

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Hibernate and Lucene integration

2006-01-19 Thread NigelWhite
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Hibernate and Lucene integration

2006-01-18 Thread tvan
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: changing datasource on runtime breaks hibernate session

2006-01-18 Thread [EMAIL PROTECTED]
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 --

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Using hibernate-reveng.xml how can I eliminate code gene

2006-01-17 Thread ameelin
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: DetachedCriteria Query

2006-01-17 Thread Shinerella
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Different Timeout for different Connection Pools

2006-01-17 Thread voven2000
[/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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Repeated Transaction Timeouts

2006-01-17 Thread sriramp_here
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 ---

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Problem in deploying EJB under JBOSS4.0.3........

2006-01-16 Thread erich_lol
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: IllegalArgumentException occurred calling getter

2006-01-16 Thread chelaru.viorel
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: CMP field for key not found

2006-01-15 Thread supernova
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: @ManyToOne + @JoinColumn => no CONSTRAINT FOREIGN KEY !

2006-01-12 Thread diamss
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")

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: jboss 4.0.2, hibernate3 and mysql NullPointer problem

2006-01-11 Thread hartsock
"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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Persistence fails silently in 4.0.2

2006-01-10 Thread ftg314159
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Persistence fails silently in 4.0.2

2006-01-09 Thread [EMAIL PROTECTED]
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: user SA not found after out of memory exception

2006-01-06 Thread javatwo
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: user SA not found after out of memory exception

2006-01-06 Thread [EMAIL PROTECTED]
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: lock policy cmp

2006-01-06 Thread oschei
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Compound Foreign Primary Key

2006-01-06 Thread Bouma
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Compound Foreign Primary Key

2006-01-06 Thread manucet
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://

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JDBC insert statement

2006-01-05 Thread ralluri
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:

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JDBC insert statement

2006-01-04 Thread wmaidub
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JDBC insert statement

2006-01-04 Thread ralluri
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 ---

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Failure when committing JTA transaction: status=STATUS_N

2006-01-03 Thread sprhodes
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 ---

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Relationships - NullPointerException

2006-01-03 Thread [EMAIL PROTECTED]
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Relationships - NullPointerException

2006-01-03 Thread chrisbitmead
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: oracle and jdbc2 persistence manager

2006-01-02 Thread ereze
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: What is wrong with my ejb-ql????

2006-01-02 Thread askesis
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)" | *

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: What is wrong with my ejb-ql????

2006-01-02 Thread askesis
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Help with CMR and not null foreign key

2005-12-29 Thread benbest
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: More than 2000 statements into a a transaction ! How to

2005-12-29 Thread warx
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.

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: More than 2000 statements into a a transaction ! How to

2005-12-28 Thread warx
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.

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss 4.0.2 wiyth Hibernate3 exception org.hibernate.Map

2005-12-28 Thread tyrone.yimin
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss 4.0.2 wiyth Hibernate3 exception org.hibernate.Map

2005-12-28 Thread tyrone.yimin
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss 4.0.2 wiyth Hibernate3 exception org.hibernate.Map

2005-12-28 Thread tyrone.yimin
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Problems Lazy loading in Hibernate Server Side

2005-12-27 Thread rfboehme
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: org.jboss.deployment.DeploymentException

2005-12-24 Thread [EMAIL PROTECTED]
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: org.jboss.deployment.DeploymentException

2005-12-23 Thread plieger
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: No Managed Connections Exception

2005-12-23 Thread maxota
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)

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Batch update problem.

2005-12-23 Thread tzablock
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 --

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Batch update problem.

2005-12-23 Thread heinrich
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: EJB Database Access stall

2005-12-22 Thread sumitsu
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Compound Foreign Primary Key

2005-12-22 Thread Bouma
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Repeated Transaction Timeouts

2005-12-21 Thread pareshpg
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: EHCache.xml not found!

2005-12-20 Thread fmaredia
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Jboss-4.0.3SP1 and Hibernate

2005-12-19 Thread smirgla1
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 --

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Jboss-4.0.3SP1 and Hibernate

2005-12-18 Thread sandeepnarela
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.

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Can't serialize object due to LoggerPluginWriter(?)

2005-12-16 Thread brvdboss
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)

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss + Hibernate + Annotations -> How?

2005-12-15 Thread cracru
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Oracle VPD in XA

2005-12-15 Thread rebarone
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Jboss-4.0.3SP1 and Hibernate

2005-12-14 Thread kusi207
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 ---

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: StateLESS Session bean throws Could not passivate except

2005-12-14 Thread anshah1
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Jboss-4.0.3SP1 and Hibernate

2005-12-14 Thread vignesh76
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Jboss 4.0.3SP1 with hibernate 2.1

2005-12-14 Thread vignesh76
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Jboss-4.0.3SP1 and Hibernate

2005-12-14 Thread vignesh76
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Is IT A BUG ? Error deploying only last Entity bean of e

2005-12-14 Thread fmagrini72
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Jboss-4.0.3SP1 and Hibernate

2005-12-14 Thread smirgla1
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Error: Missing IN or OUT param when using JBoss Declared

2005-12-13 Thread [EMAIL PROTECTED]
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: incomple findby primary key query

2005-12-13 Thread akifshaikh99
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Error: Missing IN or OUT param when using JBoss Declared

2005-12-13 Thread fbiaggi
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: No Managed Connections Exception

2005-12-13 Thread vryugandhar
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 --

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Oracle VPD in XA

2005-12-13 Thread charlesju01
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss creates his own foreign keys, why?

2005-12-12 Thread heinrich
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 -

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Can't deploy new cmp entity: ArrayIndexOutOfBoundsExcept

2005-12-12 Thread nat101j
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Repeated Transaction Timeouts

2005-12-12 Thread Pizzle
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):

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Jboss-4.0.3SP1 and Hibernate

2005-12-12 Thread smirgla1
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Can't deploy new cmp entity: ArrayIndexOutOfBoundsExcept

2005-12-09 Thread chrisburt
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Repeated Transaction Timeouts

2005-12-08 Thread Pizzle
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): | [

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Can't deploy new cmp entity: ArrayIndexOutOfBoundsExcept

2005-12-08 Thread nat101j
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Can't deploy new cmp entity: ArrayIndexOutOfBoundsExcept

2005-12-08 Thread chrisburt
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 :

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Strange error in Sybase connection: SET CHAINED command

2005-12-07 Thread guix
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: If my workflow blows up?

2005-12-05 Thread pedrosacosta
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 -

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: hibernate-service.xml disable second level cache

2005-12-04 Thread inscribe
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: HSQL license terms with JBoss

2005-12-03 Thread [EMAIL PROTECTED]
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Is there any way to avoid using the java:/ prefix when l

2005-12-02 Thread dheffel
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.

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Is there any way to avoid using the java:/ prefix when l

2005-12-02 Thread darranl
"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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: desperate for help

2005-12-01 Thread chesnut_24
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: desperate for help

2005-12-01 Thread chesnut_24
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Why does hibernate create

2005-11-30 Thread jwynett
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Can't deploy new cmp entity: ArrayIndexOutOfBoundsExcept

2005-11-30 Thread nat101j
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Can't deploy new cmp entity: ArrayIndexOutOfBoundsExcept

2005-11-30 Thread nat101j
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: HSQL license terms with JBoss

2005-11-30 Thread jitendrakharche
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: HSQL license terms with JBoss

2005-11-30 Thread [EMAIL PROTECTED]
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 -

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Problem with HQL query -- to return few columns of a Tab

2005-11-26 Thread rkgoli
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:/

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Problem with HQL query -- to return few columns of a Tab

2005-11-25 Thread peter.knuts
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Hibernate + JBoss + Transaction/Session scope

2005-11-25 Thread tads
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Jboss can't connect after DB has restarted

2005-11-25 Thread anders.hedstrom
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Jboss can't connect after DB has restarted

2005-11-25 Thread jukvaa
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: HSQLDB 1.8 + SELECT * FROM SYSTEM_TABLES not working

2005-11-24 Thread [EMAIL PROTECTED]
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: ListenerInjector IS buggy / incomplete!

2005-11-23 Thread axismundi
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Unable to comit simple CMP field Why????

2005-11-22 Thread tiago_gaspar
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&

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss Truncates at startup

2005-11-22 Thread oglueck
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss + MySQL low performance

2005-11-22 Thread tsaari
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

<    1   2   3   4   5   6   7   >