473,626 Members | 3,413 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Cryptic JDBC exception

Can anyone tell me how to find out what causes this error -- the
message is not very revealing!

I'm using DB2 8.1 fixpak 5 on Windows XP, using the Sun JDK 1.4.2.

Thanks,
Tom

com.ibm.db2.jcc .b.SQLException : 5
at com.ibm.db2.jcc .b.ce.e(ce.java :1093)
at com.ibm.db2.jcc .b.ce.a(ce.java :884)
at com.ibm.db2.jcc .a.bd.n(bd.java :535)
at com.ibm.db2.jcc .a.bd.i(bd.java :228)
at com.ibm.db2.jcc .a.bd.c(bd.java :54)
at com.ibm.db2.jcc .a.r.c(r.java:5 3)
at com.ibm.db2.jcc .a.bp.h(bp.java :156)
at com.ibm.db2.jcc .b.ce.j(ce.java :880)
at com.ibm.db2.jcc .b.cf.a(cf.java :1516)
at com.ibm.db2.jcc .b.cf.executeQu ery(cf.java:303 )
at org.apache.comm ons.dbcp.Delega tingPreparedSta tement.executeQ uery(Delegating PreparedStateme nt.java:177)
at org.apache.comm ons.dbcp.Delega tingPreparedSta tement.executeQ uery(Delegating PreparedStateme nt.java:177)
at org.apache.ojb. broker.accessla yer.JdbcAccess. executeQuery(Jd bcAccess.java:2 56)
at org.apache.ojb. broker.accessla yer.RsIterator. (RsIterator.jav a:245)
at org.apache.ojb. broker.accessla yer.ReportQuery RsIterator.(Rep ortQueryRsItera tor.java:84)
at org.apache.ojb. broker.singlevm .ReportRsIterat orFactoryImpl.c reateRsIterator (ReportRsIterat orFactoryImpl.j ava:96)
at org.apache.ojb. broker.singlevm .PersistenceBro kerImpl.getRsIt eratorFromQuery (PersistenceBro kerImpl.java:24 91)
at org.apache.ojb. broker.singlevm .PersistenceBro kerImpl.getRsIt eratorFromQuery ExtentAware(Per sistenceBrokerI mpl.java:1707)
at org.apache.ojb. broker.singlevm .PersistenceBro kerImpl.getRepo rtQueryIterator FromQuery(Persi stenceBrokerImp l.java:2548)
at org.apache.ojb. broker.singlevm .PersistenceBro kerImpl.getRepo rtQueryIterator ByQuery(Persist enceBrokerImpl. java:2467)
at org.apache.ojb. broker.singlevm .PersistenceBro kerImpl.getCoun t(PersistenceBr okerImpl.java:2 438)
at org.apache.ojb. broker.accessla yer.RsIterator. countedSize(RsI terator.java:47 4)
at org.apache.ojb. broker.accessla yer.RsIterator. size(RsIterator .java:501)
at org.apache.ojb. broker.singlevm .PersistenceBro kerImpl.getColl ectionByQuery(P ersistenceBroke rImpl.java:1221 )
at org.apache.ojb. broker.singlevm .PersistenceBro kerImpl.getColl ectionByQuery(P ersistenceBroke rImpl.java:1372 )
at org.apache.ojb. broker.singlevm .PersistenceBro kerImpl.getColl ectionByQuery(P ersistenceBroke rImpl.java:1398 )
at org.apache.ojb. broker.singlevm .PersistenceBro kerImpl.getColl ectionByQuery(P ersistenceBroke rImpl.java:1385 )
at org.apache.ojb. broker.singlevm .DelegatingPers istenceBroker.g etCollectionByQ uery(Delegating PersistenceBrok er.java:306)
at au.com.ids.serv ice.persistence .ServiceDAO.fin dOrdersByStatus AndPlannedInDat e(ServiceDAO.ja va:114)
at au.com.ids.serv ice.businesslog ic.BookingConfi rmationControll er.findRepairBo okingsByDate(Bo okingConfirmati onController.ja va:240)
at au.com.ids.serv ice.businesslog ic.BookingConfi rmationControll er.retrieveBook ingConfirmation Lines(BookingCo nfirmationContr oller.java:307)
at au.com.ids.serv ice.businesslog ic.BookingConfi rmationControll er.doInitForm(B ookingConfirmat ionController.j ava:187)
at sun.reflect.Nat iveMethodAccess orImpl.invoke0( Native Method)
at sun.reflect.Nat iveMethodAccess orImpl.invoke(N ativeMethodAcce ssorImpl.java:3 9)
at sun.reflect.Del egatingMethodAc cessorImpl.invo ke(DelegatingMe thodAccessorImp l.java:25)
at java.lang.refle ct.Method.invok e(Method.java:3 24)
at au.com.ids.base .businesslogic. BaseController. invokeMethod(Ba seController.ja va:238)
at au.com.ids.base .businesslogic. BaseController. callInitMethod( BaseController. java:45)
at au.com.ids.base .action.CallIni tControllerActi on.perform(Call InitControllerA ction.java:60)
at au.com.ids.base .action.BaseAct ion.perform(Bas eAction.java:14 9)
at au.com.ids.base .action.BaseAct ion.execute(Bas eAction.java:12 6)
at org.apache.stru ts.action.Reque stProcessor.pro cessActionPerfo rm(RequestProce ssor.java:484)
at org.apache.stru ts.action.Reque stProcessor.pro cess(RequestPro cessor.java:274 )
at org.apache.stru ts.action.Actio nServlet.proces s(ActionServlet .java:1482)
at org.apache.stru ts.action.Actio nServlet.doGet( ActionServlet.j ava:507)
at javax.servlet.h ttp.HttpServlet .service(HttpSe rvlet.java:740)
at javax.servlet.h ttp.HttpServlet .service(HttpSe rvlet.java:853)
at org.apache.cata lina.core.Appli cationFilterCha in.internalDoFi lter(Applicatio nFilterChain.ja va:247)
at org.apache.cata lina.core.Appli cationFilterCha in.doFilter(App licationFilterC hain.java:193)
at au.com.ids.base .businesslogic. ResponseOverrid ingFilter.doFil ter(ResponseOve rridingFilter.j ava:61)
at org.apache.cata lina.core.Appli cationFilterCha in.internalDoFi lter(Applicatio nFilterChain.ja va:213)
at org.apache.cata lina.core.Appli cationFilterCha in.doFilter(App licationFilterC hain.java:193)
at au.com.ids.base .businesslogic. SetCharacterEnc odingFilter.doF ilter(SetCharac terEncodingFilt er.java:147)
at org.apache.cata lina.core.Appli cationFilterCha in.internalDoFi lter(Applicatio nFilterChain.ja va:213)
at org.apache.cata lina.core.Appli cationFilterCha in.doFilter(App licationFilterC hain.java:193)
at org.apache.cata lina.core.Stand ardWrapperValve .invoke(Standar dWrapperValve.j ava:256)
at org.apache.cata lina.core.Stand ardPipeline$Sta ndardPipelineVa lveContext.invo keNext(Standard Pipeline.java:6 43)
at org.apache.cata lina.core.Stand ardPipeline.inv oke(StandardPip eline.java:480)
at org.apache.cata lina.core.Conta inerBase.invoke (ContainerBase. java:995)
at org.apache.cata lina.core.Stand ardContextValve .invoke(Standar dContextValve.j ava:191)
at org.apache.cata lina.core.Stand ardPipeline$Sta ndardPipelineVa lveContext.invo keNext(Standard Pipeline.java:6 43)
at org.apache.cata lina.valves.Cer tificatesValve. invoke(Certific atesValve.java: 246)
at org.apache.cata lina.core.Stand ardPipeline$Sta ndardPipelineVa lveContext.invo keNext(Standard Pipeline.java:6 41)
at org.apache.cata lina.core.Stand ardPipeline.inv oke(StandardPip eline.java:480)
at org.apache.cata lina.core.Conta inerBase.invoke (ContainerBase. java:995)
at org.apache.cata lina.core.Stand ardContext.invo ke(StandardCont ext.java:2415)
at org.apache.cata lina.core.Stand ardHostValve.in voke(StandardHo stValve.java:18 0)
at org.apache.cata lina.core.Stand ardPipeline$Sta ndardPipelineVa lveContext.invo keNext(Standard Pipeline.java:6 43)
at org.apache.cata lina.valves.Err orDispatcherVal ve.invoke(Error DispatcherValve .java:171)
at org.apache.cata lina.core.Stand ardPipeline$Sta ndardPipelineVa lveContext.invo keNext(Standard Pipeline.java:6 41)
at org.apache.cata lina.valves.Err orReportValve.i nvoke(ErrorRepo rtValve.java:17 2)
at org.apache.cata lina.core.Stand ardPipeline$Sta ndardPipelineVa lveContext.invo keNext(Standard Pipeline.java:6 41)
at org.apache.cata lina.valves.Acc essLogValve.inv oke(AccessLogVa lve.java:509)
at org.apache.cata lina.core.Stand ardPipeline$Sta ndardPipelineVa lveContext.invo keNext(Standard Pipeline.java:6 41)
at org.apache.cata lina.core.Stand ardPipeline.inv oke(StandardPip eline.java:480)
at org.apache.cata lina.core.Conta inerBase.invoke (ContainerBase. java:995)
at org.apache.cata lina.core.Stand ardEngineValve. invoke(Standard EngineValve.jav a:174)
at org.apache.cata lina.core.Stand ardPipeline$Sta ndardPipelineVa lveContext.invo keNext(Standard Pipeline.java:6 43)
at org.apache.cata lina.core.Stand ardPipeline.inv oke(StandardPip eline.java:480)
at org.apache.cata lina.core.Conta inerBase.invoke (ContainerBase. java:995)
at org.apache.coyo te.tomcat4.Coyo teAdapter.servi ce(CoyoteAdapte r.java:223)
at org.apache.coyo te.http11.Http1 1Processor.proc ess(Http11Proce ssor.java:594)
at org.apache.coyo te.http11.Http1 1Protocol$Http1 1ConnectionHand ler.processConn ection(Http11Pr otocol.java:392 )
at org.apache.tomc at.util.net.Tcp WorkerThread.ru nIt(PoolTcpEndp oint.java:565)
at org.apache.tomc at.util.threads .ThreadPool$Con trolRunnable.ru n(ThreadPool.ja va:619)
at java.lang.Threa d.run(Thread.ja va:534)
Nov 12 '05 #1
2 1850

