I try to do the same. I'd like to be notified when the server is started. I use
JBoss 5.1.0.
Do you have a sample on how to do that ? Is there an XML to update or create in
JBoss AS ?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4257240#4257240
Reply to
Hi,
I want to use several ProcessInstance in the same application. I use the
Execution service to start my process instance
executionService.startProcessInstanceByKey(myProcess);
According to the javadoc in starts the ProcessInstance according to the latest
version of the process definition.
I use EMBEDDED_JBOSS_BETA3
I deploy a MBean EJB3
@Service(objectName = InstrumentManagerMBean.MDBName)
| @Management(InstrumentManagerMBean.class)
| public class InstrumentManagerImpl extends NotificationBroadcasterSupport
| implements InstrumentManagerMBean {...
|
When I try to add
Thanks for the answer.
For me it is acceptable to unit tests some EJB 3 with Jboss microcontainer even
if I deploy in JBoss AS 4.2.3. For unit tests I just use basic EJB3 features.
I also have integration tests in JBoss AS.
I have tried embedded JBoss beta 3 with JDK 1.6 using the magic jvm
I try to migrate my EJB3 application from JBoss 4.2.2.GA with JDK1.5 to JBoss
4.2.3.GA with JDK 1.6.
Unit tests are executed in standalone with embeddable EJB3. Integration tests
are executed within JBoss AS. Integrations tests works fine.
Unfortunately, for unit tests I used an old version of
I have a legacy system that uses sockets to communicate with other application.
I'm developping an EJB3 based application that will be hosted in JBoss 4.2.3
application server.
Communication between my J2EE application and my legacy application uses
sockets. Legacy app starts one socket server
Do you know if connectors for socket server already have already been
implemented (reusable classes or examples) ?
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4167105#4167105
Reply to the post :
I have found :http://txconnect.sourceforge.net/
I'll try to see if it might be usefull
Thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4167112#4167112
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4167112
I have started to write the MBean
http://wiki.jboss.org/wiki/Wiki.jsp?page=JDKLoggerMBean
I'll do some documentation for next year
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4115922#4115922
Reply to the post :
In my application, I uses librairies that using either JDK14 logger and Log4J.
For Log4J there is a Log4JService that can be configured via a MBean.
For Log4J, this MBean is a nice feature since it is possible to use JBoss
properties to specify log file and log4j configuration can be changed at
There is a JMX MBean for JDK logger in the JDK java.util.logging.LoggingMXBean.
Unfortunatelly, this class only provides method to change logger level and not
features to reload loggers configuration
View the original post :
I deploy my EJB3 app as an ear. I'd like to execute some initialisation task
just after the ear has been fully deployed but without invoking a bean.
Is it possible to do such initialization at JBoss AS startup ?
View the original post :
I was not clear enough :-)
I do not want that the init service is invoked atomatically just after server
is started.
I will investigate that with a JMX service. It should be a solution ...
Thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4085743#4085743
I have the following model:
A class A has a reference to a class B. B has several subclasses including C.
Relation between A and B is Lazy.
When I get an A instance from the DB, I invoke the getB() method if A class and
then I cast the B instance into C in order to invoke a method that only
It looks like I need to investigate Kerberos+JBoss
(http://wiki.jboss.org/wiki/Wiki.jsp?page=NegotiateKerberos)
Is it something mature in JBoss ? Can I use that for a production application ?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4081970#4081970
Reply
In your login-config.xml you can create a policy with modules flagged
sufficient. i do that to authenticate user on several LDAP:
| authentication
| login-module code=.. LoginModule
| flag=sufficient
| ...
| /login-module
| login-module code=..
My JBoss runs on a Windows system. I develop an intranet application. USers are
authenticated using the LDAPExtLoginModule plugged on the active directory of
my company.
Some of the services hosted in JBoss needs to access to windows resources such
as file servers, printers, ... Access to
jboss-annotations-ejb3.jar
Sur le repository jboss :http://repository.jboss.com/maven2/
jboss
jboss-annotations-ejb3
4.2.0.GA
Sinon tu l'install dans ton repoistory
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4080901#4080901
Reply to the post :
I probably have misunderstood the @Resource annotation. I try to inject my mail
session in a EJB3.
When I write ... Session is not injected
| @Resource(mappedname=java:/Mail Session session;
If I write ... it works fine
| @Resource SessionContext ctx;
| public (){
|
It looks like
@Resource(name = Mail, mappedName = java:/Mail)
| works fine.
What's the difference between
@Resource(name = Mail, mappedName = java:/Mail)
and @Resource(mappedName = java:/Mail) ?
When I inject JMS connectionFactory I jyust do
@Resource(name = jmsXA)
|
View the
I implement a stateful EJB3. Some of the methods of the session bean return
exception. By default, when an exception is thrown in a stateful session bean,
bean is destroyed.
In my case, exception are declared in the API of the method. I'd like that some
excepiotn does not destroy the stateful
Sorry,
ApplicationException works fine for me. I had another error.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4080513#4080513
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080513
I have an interface. with several implentation developped as stateless session.
In a session bean according to an algorithm I choose one of the implementation.
Each implementation as a name and is deployed in the same ear as the invoker
my code looks like:
| @Resource SessionContext ctx;
|
I have a standalone application that uses EJB3 services provided by JBoss AS
4.2.0. To guarantee the confidentiality of authentication, I'm investigating
the SRPLogin module.
In Jboss configuration guide, chapter 8, it is written
The org.jboss.security.srp SRPVerifierStoreService is an example
I have an index.htm page that include a flash animation:
!DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
http://www.w3.org/TR/html4/loose.dtd;
| html
| head
| meta http-equiv=refresh
| content=3;URL=http://localhost:15080/demo/createSample.jsp; /
| titleDemo
I have this issue only with IE with firefox it works fine ...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4077151#4077151
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4077151
Just to explain the context. I use maven2 to build and tests a complete
application. It is fully automatic. Tests can be executed on a platform without
having to install or configure third party products (except in some cases the
database)
I have several app that all uses a jboss AS with a
Hi,
I just forgot to create the jboss-app.xml file:
jboss-app
|
| module
| servicetoto.sar/service
| /module
|
| /jboss-app
Now with that it works fine.
Without jboss-app.xml my MBean was not deployed.
Thanks for the help !
View the original post :
Next issue. I wrotte tje jboss-service.xml:
| server
| mbean code=org.jboss.security.plugins.JaasSecurityDomain
| name=jboss.security:service=JaasSecurityDomain,domain=LdapPassword
| constructor
| arg type=java.lang.String value=ServerMasterPassword/
|
I need to get the current security domain from a session bean to be able to
read login config options in order not to duplicate this config.
Is it possible to get the name of the current security domain ?
This domain is defined either in jboss.xml or by the the SecurityDomain
annotation. It
I think that you can use the SRPLoginModule with your LDAPLoginModule
http://www.ubookcase.com/book/Sams/JBoss.4.0.The.Official.Guide/0672326485/ch08lev1sec5.html
I have not tried yet to use it.
If you try, i'm interesting in the result :-)
View the original post :
I have tried to add .sar. Unfortunatelly it does not works.
Do I have to update the application.xml file ?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4076333#4076333
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076333
I deploy my application as an ear. For that app I need to configure some of
JBoss MBeans. When I write this XML file in deploy that works fine.
I'd like to add the XML config inside the EAR. I have tried to put it at the
root of the EAR of in the META-INF directory, XML config files are
Thanks.
I have found another solution using the JAASSecurityManager MBean. When I
update user rights, I flush the cache using the MBean method.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4075086#4075086
Reply to the post :
You can also delegate that to a session bean:
| SessionContext ctx = ...
| ...
| ctx.isCallerInRole(myRole);
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4075087#4075087
Reply to the post :
I deploy an ear in an existing JBoss 4.2.0. I'd like to be able to deploy the
application policy with my ear and without updating the conf/login-config.xml.
I have tried to use th DynamicLoginConfig MBean. I have two issues with it:
First I wrote a dynamic-service.xml file:
server
|mbean
When you use bean manage transaction, you have to begin and commit transaction
by yourself:
| @Resource UserTransaction ut;
| ...
| ut.begin();
| ...
| ut.commit();
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4074695#4074695
Reply to the post :
I have configured an application policy in JBoss 4.2.0 to use the
LDapLoginModule against my active directory.
Now my problem is that I'd like to chek user/password against active directory,
but I'd like to manage the group using another login module (for example the
UsersRolesLoginModule). Is
I use a LDAPExtLoginModule in JBoss 4.2.0
1- First I try to connect with a user that is not granted for the application.
I have an error mesage
2- I Add the right role to the user and I try to reconnect
3- I have the same error. LoginModule is not accessed. It looks like JBoss have
a cache for
Maybe you can try to use a bean manage transaction:
@TransactionManagement(TransactionManagementType.BEAN)
|
Then you will have to begin and commit transaction by yourself.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4073839#4073839
Reply to the post :
For a static conf you can use the annotation org.jboss.annotation.PoolClass
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4073842#4073842
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073842
I do that kind of things for JBoss configuration. I use the SystemProperty
service.
In your -service.xml file you can use variable. For example:
mbean code=org.jboss.naming.NamingService
| name=jboss:service=Naming
| xmbean-dd=resource:xmdesc/NamingService-xmbean.xml
| ...
|
When an exception is thrown in a session bean, container rollback the
transaction. You can change that using the ApplicationException annotation in
your Excpetion code. This annotation has an attribute rollback:
@ApplicationException(rollback=false)
| public class AuditLockException extends
You can change the property file by setting the system property
org.quartz.properties.
If add this prop in run.bat it should works (not try) but that's ugly.
I don't know hawo to change that in xml.
View the original post :
For EJB entities:
Use @EntityListener annotation with @PrePersist, @PostPersist, @PreRemove
@PostRemove, @PreUpdate, @PostUpdate, @PostLoad
@Interceptors works fine for session bean and MDB. I'm not sure it is supposed
to works for entity
View the original post :
Hibernate interceptor are a little easier to use. But that's not EJB3, that's
hibernate specific
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4073031#4073031
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073031
I implement an MBean using EJB3 annotation:
@Service(objectName = babar:service=auditLock)
| @Management(BabarAuditManagerMBean.class)
| public class BabarAuditManager implements BabarAuditManagerMBean {
Using jmx console, I can see my MBean. Now I'd like to add some description for
@Lob byte[] image;
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4071549#4071549
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071549
___
jboss-user mailing list
I implement a service :
@Service(objectName = babar:service=auditLock)
| @Management(BabarAuditManagerBean.class)
| public class AuditLock implements BabarAuditManagerBean {
| ...
This service is used in a session bean injecting by the annotation depends:
@Depends(babar:service=auditLock)
Thanks !
That's better. I also have to deploy my MBean. MBeanServer.registerBean(...).
If I just add the class in th class to deply in the bootstapr (I do that for
session bean for example, it is nt deployed.
View the original post :
In my case all transaction are required. Tra,saction is open by the container
for the MDB but timeout for messagen driven seems not to be used.
I move to bean managed transaction for my MDB and I set the timeout before
beginning the transaction. It works fine and it solve another problem that I
I suppose that in your equals you invoke getClass. I had the same problem.
There is a Wiki on hibernate about equals and hashcode
(http://www.hibernate.org/109.html).
For my entites, I never invoke getClass, I use a workaround to be sure not to
have proxy. That's ugly, but I did not find
I try to set the timeout for only one EJB. I have chack the Wiki
(http://wiki.jboss.org/wiki/Wiki.jsp?page=TransactionTimeout). When I change
the timeout in the jboss-service.xml, it is ok. When I change the timeout in
jboss.xml it is ignored.
In my code, I have a MDB that invoke a session
Query.setMaxResults(int)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4071144#4071144
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071144
___
jboss-user mailing list
I have a MDB that listen on a queue. MDB is in charge to perform a time
consuming tasks. It invokes another EJB session.
I have two problems:
- MDB is transaction required. My task exceed the default timeout. How can I
configure by XML the timeout for the MDB ? I have try to add some stuff in
IN EJBQL, you can force the fetch
left join fetch x.ys
I don' think you can choose to fetch only some of the element of the collection
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4071229#4071229
Reply to the post :
another solution:
@Resource
SessionContext context;
...
context.lookup(...);
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4047893#4047893
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4047893
Hi,
I try to migrate my junit testcase from embedded RC8 to beta2. It looks that
XML configuration file have change a lot.
Using the EJB3StandaloneBootstrap classes I was able to define the jar to scan
and only the jar to scan. Consequently before each testcase, I started and
shutdown the
I use embedded beta 2. My testsuite is made of several testcases.
When I write :
| Bootstrap.getInstance().bootstrap();
|
| Bootstrap.getInstance().shutdown();
| Bootstrap.getInstance().bootstrap();
| ...
|
I have an exception on the second bootstrap. It looks that on the
There is an extension in JBoss EJB3 to manage asynchronous calls. When invoking
a synchronous EJB, there is a timeout for the maximum time allowed to execute
the service.
What's about JBoss asynchronous calls ? Is there a timeout ? Has the timeout
the same delay as for the synchronous call ?
I'm afraid it has not been fixed in 4.2.
I've just download it. I still have the exception:
| 10:25:07,787 WARN [ServiceController] Problem starting service
persistence.units:ear=itests-ear-1.0-SNAPSHOT.ear,unitName=audittrail
| java.lang.RuntimeException: error trying to scan jar-file:
OK, with the workaround it works.
Thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4045508#4045508
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4045508
___
jboss-user
It is http://jira.jboss.com/jira/browse/EJBTHREE-724. Unfortunately it is not
fixed yet.
Is there a workaround ???
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4045019#4045019
Reply to the post :
Maybe a stupid answe but
ctx.lookup(/SecuritySBean/local)
should be enough
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4045024#4045024
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4045024
I use an EJB3 stateful session bean.
| @Stateful
| public class MyStatefullImpl implements MyStatefull{
|
| public void applyFilter(...) throws MyException {
| ...
| }
|
|
MyException is managed properly in my source code and is declared in the API .
Consequently,
I use a stateful session bean.
| @Stateful
| public class MyStatefullImpl implements MyStatefull{
|
| public void applyFilter(...) throws MyException {
| ...
| }
MyException is managed properly in my source code and is declared in the API.
Consequently, when this exception
I write an entity bean:
public class AuditSnapshotPE implements IterableMap.EntryString, String
| ...
All the methods of Iterable are @Transient. When I deploy my EJB in JBoss
embedded, I have the following warning.
-Original type of property public abstract java.util.Iterator
I try to use LdapExtLoginModue to authenticate over a windows active directory.
For some of my users I have a very strange exception:
[url]Exception in thread main javax.security.auth.login.FailedLoginException:
Password Incorrect/Password Required
at
My active directory is made of multiple DC, tree looks like:
| dc=mycompany
|| dc=rd
| |--- dc=it
|| dc=QA
|
In my jaas config, I've tried to set the URL to ldap://mycompany and the
baseCtxDN=dc=mycompany. I do not try to connect with a
It looks like a security audit service will be included in JBoss 5;
http://wiki.jboss.org/wiki/Wiki.jsp?page=SecurityAuditService
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4011804#4011804
Reply to the post :
Did you find a solution to audit login and logout ?
The only solution I found is to add a LoginModule in charge to audt. That's not
a very good solution. I'm not sure to have logout event. User can kill the
client app or the web browser without a logout.
Ideas are welcome.
View the original
Another thread about service locator:
http://www.jboss.org/index.html?module=bbop=viewtopict=97959
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4009246#4009246
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4009246
Sometime I have to use a service locator like because I am in a class that is
not a EJB3.
A small example:
Some of my entities have a @EntityListener. Implementation of the entity
listener needs to use a service provided by an EJB3 session. In the source code
of the entity listener, I can not
I use embedded JBoss alpha8.
When I try to deploy an MBean into embedded JBoss, I have an exception:
@Service (objectName=trail:service=calculator)
| @Management(Calculator.class)
| public class CalculatorMBean implements Calculator {
| ...
java.lang.RuntimeException: Problem registering
During development it is very convenient to use the create-drop property in the
persistence.xml to create the database from the annotation in the persistent
entity.
For integration tests and in production, that is not usable. First I need to
create the database, then I need to perform some
What I'd like to do is just to validate the schema at each JBoss AS startup.
Usually updates required to perform additional tasks (such as SQL statements to
initialize new fields). I don't want to redo an update at each boot of JBoss.
Problem is just o be able to get the SQL scipt generated to
Simple but efficient solution !
Thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4007987#4007987
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4007987
___
jboss-user mailing
For me it looks like this:
| package fr.toto.interceptor;
|
| import java.lang.reflect.Method;
| import java.lang.reflect.UndeclaredThrowableException;
| import java.util.logging.Level;
| import java.util.logging.Logger;
|
| import org.jboss.aop.advice.Interceptor;
| import
I don't know if it is the best solution but for catching exception I have added
an interceptor in ejb3-interceptor.xml. This interceptor is set for remote
session bean.
In my case, interceptor catch exception, logg it on server side and throw a new
exception without all the chained exception
Hi,
I'm not sure you can simply add your own domain in the ejb3 interceptors. I
just connect on existing one.
If your need is to add your own domain check AOP documentation. From what I
remenber it is explain but not so simple to implement.
It looks like that :
?xml version=1.0
Hi,
I've tried to implement that in ejb3. I had some problem with some specific
cases such as array.
Moreover, with this approach I was quite anxious with the impact on the
performance of my application.
I stopped to look at that ... but I'm still interesting with that subject.
Other
I have done something like this to catch unexpected exception and perform some
action before sending the exception to the client.
I use interceptor taht I have added in ejb3-interceptors-aop.xml.
I'm quite happy with that.
View the original post :
I prefer using ejbql queries. for queries that returns a lot of elements, i do
not retrieve all the elements, i uses pages. My gui is not able to display all
the elements in once, so the cost of the query is hide by the time needed by
the user to request the next page.
It is probably easier to
If you turn hibernate logs off, is it always so slow ?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3988441#3988441
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3988441
___
See
http://jira.jboss.com/jira/browse/EJBTHREE-326
and
http://www.jboss.com/index.html?module=bbop=viewtopict=68954postdays=0postorder=ascstart=0
Problems is around the flush. If you perform a query with EJB3, a fluish is
performed automatically before. It looks like that issues has been fixed
Use persist instead of merge. In your case, it looks to be a new instance not a
detached one.
I use MappedSuperClass in my app and it works fine.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3986982#3986982
Reply to the post :
Do you know is there is a approximative date for EJB3 RC10 ?
I suppose it will include released GA hibernate stuffs.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3984418#3984418
Reply to the post :
In \server\default\deploy\ejb3.deployer\META-INF\jboss-service.xml, there is a
list of ignored jars. It looks like jars not in the list are scanned.
You should bea ble to add your own jar in the list.
View the original post :
I've tried JMeter+JUnit.
I wrote a simple test case with JUnit and then I use JMeter to simulate
threads. Last release of JMeter is able to run JUnit test case
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3980702#3980702
Reply to the post :
Yes I think so.
I use embedded JBoss or my tests. To be able to start quickly embedded
container, I do not perform the automatic scan, and I deploy manually my EJB3.
That makes the container faster to run. (listing ignored jars was boring to
implement and I risk to miss some of he jars).
I've
Check your persistence.xml, you probably have the create-drop option
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3977670#3977670
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977670
Use @Stateless or @Stateful annotations
There is basic samples in the tutorial
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3977673#3977673
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977673
Your service is in a jar or in a directory ?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3977303#3977303
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977303
___
jboss-user
Sorry previous questin was stupid !
Do you have the jar or the dir containg your service in java.class.path ?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3977304#3977304
Reply to the post :
I have the same problem using maven. It uses several classpath. To solve this I
have implemented a custom class embeddableejb3tools.EmbeddableEJB3Container().
Before starting the container I declare at least one session bean class. It
will deploy all the classes deploy in the jar of this
If you need hibernate, you just need to add a dependency to:
| groupIdorg.hibernate/groupId
| artifactIdhibernate/artifactId
| version3.2.0.cr4/version
|
Have a look to http://www.ibiblio.org/maven2/org/hibernate/hibernate/3.2.0.cr4/
You don't care about librairies you are not using.
Right, it is not the rc4 but more probably the rc2. It looks like the last rc
for the entitymanager is only compliant with hibernate rc2.
That's one of the interest of maven. I just need to know that I want to use
embedded EJB3 RC9, I do not have to take care on its dependencies.
View the
I think that mazz is right. When we used a tool that manages dependencies, we
don't care about the number of jars. Consequently, with maven, number of jars
is not a problem.
If you have to do that manually, number of jars is a nightmare ...
Having just a list of the jars and their version
If you have a correct config, you can post it on the forum, ti may have
insterest for other peaople.
Thxs
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3974186#3974186
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3974186
I have a String[] in a persistent entity. I've tried to add the @Lob
annotation. Unfortunattly it does not works, I have the following exception:
| Caused by: java.lang.ClassCastException: [Ljava.lang.String;
| at org.hibernate.type.StringClobType.nullSafeSet(StringClobType.java:56)
|
1 - 100 of 114 matches
Mail list logo