ObjectDB ObjectDB

Internal Website Search

81-90 of 200 resultsRefresh
6

Multi selection and distinct in a criteria query

hi, How can I realize multi selection with the criteria api concerning distinct? I.e. doing something like SELECT DISTINCT $1, $2 wouldn't work because I do only have something like criteria.multiselect(...) and nothing like builder.distinct(selection) so that I could do something like criteria
6

How to Remove records from many to many relationship tables in JPA

have Relation tables TransportationEvent and Conclusion , relations like @Entity public class ... i have got another two table like Conclusion_TransportationEvent and TransportationEvent_Conclusion ... ) here i am trying to delete conclusion table records like bellow: removeConclusions(conclusion
6

Catching exceptions from online backup

.setUncaughtExceptionHandler((t, e) -> {     // handle the exception in the way we would like ... has the exception stored in itself in field 'a', like u can see on the attached screen. So my suggestion ... thread would be nice solution for us. jakab Gergely Jakab Please check build 2.8.9_02 with something like
6

java.sql.Date equals comparison not working with CriteriaAPI

value doesn't match any results in the database. Our code looks like this: CriteriaBuilder builder ... method of the created predicate yields in something like: $1.eintritt=2013-11-01 whereas as seen in my manual query string i do something like: $1.eintritt = {d '2013-11-01'} Any ideas
6

slow performance for a complex query

Hi, We have a query that is constructed dynamically, an example is like this: SELECT DISTINCT $1 FROM CDI $1, Organisation $2, Organisation $3 WHERE ((UPPER($1.cdiId) LIKE 'THREAD14%') AND ((($1 ... ObjectDB. Is there any other way to specify execution order of query components for a complex query like
6

Spring MVC Errors

.com/tbIsj.png and then when I try to start it anyways I get things like thaat: 2. https://i.imgur.com ... still have the error from picture 1. It works, on server like it should but in eclipse I still have a error like this: Description Resource Path Location Type Plugin execution not covered by lifecycle
6

Query to search for common elements in two separate collections.

for identical members. Something like: SELECT o FROM Object o WHERE o.someCollection CONTAINS MEMBER OF :someCollection Is something like this possible in the JPA spec? bensteele Ben Steele A possible ... Support Sounds like you are suggesting a solution to matching the entire contents of a collection
6

Issue with Casting / Joins

Hi I can't seem to find my way out of this. Basically what I have is something like: @Embeddable ... if you can just tell me: 3. How to do this? I mean, how does such a cast look like and how do I know what the substitution looks like from the generated query? Alex quasado Alexander Adam The following code
6

How to store and compare Date up to sec.

How to store and compare date up to sec? By default it stores the dates like "23 May, 2020 10:25:23 ... :23 AM") like MySql and other db. They stores the date up to sec. Manoj Manoj Kumar Maharana ... you like, before the object is stored in the database. e.g. https://stackoverflow.com/questions/227007
6

Externalising persistence.xml properties in Glassfish?

> <properties> <!-- TODO: I would like at all costs not to have any URL ... > </persistence> Then in your server config you define every property as an argument to the JVM like ... PostgreSQL / MySQL question, it seemed more like a general question. Let me know if you need

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support