"Tom Davies" <to*******@optu snet.com.au> wrote in message
news:5c******** *************** ***@posting.goo gle.com...
Can anyone tell me how to find out what causes this error -- the
message is not very revealing!

I'm using DB2 8.1 fixpak 5 on Windows XP, using the Sun JDK 1.4.2.

Thanks,
Tom

com.ibm.db2.jcc .b.SQLException : 5
at com.ibm.db2.jcc .b.ce.e(ce.java :1093)
at com.ibm.db2.jcc .b.ce.a(ce.java :884)
at com.ibm.db2.jcc .a.bd.n(bd.java :535)
at com.ibm.db2.jcc .a.bd.i(bd.java :228)
at com.ibm.db2.jcc .a.bd.c(bd.java :54)
at com.ibm.db2.jcc .a.r.c(r.java:5 3)
at com.ibm.db2.jcc .a.bp.h(bp.java :156)
at com.ibm.db2.jcc .b.ce.j(ce.java :880)
at com.ibm.db2.jcc .b.cf.a(cf.java :1516)
at com.ibm.db2.jcc .b.cf.executeQu ery(cf.java:303 )
at org.apache.comm ons.dbcp.Delega tingPreparedSta tement.executeQ uery(Delegating P
reparedStatemen t.java:177) at org.apache.comm ons.dbcp.Delega tingPreparedSta tement.executeQ uery(Delegating P
reparedStatemen t.java:177) at org.apache.ojb. broker.accessla yer.JdbcAccess. executeQuery(Jd bcAccess.java:2 5
6) at org.apache.ojb. broker.accessla yer.RsIterator. (RsIterator.jav a:245)
at org.apache.ojb. broker.accessla yer.ReportQuery RsIterator.(Rep ortQueryRsItera t
or.java:84) at org.apache.ojb. broker.singlevm .ReportRsIterat orFactoryImpl.c reateRsIterator (
ReportRsIterato rFactoryImpl.ja va:96) at org.apache.ojb. broker.singlevm .PersistenceBro kerImpl.getRsIt eratorFromQuery (
PersistenceBrok erImpl.java:249 1) at org.apache.ojb. broker.singlevm .PersistenceBro kerImpl.getRsIt eratorFromQuery E
xtentAware(Pers istenceBrokerIm pl.java:1707) at org.apache.ojb. broker.singlevm .PersistenceBro kerImpl.getRepo rtQueryIterator F
romQuery(Persis tenceBrokerImpl .java:2548) at org.apache.ojb. broker.singlevm .PersistenceBro kerImpl.getRepo rtQueryIterator B
yQuery(Persiste nceBrokerImpl.j ava:2467) at org.apache.ojb. broker.singlevm .PersistenceBro kerImpl.getCoun t(PersistenceBr o
kerImpl.java:24 38) at org.apache.ojb. broker.accessla yer.RsIterator. countedSize(RsI terator.java:47 4
) at org.apache.ojb. broker.accessla yer.RsIterator. size(RsIterator .java:501)
at org.apache.ojb. broker.singlevm .PersistenceBro kerImpl.getColl ectionByQuery(P e
rsistenceBroker Impl.java:1221) at org.apache.ojb. broker.singlevm .PersistenceBro kerImpl.getColl ectionByQuery(P e
rsistenceBroker Impl.java:1372) at org.apache.ojb. broker.singlevm .PersistenceBro kerImpl.getColl ectionByQuery(P e
rsistenceBroker Impl.java:1398) at org.apache.ojb. broker.singlevm .PersistenceBro kerImpl.getColl ectionByQuery(P e
rsistenceBroker Impl.java:1385) at org.apache.ojb. broker.singlevm .DelegatingPers istenceBroker.g etCollectionByQ u
ery(DelegatingP ersistenceBroke r.java:306) at au.com.ids.serv ice.persistence .ServiceDAO.fin dOrdersByStatus AndPlannedInDat e
(ServiceDAO.jav a:114) at au.com.ids.serv ice.businesslog ic.BookingConfi rmationControll er.findRepairBo o
kingsByDate(Boo kingConfirmatio nController.jav a:240) at au.com.ids.serv ice.businesslog ic.BookingConfi rmationControll er.retrieveBook i
ngConfirmationL ines(BookingCon firmationContro ller.java:307) at au.com.ids.serv ice.businesslog ic.BookingConfi rmationControll er.doInitForm(B o
okingConfirmati onController.ja va:187) at sun.reflect.Nat iveMethodAccess orImpl.invoke0( Native Method)
at sun.reflect.Nat iveMethodAccess orImpl.invoke(N ativeMethodAcce ssorImpl.java:3 9
) at sun.reflect.Del egatingMethodAc cessorImpl.invo ke(DelegatingMe thodAccessorImp l
..java:25) at java.lang.refle ct.Method.invok e(Method.java:3 24)
at au.com.ids.base .businesslogic. BaseController. invokeMethod(Ba seController.ja v
a:238) at au.com.ids.base .businesslogic. BaseController. callInitMethod( BaseController. j
ava:45) at au.com.ids.base .action.CallIni tControllerActi on.perform(Call InitControllerA c
tion.java:60) at au.com.ids.base .action.BaseAct ion.perform(Bas eAction.java:14 9)
at au.com.ids.base .action.BaseAct ion.execute(Bas eAction.java:12 6)
at org.apache.stru ts.action.Reque stProcessor.pro cessActionPerfo rm(RequestProce s
sor.java:484) at org.apache.stru ts.action.Reque stProcessor.pro cess(RequestPro cessor.java:274 ) at org.apache.stru ts.action.Actio nServlet.proces s(ActionServlet .java:1482)
at org.apache.stru ts.action.Actio nServlet.doGet( ActionServlet.j ava:507)
at javax.servlet.h ttp.HttpServlet .service(HttpSe rvlet.java:740)
at javax.servlet.h ttp.HttpServlet .service(HttpSe rvlet.java:853)
at org.apache.cata lina.core.Appli cationFilterCha in.internalDoFi lter(Applicatio n
FilterChain.jav a:247) at org.apache.cata lina.core.Appli cationFilterCha in.doFilter(App licationFilterC h
ain.java:193) at au.com.ids.base .businesslogic. ResponseOverrid ingFilter.doFil ter(ResponseOve r
ridingFilter.ja va:61) at org.apache.cata lina.core.Appli cationFilterCha in.internalDoFi lter(Applicatio n
FilterChain.jav a:213) at org.apache.cata lina.core.Appli cationFilterCha in.doFilter(App licationFilterC h
ain.java:193) at au.com.ids.base .businesslogic. SetCharacterEnc odingFilter.doF ilter(SetCharac t
erEncodingFilte r.java:147) at org.apache.cata lina.core.Appli cationFilterCha in.internalDoFi lter(Applicatio n
FilterChain.jav a:213) at org.apache.cata lina.core.Appli cationFilterCha in.doFilter(App licationFilterC h
ain.java:193) at org.apache.cata lina.core.Stand ardWrapperValve .invoke(Standar dWrapperValve.j a
va:256) at org.apache.cata lina.core.Stand ardPipeline$Sta ndardPipelineVa lveContext.invo k
eNext(StandardP ipeline.java:64 3) at org.apache.cata lina.core.Stand ardPipeline.inv oke(StandardPip eline.java:480) at org.apache.cata lina.core.Conta inerBase.invoke (ContainerBase. java:995)
at org.apache.cata lina.core.Stand ardContextValve .invoke(Standar dContextValve.j a
va:191) at org.apache.cata lina.core.Stand ardPipeline$Sta ndardPipelineVa lveContext.invo k
eNext(StandardP ipeline.java:64 3) at org.apache.cata lina.valves.Cer tificatesValve. invoke(Certific atesValve.java: 2
46) at org.apache.cata lina.core.Stand ardPipeline$Sta ndardPipelineVa lveContext.invo k
eNext(StandardP ipeline.java:64 1) at org.apache.cata lina.core.Stand ardPipeline.inv oke(StandardPip eline.java:480) at org.apache.cata lina.core.Conta inerBase.invoke (ContainerBase. java:995)
at org.apache.cata lina.core.Stand ardContext.invo ke(StandardCont ext.java:2415) at org.apache.cata lina.core.Stand ardHostValve.in voke(StandardHo stValve.java:18 0
) at org.apache.cata lina.core.Stand ardPipeline$Sta ndardPipelineVa lveContext.invo k
eNext(StandardP ipeline.java:64 3) at org.apache.cata lina.valves.Err orDispatcherVal ve.invoke(Error DispatcherValve .
java:171) at org.apache.cata lina.core.Stand ardPipeline$Sta ndardPipelineVa lveContext.invo k
eNext(StandardP ipeline.java:64 1) at org.apache.cata lina.valves.Err orReportValve.i nvoke(ErrorRepo rtValve.java:17 2
) at org.apache.cata lina.core.Stand ardPipeline$Sta ndardPipelineVa lveContext.invo k
eNext(StandardP ipeline.java:64 1) at org.apache.cata lina.valves.Acc essLogValve.inv oke(AccessLogVa lve.java:509) at org.apache.cata lina.core.Stand ardPipeline$Sta ndardPipelineVa lveContext.invo k
eNext(StandardP ipeline.java:64 1) at org.apache.cata lina.core.Stand ardPipeline.inv oke(StandardPip eline.java:480) at org.apache.cata lina.core.Conta inerBase.invoke (ContainerBase. java:995)
at org.apache.cata lina.core.Stand ardEngineValve. invoke(Standard EngineValve.jav a
:174) at org.apache.cata lina.core.Stand ardPipeline$Sta ndardPipelineVa lveContext.invo k
eNext(StandardP ipeline.java:64 3) at org.apache.cata lina.core.Stand ardPipeline.inv oke(StandardPip eline.java:480) at org.apache.cata lina.core.Conta inerBase.invoke (ContainerBase. java:995)
at org.apache.coyo te.tomcat4.Coyo teAdapter.servi ce(CoyoteAdapte r.java:223)
at org.apache.coyo te.http11.Http1 1Processor.proc ess(Http11Proce ssor.java:594) at org.apache.coyo te.http11.Http1 1Protocol$Http1 1ConnectionHand ler.processConn e
ction(Http11Pro tocol.java:392) at org.apache.tomc at.util.net.Tcp WorkerThread.ru nIt(PoolTcpEndp oint.java:565) at org.apache.tomc at.util.threads .ThreadPool$Con trolRunnable.ru n(ThreadPool.ja v
a:619) at java.lang.Threa d.run(Thread.ja va:534)


