ObjectDB ObjectDB

Internal Website Search

11-20 of 200 resultsRefresh
112

"Unsupported auto value type java.lang.String" when persisting new instance

.String for field hr.hzmo.network.model.Device.ID (error 323) at com.objectdb.jpa.EMImpl.persist ... (NetworkInformationDatabase.java:71) Caused by: com.objectdb.o.UserException: Unsupported auto value type java.lang.String ... for primary key: @Id @GeneratedValue(strategy=GenerationType.IDENTITY) private String ID; kiki
112

String Contains Query Result - Possible?

Hi, I have a managed database for an Entity, "Program", containing a String field, "description", that is effectively a unique sub-string of a system generated description. Example ... wildcards as the input string will be larger than the string being searched for. Presently
112

substring works with string but not with char

with a string parameter select f from Foo f where substring(f.name, 1, 1) = ?1 but when i use a char ... of the left side expression is String and the type on the right side expression (the parameter) is Character. In ObjectDB as in Java char is comparable to int but not to String. Maybe an exception
112

String representation of a query

Hi, Is it possible to get a JPQL string having a Query object instance? JpaQuery class doesn't ... that information with JPQL string and parameters map to find and optimize the most ineffective cases. kborkowski Karol Borkowski Following your request a toString implementation that returns the query string
111

Schema migration - long to String

Hi, I need to change field type in our model from long to String. After changing filed type in our model and repairing database with doctor, most of our entities is gone. Doctor puts some errors ... ? lwalkowski Lukasz Walkowski Changing a field from long to String should not require any specific action
111

order by string with numbers

Hi Anyone could help me I need to order a string for example user1, user2, ..., user1000 I found sql solution but I would like to use criteria builder and I don´t if exist CAST and AS UNSIGNED ... is supported by ObjectDB in JPQL string queries. You may try using Integer.parseInt as a JPA criteria query function. support Support
111

Error reading UTF string

reading UTF string com.objectdb.o.InternalException: Error reading UTF string at com
22

Enable intern() for Retrieved Strings

Implement a setting, where the developer can specify which Strings should be loaded via the String ... of instantiating every first name with a new String, the user should be able to specify that this field should be loaded via String.intern() (with all its advantages and disadvantages). mlaggner Manuel Laggner
22

Collation and String Order

ObjectDB should support selecting collation when a new database is created. The collation will affect the way strings are sorted in queries (with ORDER BY). Currently strings are always ordered by Unicode order, and a workaround that enables controlling the order is to use normalizing, as discussed
22

@Enumerated(EnumType.STRING) annotation inhibits proper execution of IN expressions.

When the following annotation is present on an enum type entity field: @Enumerated(EnumType.STRING) Queries using JPQL IN expressions on this field won't work correctly anymore. This issue ... (EnumType.STRING), as your suggestion. It happened because ObjectDB considered a collection of emum

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