query stringlengths 1 74.9k | positive stringlengths 0 174k | negative stringlengths 1 174k | label float64 1 1 | task_name stringclasses 33
values |
|---|---|---|---|---|
Spring cannot propagate transaction to ForkJoin's RecursiveAction | How to propagate Spring transaction to another thread? | Finding the biggest number with ForkJoin | 1 | stackoverflowdupquestions |
Java implementation for Min-Max Heap? | Is there a Heap in java? | What implementation of heap does Java use? | 1 | stackoverflowdupquestions |
java.lang.NoSuchMethodError: javax.persistence.Table.indexes()[Ljavax/persistence/Index; | NoSuchMethodError in javax.persistence.Table.indexes()[Ljavax/persistence/Index | What's wrong with my persistence? | 1 | stackoverflowdupquestions |
Java - Store byte array as String in DB and create byte array using String value | Java Byte Array to String to Byte Array | How to AND byte array in Java? | 1 | stackoverflowdupquestions |
ANTLR - NoViableAltException | ANTLR NoViableAltException with JAVA | antlr return values as key-value | 1 | stackoverflowdupquestions |
How to extract audio from a video file and make it as JavaSound AudioInputStream? | how can i extract audio from a video file through java program | AudioInputStream to an array | 1 | stackoverflowdupquestions |
key-value pairs collection maintaining order and retrieving by key and by pair index? | Best Java Collection to store key, value pairs and access its objects by Index or by key name | Which data structure should I use for maintaining this information? | 1 | stackoverflowdupquestions |
sizeof java object | Is sizeof a keyword in Java | What is the Object class in Java? | 1 | stackoverflowdupquestions |
How can i resolve java.lang.ClassNotFoundException: org.hibernate.util.DTDEntityResolver when using Spring 3.1 with Hibernate 4.0.1? | Hibernate java.lang.NoClassDefFoundError: org/hibernate/util/DTDEntityResolver | Hibernate HttpMessageNotWritableException | 1 | stackoverflowdupquestions |
GZIPInputStream - Corrupt GZIP Trailer | Is this a bug in the Java GZipInputStream class? | Gets the uncompressed size of this GZIPInputStream? | 1 | stackoverflowdupquestions |
No hs_err_pid.log file created and core dumped from jvm on Solaris | How can I suppress the creation of the hs_err_pid file? | Jenkins on Solaris 10 64 bit | 1 | stackoverflowdupquestions |
Calling PL/SQL procedure with SYS_REFCURSOR as IN parameter using JDBC | Create and pass SYS_REFCURSOR as an input parameter to Oracle procedure from Java | Can I update the result (sys_refcursor) of an Oracle stored procedure (in Java)? | 1 | stackoverflowdupquestions |
Javax JMenuBar with Mac | How do I move my JMenuBar to the screen menu bar on Mac OS X? | can't set JMenuBar | 1 | stackoverflowdupquestions |
Check orientation on Android phone | android - how can I get current orientation? | How to get any file from android phone | 1 | stackoverflowdupquestions |
Which compression (is GZIP the most popular) servlet filter would you suggest? | GZip compression of REST response | Path Compression , How does this code is path compression? | 1 | stackoverflowdupquestions |
Short circuit vs non short circuit operators | Reason for the existence of non-short-circuit logical operators | How to short-circuit a reduce() operation on a Stream? | 1 | stackoverflowdupquestions |
Error inflating when extending a class | Android - Error inflating layout | Inflating view from within instance not working | 1 | stackoverflowdupquestions |
JUnit Plug-in Tests Ignoring Target Platform | JUnit Plug-in Test Ignores Target Platform in Eclipse Neon | How to find jUnit tests in a Java project? | 1 | stackoverflowdupquestions |
can't import javax.servlet.annotation.WebServlet; | WebServlet cannot be resolved to a type | Where do I get the javax.servlet.http.annotation package from? | 1 | stackoverflowdupquestions |
Dynamically loading plugin jars using ServiceLoader | How to customize where ServiceLoader looks for Plugin Jars | Using Java ServiceLoader results NoSuchElementException error | 1 | stackoverflowdupquestions |
Generic method inside interface | How implement an interface Generic Method | How to return the generic type of an object inside generic class? | 1 | stackoverflowdupquestions |
How to parse a cookie string | How to parse the 'Cookie' header into `javax.servlet.http.Cookie` with Spring? | Delete a cookie by its value | 1 | stackoverflowdupquestions |
How to make Hibernate ignore a method? | Make hibernate ignore class variables that are not mapped | Performasure and hibernate | 1 | stackoverflowdupquestions |
Get Enum Instance from Class<? extends Enum> using String value? | Getting Enum from an integer having a Class<? extends Enum> object | How to get an Enum using its value | 1 | stackoverflowdupquestions |
Grizzly Standalone Logging | grizzly does not log Exceptions in requests | Loading a Grizzly/Jersey server in a JAR | 1 | stackoverflowdupquestions |
using dll library in android application | How to import .dll to Android java project (working with eclipse) | How can I get the path of a given dll in java? | 1 | stackoverflowdupquestions |
Why is UncaughtExceptionHandler not called by ExecutorService? | Choose between ExecutorService's submit and ExecutorService's execute | Java UncaughtExceptionHandler haven't got any exception using JNI | 1 | stackoverflowdupquestions |
How can you pass data from a Filter to the endpoint in Jersey | Jersey: Pass value from ContainerRequestFilter to endpoint | Intercept jersey endpoint methods | 1 | stackoverflowdupquestions |
Multiply table insert using JDBC | How to get the insert ID in JDBC? | INSERT SELECT JAVA JDBC | 1 | stackoverflowdupquestions |
@RolesAllowed cannot be resolved with Jersey | How do I get the @RolesAllowed annotation to work for my Web application? | SpringUtilities cannot be resolved | 1 | stackoverflowdupquestions |
Which Swing layout(s) do you recommend? | What's the most common used layout in Swing? | Java Swing Layout | 1 | stackoverflowdupquestions |
Bidirectional binding with ObjectBinding in JavaFX | Custom bidirectional bindings in JavaFX | Multiple Boolean Binding in JavaFX | 1 | stackoverflowdupquestions |
new ObjectInputStream() blocks | Socket ObjectOutpuStream ObjectInputStream | get the ObjectInputStream to see the different objects | 1 | stackoverflowdupquestions |
A range intersection algorithm better than O(n)? | Java algorithm for find intersection between intervals | Difference between intersection algorithm and Rectangle.intersects(Rectangle r) | 1 | stackoverflowdupquestions |
How to align image to center of table cell (SWT Table) | How to align image to center of table cell (SWT Table) RAP Platform | How to add image on the right side of the table column and table cell using SWT in java | 1 | stackoverflowdupquestions |
Load classes from a jar file from a url to memory and then run the main class out of all the classes | How to load classes from jar file in-memory stream | Deport classes in java? | 1 | stackoverflowdupquestions |
How to setup Main class in manifest file in jar produced by NetBeans project | Netbeans Maven Project Not adding Main Class to Manifest | Java jar - no main manifest attribute | 1 | stackoverflowdupquestions |
Java's WeakHashMap and caching: Why is it referencing the keys, not the values? | When would you use a WeakHashMap or a WeakReference? | WeakHashMap example | 1 | stackoverflowdupquestions |
Update a java thread's stack size at runtime | How can I change the stack size (of a thread) in my Android Application? | Stack Memory during Runtime | 1 | stackoverflowdupquestions |
org.hibernate.loader.MultipleBagFetchException: cannot simultaneously fetch multiple bags | Hibernate cannot simultaneously fetch multiple bags | Hibernate - multiple many to many associations - cannot simultaneously fetch multiple bags | 1 | stackoverflowdupquestions |
Binding a list in @RequestParam | Using @RequestParam for multiple POST-Parameters | How to get Map<String, String[]> data with @RequestParam in controller? | 1 | stackoverflowdupquestions |
Android abstract parcelable class | Abstract class as parcelable | Android Parcelable trouble | 1 | stackoverflowdupquestions |
Is there any way for DBUnit to automatically create tables? | DBUnit setup method not called? | Expoting Dataset to a xml file giving error in DBunit | 1 | stackoverflowdupquestions |
Use REST API support in local development environment for Hyperledger Fabric V1.0 | Issue while using fabric client java sdk (since there is no Rest API support) in local development environment for Hyperledher Fabric V1.0 | How do you run the fabric-java-sdk 1.0.1 end to end test? | 1 | stackoverflowdupquestions |
Default value of boolean and Boolean in Java | Is Java's default value for Boolean 'true'? | Java boolean method return | 1 | stackoverflowdupquestions |
Contradictory explanations of MVC in JSF | Understanding JSF as a MVC framework | Are getters and setters poor design? Contradictory advice seen | 1 | stackoverflowdupquestions |
Is that a right way of using interface callback? | What is callback in Android? | What is a callback in java | 1 | stackoverflowdupquestions |
How to know when a CompletionService is finished delivering results? | When should I use a CompletionService over an ExecutorService? | Failure Delivering Result Result Info | 1 | stackoverflowdupquestions |
How to modify the clip string ellipses used by Swing when laying out text components | I don't want JTable to truncate text with ellipses | Fix malformed ellipses in a string | 1 | stackoverflowdupquestions |
Examples of Java CPU-intensive calculations that can not be optimized | Simulating CPU-intensive Task having fixed amount of work | How cpu intensive is opening a socket | 1 | stackoverflowdupquestions |
How do I add the new currency code to Java? | How do I add a new Currency to java.util.Currency for an existing country code in Java 7? | how to convert currency format to double in java | 1 | stackoverflowdupquestions |
JDBC connection pool runs out of connections when Context reload="true" is enabled in Tomcat | Tomcat JDBC connection pool issue: "Statement is closed" | Getting Tomcat to reload a web app with a static context | 1 | stackoverflowdupquestions |
How to parse XML for <![CDATA[]]> | How can i parse an XML file with HTML tags inside CDATA section? | HTML CDATA issue | 1 | stackoverflowdupquestions |
What is the "owning side" in an ORM mapping? | Hibernate bidirectional @ManyToOne, updating the not owning side not working | OneToOne mapping to an Entity from multiple owning entities | 1 | stackoverflowdupquestions |
Zoom in and out of images in Java | Zoom an Image after ActionListener | Java android ImageView with zoom | 1 | stackoverflowdupquestions |
Weblogic setting for proxy | Proxy Implementation with WebLogic 11g | Class not found Exception from Weblogic 9.2 | 1 | stackoverflowdupquestions |
read file from remote pc where directory contain user name and password authentication | Read remote file in java which needs username and password | How to change other user password after authentication of one user | 1 | stackoverflowdupquestions |
Use of overriding getPreferredSize() instead of using setPreferredSize() for fixed size Components | Overriding getPreferredSize() breaks LSP | Why setPreferredSize does not change the size of the button? | 1 | stackoverflowdupquestions |
Turn off java.util.logging for a specific package programmatically | How can I turn off extra logging? | How do I programmatically create XML from Java? | 1 | stackoverflowdupquestions |
Building an absolute URL from a relative URL in Java | How to extract the relative url from the absolute url in Java | How can I get the relative and absolute cursor position? | 1 | stackoverflowdupquestions |
Correlation between Java EE / J2EE to J2SE / JDK versions | Difference between JDK, J2EE and J2SE codename | spring kafkatemplate correlation id | 1 | stackoverflowdupquestions |
Java getDate date-x days | adding days to a date | How to replace getDate() from the type Date which is deprecated? | 1 | stackoverflowdupquestions |
Java collect function gives cyclic inference error | cyclic inference java lambda groupingby | Java generic type inference | 1 | stackoverflowdupquestions |
SwingWorker get a result | How do I use SwingWorker in Java? | How to use SwingWorker? | 1 | stackoverflowdupquestions |
How to call Mono for Android class from within Android application? | Using C# library with Mono for Android from Java code? | Mono for Android or Java, coding a game on Android | 1 | stackoverflowdupquestions |
Jackcess "NoClassDefFoundError" exception | How to select a column with Jackcess | Looping a result set for a condition in Java using Jackcess | 1 | stackoverflowdupquestions |
Compiling java 7 for java 6 with Eclipse | Compiling Java 7 to Java 6 | Why is this Java code not compiling? | 1 | stackoverflowdupquestions |
GlassFish SHA-256 digest authentication | Glassfish Security - jdbcRealm: How to configure login with SHA-256 digest | Can't get to have SHA-256 hash working with my spring security | 1 | stackoverflowdupquestions |
Google Drive SDK API does not lists the file uploaded by Google Drive in java | Google drive API does not list all my files | google drive api java write file without need to create a java file first | 1 | stackoverflowdupquestions |
How to consume Page<Entity> response using Spring RestTemplate | Get list of JSON objects with Spring RestTemplate | Spring RestTemplate Dependency Error | 1 | stackoverflowdupquestions |
what is the difference between a portlet and a servlet? | What does Servlet API and Portlet API mean? | Send the value back from pop up portlet to parent portlet | 1 | stackoverflowdupquestions |
Populating a List with a contiguous range of shorts | Populating a List with a contiguous range of integers | Remove contiguous duplicate elements from an array list in Java (with panache) | 1 | stackoverflowdupquestions |
How is instanceof implemented in modern JVM implementations? | How instanceof is implemented inside JAVA? | How to find type without using instanceof? | 1 | stackoverflowdupquestions |
How to unwrap the original object from a dynamic proxy | Proxy in Java with a dynamic interface | Why I'm not able to unwrap and serialize a Java map using the Jackson Java library? | 1 | stackoverflowdupquestions |
Printing with Attributes(Tray Control, Duplex, etc...) using javax.print library | Print duplex in Java | Java look and feel for tray does not work | 1 | stackoverflowdupquestions |
How to Sort Date in descending order From Arraylist Date in android? | How to Sort an Arraylist of Date in ascending and descending order which is in String format | how to sort date in descending order using comparator | 1 | stackoverflowdupquestions |
What makes hot deployment a "hard problem"? | How hot deployment works internally? | Java hot code replace failed for specific class | 1 | stackoverflowdupquestions |
Eclipse Java Virtual Machine Launcher jvm.cfg Error | Java path..Error of jvm.cfg | How to fix Eclipse Java Virtual Machine Launcher Error? | 1 | stackoverflowdupquestions |
Error: Unable to access jarfile. Encoding issue | UTF-8 characters in a path to a jarfile | Unable to access jarfile, `ProcessBuilder` | 1 | stackoverflowdupquestions |
JSoup.connect throws 403 error while apache.httpclient is able to fetch the content | 403 error while getting the google result using jsoup | Download file with Apache HttpClient | 1 | stackoverflowdupquestions |
Understanding this warning: The serializable class does not declare a static final serialVersionUID | how to remove the warning The serializable class ClASSNAME does not declare a static final serialVersionUID field of type long | Why serialVersionUID is of type long for Serializable classes | 1 | stackoverflowdupquestions |
Public key from private key in java is incorrect | Get public key from private in Java | Java: Generate a custom Private and Public key? | 1 | stackoverflowdupquestions |
creating a map with duplicate keys | java map with duplicate keys | How to check if a Map has duplicate key? | 1 | stackoverflowdupquestions |
Difference between dispose and exit on close in java | JFrame.dispose() vs System.exit() | dispose() is not the same as setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE) | 1 | stackoverflowdupquestions |
ERROR: No enclosing instance of type OOPTutorial is accessible | Java - No enclosing instance of type Foo is accessible | get Name of enclosing Method | 1 | stackoverflowdupquestions |
Maven: compile aspectj project containing Java 1.6 source | Which maven plugin do I use for AspectJ? | Maven vs. AspectJ - Example? | 1 | stackoverflowdupquestions |
CEF development in Eclipse with Java | Setting up CEF development in Eclipse for Java? | Can I "use" Java 8 with Android Development now? | 1 | stackoverflowdupquestions |
Android Studio error: "Environment variable does not point to a valid JVM installation" | Android Studio - No JVM Installation found | Android Studio 3.0 DexArchiveBuilderException | 1 | stackoverflowdupquestions |
Building JPA Criteria API query - sorting by number of elements in collection | Order in JPA Criteria API | Criteria API JPA | 1 | stackoverflowdupquestions |
Unable to obtain OffsetDateTime from TemporalAccessor | Unable to obtain ZonedDateTime from TemporalAccessor when parsing a Date | Java: Unable to obtain LocalDate from TemporalAccessor | 1 | stackoverflowdupquestions |
Log4j: One log file per request | Log4j - file log for each thread | Not able to log in different files: Log4j | 1 | stackoverflowdupquestions |
JNI - native method with ByteBuffer parameter | How to send Java ByteBuffer to C using JNI? | Create a DataBufferUShort from a ByteBuffer | 1 | stackoverflowdupquestions |
Why does java.util.Properties implement Map<Object,Object> and not Map<String,String> | How to convert Map<Object, Object> to Map<String, String> in java? | java.util.Map with HtmlDataTable | 1 | stackoverflowdupquestions |
Java String Immutability and Using same string value to create a new string | Immutability of Strings in Java | Recursion and Immutability | 1 | stackoverflowdupquestions |
Can I re-order an existing XML to adhere to an XSD | Create XML from XSD using Java | Generic XSD for all type of XML | 1 | stackoverflowdupquestions |
How to set up multiple source folders within a single Eclipse project? | Two different source folders with different output folders in eclipse having same type java source files;not getting compiled | Why Eclipse duplicate folders and files? | 1 | stackoverflowdupquestions |
Java MergeSort - Out Of Memory Error: Java Heap Space | mergeSort with List interface | Java: Mergesort for ArrayList does not work | 1 | stackoverflowdupquestions |
No enclosing instance of type test is accessible. Must qualify the allocation with an enclosing instance of type test error on a simple test Program | Java - No enclosing instance of type Foo is accessible | No enclosing instance of type MainRender is accessible | 1 | stackoverflowdupquestions |
Appending line to file with FileLock | Java FileLock for Reading and Writing | Random access file FileLock: java.io vs. java.nio | 1 | stackoverflowdupquestions |
Tomcat: use FTP connection via JNDI | URL Connection (FTP) in Java - Simple Question | FTP connection drivehq | 1 | stackoverflowdupquestions |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.