It's hard to answer this question - or even guess - without more
information. What sort of program is it? A stored procedure? UDF? What is
the program trying to do? (I realize that may be difficult to answer
precisely since none of the stacktrace methods looks as if it is in the
application itself.) Has the program ever worked or is this the first time
you ran it? If it used to work but is now broken, what has changed in your
environment since you last ran it successfully?

I see a lot of Tomcat and Struts methods in the stacktrace. Is this a
servlet or JSP?

Rhino
Nov 12 '05 #2
"Rhino" <rh****@NOSPAM. sympatico.ca> wrote in message news:<xx******* **************@ news20.bellglob al.com>...
"Tom Davies" <to*******@optu snet.com.au> wrote in message
news:5c******** *************** ***@posting.goo gle.com...
Can anyone tell me how to find out what causes this error -- the
message is not very revealing!
[snip] It's hard to answer this question - or even guess - without more
information. What sort of program is it? A stored procedure? UDF? What is
the program trying to do? (I realize that may be difficult to answer
precisely since none of the stacktrace methods looks as if it is in the
application itself.) Has the program ever worked or is this the first time
you ran it? If it used to work but is now broken, what has changed in your
environment since you last ran it successfully?

I see a lot of Tomcat and Struts methods in the stacktrace. Is this a
servlet or JSP?


