Re: New JDBC features not supported!

View: New views
1 Messages — Rating Filter:   Alert me  

Re: New JDBC features not supported!

by oho :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

New JDBC features not supported!
I solved problem by using hibernate3.jar instead of hibernate3.1.2.jar. So i can use MySql and MsSql server.
Working with DerbyDb aren't any problems with hibernate3.1.2.jar. I didn't analyse why.
 
Oliver


Von: pxe-user-bounces@... [mailto:pxe-user-bounces@...] Im Auftrag von Alex Boisvert
Gesendet: Mittwoch, 26. Juli 2006 20:23
An: user-level discussion of PXE
Betreff: Re: [pxe-user] New JDBC features not supported!


Yes, it seems you've run into a limitation of Minerva.   Unfortunately, Minerva isn't actively maintained anymore.  We have our own version in the PXE repository that we sort-of patch from time to time when needed (mostly for the purpose of the standalone version).   You could use a different/newer version of Minerva but I don't know of any that would solve your problem.   If you do, I'd be very interested in it!

I don't really know how to get around this problem at this time other than fix Minerva either by implementing the specific prepareStatement() method, or maybe by patching it to report JDBC 1.0 meta-data such that Hibernate won't use JDBC 2.0 features.

Maybe other developers have other ideas or suggestions?
   
alex

Hofer Oliver, Bedag wrote:

Hello,

I'm working with standalone-distro-1.0.169. I use MySQL-Server.
I deploy /examples/HelloWorld process. On deploying i receive message below.
The same behaviour is with standalone-distro-1.0-SNAPSHOT.

In both standalone-distro-versions is the same pxe-minerva-1.0.146.jar.

Are there any possibilities to take a newer minerva.jar or are there other possibilities to solve the Problem?

Thank's for your help!

Greets,
Oliver




PXE - 2006-07-26 17:01:14,421 ERROR (DomainAdminMBeanImpl.java) -  System archive at file:/C:/source/neskoab/statemachine_pxe/WebContent/pxe/etc/deploy/HelloWorld.sar could not be deployed. [Thread-36] DomainAdminMBeanImpl#deploySystem(line:76) 

com.fs.pxe.sfwk.deployment.DeploymentException: Data-store error.
        at com.fs.pxe.sfwk.impl.DomainNodeImpl.deploy(DomainNodeImpl.java:1152)
        at com.fs.pxe.sfwk.impl.DomainAdminMBeanImpl.deploySystem(DomainAdminMBeanImpl.java:73)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414)
        at javax.management.StandardMBean.invoke(StandardMBean.java:323)
        at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
        at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
        at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:201)
        at $Proxy29.deploySystem(Unknown Source)
        at com.fs.pxe.kernel.moddeployer.ModDeployer.handleDeploymentBundle(ModDeployer.java:152)
        at com.fs.pxe.kernel.moddeployer.ModDeployer.check(ModDeployer.java:127)
        at com.fs.pxe.kernel.moddeployer.ModDeployer$Poller.run(ModDeployer.java:251)
Caused by: java.lang.UnsupportedOperationException: New JDBC features not supported!
        at org.opentools.minerva.jdbc.ConnectionInPool.prepareStatement(ConnectionInPool.java:98)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.hibernate.util.GetGeneratedKeysHelper.prepareStatement(GetGeneratedKeysHelper.java:45)
        at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:435)
        at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:93)
        at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:1948)
        at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2405)
        at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:37)
        at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:243)
        at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:269)
        at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:167)
        at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:101)
        at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:186)

        at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:33)

        at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:175)

        at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:27)
        at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)

        at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:559)
        at org.hibernate.impl.SessionImpl.save(SessionImpl.java:547)
        at org.hibernate.impl.SessionImpl.save(SessionImpl.java:543)
        at com.fs.pxe.daohib.sfwk.SystemDaoImpl.setSystemArchive(SystemDaoImpl.java:58)
        at com.fs.pxe.sfwk.impl.DomainNodeImpl$8.run(DomainNodeImpl.java:1132)
        at com.fs.pxe.sfwk.impl.DomainNodeImpl.runTransaction(DomainNodeImpl.java:617)
        at com.fs.pxe.sfwk.impl.DomainNodeImpl.deploy(DomainNodeImpl.java:1127)
        ... 16 more
PXE - 2006-07-26 17:01:14,436 ERROR (ModDeployer.java) -  Error deploying file HelloWorld.sar.  Ignoring...                 [Thread-36] ModDeployer#check(line:128) 


------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________ pxe-user mailing list pxe-user@... https://lists.sourceforge.net/lists/listinfo/pxe-user


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
pxe-user mailing list
pxe-user@...
https://lists.sourceforge.net/lists/listinfo/pxe-user
LightInTheBox - Buy quality products at wholesale price!