About example

21-30 of 200Refresh
Forum
24

UserException: Package com.example.model is not found by the enhancer

and move the dist directory out of the project to a remote location and run it using java -jar example.jar then I get the exception: com.objectdb.o.UserException: Package com.example.model is not found by the enhancer It occurs on this line: com.objectdb.Enhancer.enhance("com.example.model
Manual
24

Literals in JPQL and Criteria Queries

. Following are examples of valid numeric literals in JPQL: int: 100, -127, 0, 07777 long: 100L, -127L, 0L ... 'yyyy-mm-dd'} - for example: {d '2019-12-31'} Time - {t 'hh:mm:ss'} - for example: {t '23:59:59'} Timestamp - {ts 'yyyy-mm-dd hh:mm:ss'} - for example: {ts '2020-01-03 13:59:59'} Enum Literals JPA 2 adds
Forum
24

Concerning coding style of the example in the posting instructions

to the coding example in the posting instructions and many of your other examples posted in the forums. While I appreciate the recommended coding style as shown makes for convenient minimal examples ... , compliant entity classes belong in separate files. Secondly, in many forum posting examples, package
Forum
24

Suggestion for improving the examples

and INDEXES were included. Frankly it is a huge wast those examples have not been provided. For example ... Object but wait What does the table look like. Nope not in the example. Wait but what about some ... getters and setters   so If I wish to access my @EmbeddableId  Address    as in your example, I
Forum
24

ObjectDB CRUD Examples

are explained and demonstrated in these manual pages. We do not have specific NetBeans examples in ... finding these examples: http://www.objectdb.com/java/jpa/persistence/crud difficult as they don't really give a full example of what to do. This makes it difficult as this is really the only place
Forum
23

ObjectDB and Spring Boot - sharing a simple working example

Following previous questions on the subject I'd like to share a simple working example of ObjectDB and Spring Boot. The code of the example can be found here: https://github.com/kirshamir/spring-data-jpa-objectdb  The example uses the automatic query generation performed by Spring and it works
Forum
23

Example database world.odb

Hello! Where can I find classes for example database world.odb? Thanks for the answer.   The source code of the relevant entity classes is attached. Can You send a main file? Thanks a lot ... that describes the relationships OneToMany and ManyToMany? I want to see a working example
Forum
23

Guestbook example from tutorial does not work.

example. If i place the object-jee.jar to th /Web-inf/lib directory it works. Another alternative ... TomEE. The tutorial and Maven examples have been updated and tested successfully with TomEE 1.7.2 and ObjectDB 2.6.2_02. fjubuu
Forum
23

Suggest link to Maven example from Enhancer tool page

The maven plugin example here is incomplete: https://www.objectdb.com/java/jpa/tool/enhancer#Maven_and_ANT_Enhancement_ Taken literally it can't work because it's missing this:             example: https://www.objectdb.com/tutorial/jpa/web/maven Needs
Forum
23

Your Glassfish example on the web

Hi, I'm doing a school project with objectdb and glassfish. I have tried your web tutorial "Java EE JPA (Glassfish) with Netbeans". When I try to run the example and add an entry in the guestbook, it throws this exception: com.objectdb.o._PersistenceException: Attempt to obtain a connection from