Thanks for even looking at it! It is a servlet.

Further experimentation shows that under Linux I get the full error
message, but under windows I don't.

The actual error is:

Caused by: com.ibm.db2.jcc .b.SQLException : The value of input host
variable or parameter number "5" cannot be used because of its data
type.

The statement being executed is a prepared statement, and parameter 5
is of type java.sql.Date. It is used in the where clause of the
statement thus:

.... DATE(in_date) = ? ...

in_date is a timestamp column.

The interesting thing is that the statement is fine with the older
db2java.zip JDBC driver (COM.ibm.db2.jd bc.app.DB2Drive r), but using
the jcc driver (com.ibm.db2.jc c.DB2Driver) the error occurs.

Tom
Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
4237
by: Robert Mazur | last post by:
MySQL 5.0 alpha (binary install) on Solaris 9 -or- RedHat 8.0 mysql-connector-java-3.0.8-stable ----------------------- Is there something different going on with JDBC and the alpha version of MySQL 5.0? When trying to connect I am getting: ** BEGIN NESTED EXCEPTION **
5
2026
oll3i
by: oll3i | last post by:
my librarybean package library.ejb; import java.sql.*; import javax.ejb.*; import library.common.*; @Stateless @Remote
2
4542
by: bevis | last post by:
I'm new to sql server and mysql but this seems like it should be a pretty straight forward jdbc connection. But I have spent almost 2 days just trying to get a jdbc connection. Please help if you can. I'm using Eclipse 3.2.2 and I have installed mysql-connector-java-5.0.6-bin.jar. I am trying to connect to SQL Enterprise Manager version 8.0 innstall on a Windows 2003 Server Enterprise Edition. I have been able to successfully test...
0
6509
by: neuraljay | last post by:
hi everyone. I am trying to build a jsp using webwork, hibernate and mysql. And right now I am doing its unit testing. Everytime I run the test I am getting this error: Error JDBC exception on Hibernate data access; nested exception is org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update org.springframework.orm.hibernate3.HibernateJdbcException: JDBC exception on Hibernate data access; nested exception is...
0
8262
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8701
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8637
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7192
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6122
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5571
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4090
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2623
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1507
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.