Giter Site home page Giter Site logo

Anastasiia's Projects

factorymethod icon factorymethod

A video game involves several types of characters. Each character has a name, a health level, a damage level, and a special ability. The wizards can cast spells, the warriors can block attacks, and the archers can shoot arrows. You have been tasked with implementing a factory method to create these characters.

factorymethodmavenhibernate icon factorymethodmavenhibernate

Create a new database using MySQLWorkbench, Maven project and set it up properly, hibernate.cfg.xml settings file, create with using hibernate a new table with initial value.

fileedit icon fileedit

*IO & Strings* Create a text file and a class in the package, put some text in the file. Display the contents of the file.

fileopencloseedit icon fileopencloseedit

*IO & Strings* Create a file, write arbitrary data to it, and close the file. Then open this file again, read the data and output it to the console.

forloop icon forloop

*Loops* Using one loop, find the sum of 1 + 1/(1!) + 1/(2!) + 1/(3!) +. . . + 1/(N!)

fromformtofilespringmvc icon fromformtofilespringmvc

Create a controller and an HTML form, from which data will be written to a file, and after sending the form, a message will be displayed about the successful operation and the number of records for the entire time the application is running.

fundecryptor icon fundecryptor

*RegEx* Write a humorous "Decryptor" program that could replace all prepositions with the word "Java" in a text file.

genshinimpactjunit5springboot icon genshinimpactjunit5springboot

Create 2 tests that test the method for a checked type thrown exception for invalid parameters passed to the method. Create 2 tests that will test the retrieval of information from the database. Create 2 tests that will check the operation of the controllers.

gradlehibernatebook icon gradlehibernatebook

Get a Book object and a collection of objects. Get a specific Book by id. Add New Book. And this is all implemented in the BookHelper class.

hibernateanimal icon hibernateanimal

Create a new database using MySQLWorkbench, Gradle project and set it up properly, hibernate.cfg.xml settings file, Animal(int age, String name, boolean tail) class with get and set methods, as an entity to our table, with using hibernate a new table with initial value.

hibernatedelete icon hibernatedelete

In the BookHelper class add methods for deleting a book by id and by author.

hibernateflush icon hibernateflush

Loop through 200 author objects and save them to the database. Field values can be any. Use the flush method for every 10 objects. Execute the commit method once at the end.

hibernatemanytomany icon hibernatemanytomany

Using MySQL Workbench to rewrite the database so that one book could be written by several authors, also one author can write several books. Implement a many-to-many relationship.

hibernateselectdelete icon hibernateselectdelete

Write a method for selecting by searching for an expression, and rewrite the createCriteria and createCriteriaLogic methods correctly

hibernateupdate icon hibernateupdate

Update the name field for all records whose last_name field value length is greater than 7 In the name field, write the value "1" * Task for independent search for solutions.

ifelsestatement icon ifelsestatement

*Conditional statements* If the number is positive, add 1 to it, otherwise subtract 2 from it

ifstatement icon ifstatement

*Conditional statements* If the number is positive, add 1 to it, otherwise don't change it.

indexofarraylist icon indexofarraylist

*ArrayList* Create a class Main, create a list in it, add teachers you can remember from school. And getting the index of the best teacher and himself is not so much. Output the list to the console

inheritedannotation icon inheritedannotation

*Annotations* Create multiple classes, one class inherits from another and uses the Inherited statement. In addition, try to use 5 different instructions in the project

jdbcnewdbmysql icon jdbcnewdbmysql

Create a database in Workbench and connect to IntelijIdea and create a test table. Populate it with data using MySQL queries in IntelijIdea. Using JDBC write an example of executing all requests.

jdbsjoins icon jdbsjoins

Make a selection using JDBC and JOIN's for some tasks

jdbstxtmysqlquery icon jdbstxtmysqlquery

Write all requests in a text file from a new line each and use the I / O streams to read all requests from the file and execute.

jpahibernateanimal icon jpahibernateanimal

Create a new database using MySQLWorkbench. Create a regular java project and connect the JPA and Hibernate libraries to it. Create a file with persistence.xml settings in the META-INF folder. And create an Animal class with get and set methods as an entity to our table. And using jpa to make crud in the AnimalHelper class.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.