ORA-01461:仅能绑定要插入LONG列的LONG值
19:52:35,156 WARN JDBCExceptionReporter:100 - SQL Error: 1461, SQLState: 72000 19:52:35,156 ERROR JDBCExceptionReporter:101 - ORA-01461: 仅能绑定要插入 LONG 列的 LONG 值 19:52:35,156 WARN JDBCExceptionReporter:100 - SQL Error: 1461, SQLSta
19:52:35,156 WARN JDBCExceptionReporter:100 - SQL Error: 1461, SQLState: 72000
19:52:35,156 ERROR JDBCExceptionReporter:101 - ORA-01461: 仅能绑定要插入 LONG 列的 LONG 值
19:52:35,156 WARN JDBCExceptionReporter:100 - SQL Error: 1461, SQLState: 72000
19:52:35,156 ERROR JDBCExceptionReporter:101 - ORA-01461: 仅能绑定要插入 LONG 列的 LONG 值
19:52:35,156 ERROR AbstractFlushingEventListener:324 - Could not synchronize database state with session
org.hibernate.QueryTimeoutException: Could not execute JDBC batch update
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:124)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:262)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:178)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1206)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:375)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:137)
at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:6
56)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformT
ra
nsactionManager.java:754)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransact
ionManager.java:723)
at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(Transa
cti
onAspectSupport.java:393)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:120)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy45.queryObjectOut(Unknown Source)
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:597)
at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.invoke(AbstractJAXWSMethodInvoker.java:178)
at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:68)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:75)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:107)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239)
at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:248)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:222)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:153)
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:167)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:206)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:262)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.sql.BatchUpdateException: ORA-01461: 仅能绑定要插入 LONG 列的 LONG 值
at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:343)
at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:10656)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:1723)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
... 55 more
,
Outils d'IA chauds

Undresser.AI Undress
Application basée sur l'IA pour créer des photos de nu réalistes

AI Clothes Remover
Outil d'IA en ligne pour supprimer les vêtements des photos.

Undress AI Tool
Images de déshabillage gratuites

Clothoff.io
Dissolvant de vêtements AI

Video Face Swap
Échangez les visages dans n'importe quelle vidéo sans effort grâce à notre outil d'échange de visage AI entièrement gratuit !

Article chaud

Outils chauds

Bloc-notes++7.3.1
Éditeur de code facile à utiliser et gratuit

SublimeText3 version chinoise
Version chinoise, très simple à utiliser

Envoyer Studio 13.0.1
Puissant environnement de développement intégré PHP

Dreamweaver CS6
Outils de développement Web visuel

SublimeText3 version Mac
Logiciel d'édition de code au niveau de Dieu (SublimeText3)

Utilisation de MINUS dans SQL et exemples de code spécifiques En SQL, MINUS est un opérateur utilisé pour effectuer une opération de différence entre deux jeux de résultats. Il est utilisé pour supprimer les mêmes lignes du premier ensemble de résultats que dans le deuxième ensemble de résultats. Le jeu de résultats renvoyé par l'opérateur MINUS contiendra des lignes qui existent uniquement dans le premier jeu de résultats. Voici un exemple de code spécifique pour démontrer l'utilisation de MINUS : Supposons qu'il existe deux tables : "table1" et "table2", leurs structures sont les suivantes : Nom de la table : champ table1

Comment interroger le type long dans Oracle : 1. Fonction TO_LOB, utilisez la syntaxe "SELECT TO_LOB()" pour convertir la colonne de type LONG de la table en type CLOB et la renvoyer comme résultat de la requête. 2. Fonction SUBSTR, utilisez "SELECT SUBSTR ; () )" renverra les 250 caractères à partir du 100ème caractère de la colonne de type LONG du tableau, qui sont renvoyés en tant que type VARCHAR.

SolutionOui, nous pouvons insérer des valeurs nulles pour les lister facilement à l'aide de sa méthode add(). Si l'implémentation de liste ne prend pas en charge null, elle lancera une exception NullPointerException. Syntaxe booleanadd(Ee) Ajoute l'élément spécifié à la fin de cette liste. Paramètre de type E - Le type d'exécution de l'élément. Paramètre e - élément à ajouter à cette liste

Lance une question : Longa=4l;Longb=4l;a==b//trueLonga=128l;Longb=128l;a==b//false Si la valeur de Long est comprise entre [-127,128], utilisez "==" Il n'y a aucun problème pour juger s'ils sont égaux. S'ils ne sont pas dans cette plage, "==" ne peut pas être utilisé. La raison est expliquée dans le code source comme suit : publicstaticLongvalueOf(longl){finalintoffset=128;if(l). >=-128&&l

Problème d'affectation des données de type javalong Lorsque le programme a une valeur importante (dépassant le type int : -2^31 à 2^31-1), le type doit être changé en type Long. longl=1507772738542;Longl1=(long)1507772738542;La méthode d'écriture ci-dessus signalera une erreur lors de la compilation, ce qui signifie probablement que les données sont trop longues et dépassent la valeur du type int. Résolvez Longl=1507772738542L ; vous pouvez ajouter L ou l après les données. Un problème étrange se produit lors de l'attribution de null à long. La raison du problème est que j'obtiens des données de type Long à partir d'un objet et que je les affecte à une variable longue.

1. Ouvrez le logiciel wps et entrez dans l'interface d'opération de texte wps. 2. Recherchez l'option d'insertion dans cette interface. 3. Cliquez sur l'option Insérer et recherchez l'option Forme dans sa zone d'édition. 4. Cliquez sur l'option de forme et recherchez l'option recommandée dans son sous-menu. 5. Recherchez l'option Carte de Chine dans les options recommandées. 6. Cliquez sur l'option Carte de Chine et faites-la glisser avec le bouton gauche de la souris dans la zone de saisie d'édition pour obtenir la carte de Chine dont nous avons besoin.

long occupe 4 octets ; long représente un type de données entier long, qui est un type de données de base dans les langages de programmation. La valeur par défaut est un type entier long signé, contenant 4 octets. 2^31 ~ (2^31 -1)".

Comment implémenter une instruction pour insérer plusieurs lignes de données dans MySQL ? Dans MySQL, nous devons parfois insérer plusieurs lignes de données dans la table à la fois. Dans ce cas, nous pouvons utiliser l'instruction INSERTINTO pour y parvenir. Ce qui suit explique comment utiliser l'instruction INSERTINTO pour insérer plusieurs lignes de données et donne des exemples de code spécifiques. Supposons que nous ayons une table nommée étudiants, qui contient les champs d'identification, de nom et d'âge. Nous souhaitons maintenant insérer plusieurs informations sur les étudiants à la fois. Nous pouvons suivre les étapes suivantes pour y parvenir :
