Log in to follow, share, and participate in this community.
Thread dinamic <datasource> in jbosscmp-jdbc.xml
dinamic <datasource> in jbosscmp-jdbc.xmlhi everybody, I have a jbosscmp-jdbc.xml file with this piece of code <jbosscmp-jdbc> java:/skyline <datasource-mapping>MS SQLSERVER2000</datasource-mapping> . . </jbosscmp-jdbc> This xml...
Thread Problems with using multiple EntityManagers in a service method
Problems with using multiple EntityManagers in a service methodHi everyone, I have a service which has an EntityManager reference to talk to an Oracle database. Recently we wanted to re-direct reads to a separate Oracle instance and writes to our original Oracle database....
Thread ModifyTimezone to consider daylight savings
ModifyTimezone to consider daylight savingsHello, How to make MODIFYTIMEZONE to consider day light savings enabled in system time? I have the UTC-6 set and the system time is say 3:40 AM, when I use MODIFYTIMEZONE it get 'UTC' time, the time g...
Thread Exception while processing container metadata for EJB
Exception while processing container metadata for EJBI am deploying one EJB service in Jboss 5.1.0 GA but when ever i include the .ear file it gives the below mentioned error 2018-02-01 15:18:00,529 INFO [org.jboss.ejb3.deployers.JBossASKernel] Added bean(...
Thread JPQL: "LIKE" comparison between a numeric column and a Strin
JPQL: "LIKE" comparison between a numeric column and a StrinGood morning: I'm still a rookie with the Java Persistence API and the Java Persistence Query Language, and have a doubt about the implementation of the LIKE operator. On SQL, I use this operator to compare not only ...
Thread How to use multiple JPA sources for one entity.
How to use multiple JPA sources for one entity.Example: I have one Customer class There are 2 separate databases. One is progress(openedge) and one is mysql. The entity can be represented with mostly the same fields in both... But the field names ...
Thread How to get result set size of DetachedCriteria
How to get result set size of DetachedCriteriaWhen a DetachedCrieria has projections, how to get the row count of the DetachedCriteria result set? For HQL: select count(*) from (select name, sum(grade) from score group by name). For hibern...
Hibernate and Oracle: Sequence IssueGuys, I'm trying to persist a record in my Oracle database but I receive this message: “ORA-06576: not a valid function or procedure name”. In my server.log I found the statement that Hibe...
Initialize database with dataSince I haven't received an answer to my question. I've decided to try and find a different solution. So, I've got a Java EE application that is deployed on a JBoss server and I'm asking if there's a way to initialize...
Thread Failed to get JPA working in JBoss 5.1.0 GA
Failed to get JPA working in JBoss 5.1.0 GAHello to everybody! I've spent two days but can't find any solution... I'm forced to use JBoss 5.1.0 GA and try to deploy application with JPA 2.1 entities, but when I deploy it from Eclipse (Kepler), ...